Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007829/0.00783, allocations: 100.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 197.2 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.89 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153/1.154, allocations: 140.4 MB / 1.088 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.2107/1.365, allocations: 148 MB / 1.232 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005654/1.37, allocations: 4.655 MB / 1.237 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003464/1.371, allocations: 16.06 kB / 1.237 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005162/1.371, allocations: 160.7 kB / 1.237 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003476/1.372, allocations: 94.84 kB / 1.237 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000152/1.372, allocations: 60.11 kB / 1.237 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003679/1.372, allocations: 307.1 kB / 1.238 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/1.372, allocations: 148.8 kB / 1.238 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/1.373, allocations: 114.9 kB / 1.238 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/1.373, allocations: 150.3 kB / 1.238 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/1.373, allocations: 16.5 kB / 1.238 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.799e-05/1.373, allocations: 16.5 kB / 1.238 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.459e-05/1.373, allocations: 67.08 kB / 1.238 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/1.373, allocations: 101.8 kB / 1.238 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/1.373, allocations: 241.5 kB / 1.238 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/1.373, allocations: 4 kB / 1.238 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/1.373, allocations: 0 / 1.238 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.007e-05/1.373, allocations: 1.375 kB / 1.238 GB, free: 2.215 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004763/1.374, allocations: 490.2 kB / 1.239 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/1.374, allocations: 8.25 kB / 1.239 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/1.374, allocations: 26.41 kB / 1.239 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/1.374, allocations: 274 kB / 1.239 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/1.374, allocations: 12.5 kB / 1.239 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/1.374, allocations: 23.25 kB / 1.239 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/1.375, allocations: 303.5 kB / 1.24 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/1.375, allocations: 4 kB / 1.24 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/1.375, allocations: 11.47 kB / 1.24 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/1.375, allocations: 6.469 kB / 1.24 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/1.375, allocations: 125.1 kB / 1.24 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/1.376, allocations: 1.969 MB / 1.242 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.958e-05/1.376, allocations: 170.3 kB / 1.242 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/1.376, allocations: 84.14 kB / 1.242 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/1.376, allocations: 79.22 kB / 1.242 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/1.376, allocations: 111.1 kB / 1.242 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.376, allocations: 0 / 1.242 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.541e-05/1.376, allocations: 60.47 kB / 1.242 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/1.377, allocations: 128.2 kB / 1.242 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/1.377, allocations: 326 kB / 1.243 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/1.377, allocations: 31.08 kB / 1.243 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/1.377, allocations: 164 kB / 1.243 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.436e-06/1.377, allocations: 1.375 kB / 1.243 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/1.377, allocations: 23.12 kB / 1.243 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.377, allocations: 336.3 kB / 1.243 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/1.377, allocations: 5.5 kB / 1.243 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.564e-05/1.377, allocations: 66.97 kB / 1.243 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/1.377, allocations: 71.12 kB / 1.243 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.377, allocations: 1.219 kB / 1.243 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001625/1.378, allocations: 103.8 kB / 1.243 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/1.378, allocations: 6.438 kB / 1.243 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/1.378, allocations: 1.594 kB / 1.243 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/1.378, allocations: 10.47 kB / 1.243 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.505e-05/1.378, allocations: 12.22 kB / 1.243 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/1.378, allocations: 3.25 kB / 1.243 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.942e-05/1.378, allocations: 25.91 kB / 1.243 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/1.378, allocations: 8.453 kB / 1.243 GB, free: 13.51 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001225/1.378, allocations: 213.5 kB / 1.244 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/1.378, allocations: 128.1 kB / 1.244 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.51e-05/1.378, allocations: 135.5 kB / 1.244 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.744e-05/1.378, allocations: 177.6 kB / 1.244 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-05/1.378, allocations: 180.3 kB / 1.244 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.243e-05/1.378, allocations: 181.7 kB / 1.244 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000351/1.379, allocations: 474.7 kB / 1.245 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.943e-05/1.379, allocations: 106.2 kB / 1.245 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/1.379, allocations: 106.3 kB / 1.245 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.15e-05/1.379, allocations: 180.3 kB / 1.245 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.156e-05/1.379, allocations: 189.5 kB / 1.245 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.264e-05/1.379, allocations: 181.8 kB / 1.246 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.423e-05/1.379, allocations: 185.6 kB / 1.246 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/1.379, allocations: 324.4 kB / 1.246 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/1.379, allocations: 206.1 kB / 1.246 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.961e-05/1.379, allocations: 181.7 kB / 1.246 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/1.379, allocations: 108.9 kB / 1.246 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.319e-05/1.38, allocations: 185.6 kB / 1.247 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/1.38, allocations: 106.1 kB / 1.247 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002241/1.38, allocations: 241.3 kB / 1.247 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/1.38, allocations: 0 / 1.247 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002562/1.38, allocations: 27.66 kB / 1.247 GB, free: 9.738 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001336/1.38, allocations: 171.3 kB / 1.247 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.761e-05/1.38, allocations: 30.36 kB / 1.247 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.38, allocations: 0 / 1.247 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-06/1.38, allocations: 4.625 kB / 1.247 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006597/1.381, allocations: 0.5157 MB / 1.248 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000634/1.382, allocations: 402.8 kB / 1.248 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/1.382, allocations: 0.7464 MB / 1.249 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.376e-05/1.382, allocations: 25.61 kB / 1.249 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/1.382, allocations: 16.72 kB / 1.249 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/1.382, allocations: 0 / 1.249 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of Templates: time 0.0057/1.388, allocations: 2.366 MB / 1.251 GB, free: 6.176 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches