Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001099/0.001099, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001337/0.001337, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.016/3.016, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.000348, allocations: 17.72 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3957, allocations: 159.6 MB / 1.058 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1717/0.5675, allocations: 134.2 MB / 1.189 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004756/0.5723, allocations: 4.334 MB / 1.193 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002687/0.5726, allocations: 8 kB / 1.193 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004519/0.5731, allocations: 111.1 kB / 1.193 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.5734, allocations: 71.58 kB / 1.194 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.5736, allocations: 51.94 kB / 1.194 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003701/0.5739, allocations: 310.9 kB / 1.194 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002404/0.5742, allocations: 102.4 kB / 1.194 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.5744, allocations: 91.58 kB / 1.194 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.5746, allocations: 127.5 kB / 1.194 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.5746, allocations: 8 kB / 1.194 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.104e-05/0.5746, allocations: 4 kB / 1.194 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.1e-05/0.5747, allocations: 43.83 kB / 1.194 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.5747, allocations: 61.64 kB / 1.194 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.5749, allocations: 167.8 kB / 1.194 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.5749, allocations: 4 kB / 1.194 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5749, allocations: 3.938 kB / 1.194 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.575, allocations: 4 kB / 1.194 GB, free: 9.215 MB / 0.9512 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.000432/0.5754, allocations: 447.1 kB / 1.195 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.5754, allocations: 8.031 kB / 1.195 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.5755, allocations: 31.67 kB / 1.195 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.5758, allocations: 252.9 kB / 1.195 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.5758, allocations: 12.44 kB / 1.195 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.5758, allocations: 24 kB / 1.195 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.5762, allocations: 307.5 kB / 1.195 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.5763, allocations: 0 / 1.195 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.5763, allocations: 12 kB / 1.195 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.5763, allocations: 11.94 kB / 1.195 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.5765, allocations: 123.7 kB / 1.196 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.5777, allocations: 1.969 MB / 1.198 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.758e-05/0.5778, allocations: 177.1 kB / 1.198 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.661e-05/0.5779, allocations: 80.14 kB / 1.198 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.5779, allocations: 83.23 kB / 1.198 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/0.578, allocations: 109.8 kB / 1.198 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.578, allocations: 4 kB / 1.198 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.998e-05/0.5781, allocations: 49.42 kB / 1.198 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.5781, allocations: 126.7 kB / 1.198 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.5785, allocations: 328.5 kB / 1.198 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.5785, allocations: 25.7 kB / 1.198 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.5786, allocations: 159.7 kB / 1.199 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.5786, allocations: 0 / 1.199 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.5786, allocations: 4 kB / 1.199 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5787, allocations: 338.8 kB / 1.199 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/0.5788, allocations: 4 kB / 1.199 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.367e-05/0.5788, allocations: 62.83 kB / 1.199 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.702e-05/0.5789, allocations: 16 kB / 1.199 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.5789, allocations: 0 / 1.199 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001652/0.579, allocations: 109.2 kB / 1.199 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.5791, allocations: 11.95 kB / 1.199 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.5791, allocations: 256 / 1.199 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.5791, allocations: 8 kB / 1.199 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.5792, allocations: 16 kB / 1.199 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.5792, allocations: 0 / 1.199 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.918e-05/0.5792, allocations: 31.53 kB / 1.199 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.5793, allocations: 4 kB / 1.199 GB, free: 3.988 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.5794, allocations: 213 kB / 1.199 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.532e-05/0.5795, allocations: 124.7 kB / 1.2 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.785e-05/0.5795, allocations: 137.9 kB / 1.2 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.916e-05/0.5796, allocations: 184.3 kB / 1.2 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.608e-05/0.5797, allocations: 176.3 kB / 1.2 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.326e-05/0.5797, allocations: 180.2 kB / 1.2 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.58, allocations: 477.2 kB / 1.201 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.133e-05/0.5801, allocations: 108.9 kB / 1.201 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.881e-05/0.5801, allocations: 105 kB / 1.201 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.227e-05/0.5802, allocations: 176.3 kB / 1.201 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-05/0.5802, allocations: 192.1 kB / 1.201 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.348e-05/0.5803, allocations: 188.2 kB / 1.201 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.745e-05/0.5804, allocations: 180.2 kB / 1.202 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.5805, allocations: 323.6 kB / 1.202 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.5806, allocations: 205.7 kB / 1.202 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.317e-05/0.5807, allocations: 180.3 kB / 1.202 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.894e-05/0.5808, allocations: 112.9 kB / 1.202 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.5809, allocations: 180.2 kB / 1.202 GB, free: 408 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.583e-05/0.5809, allocations: 109 kB / 1.203 GB, free: 292 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002166/0.5812, allocations: 235 kB / 1.203 GB, free: 56 kB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5812, allocations: 0 / 1.203 GB, free: 56 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002537/0.5814, allocations: 27.91 kB / 1.203 GB, free: 28 kB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001418/0.5816, allocations: 178.5 kB / 1.203 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.784e-05/0.5817, allocations: 20.36 kB / 1.203 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5817, allocations: 4.062 kB / 1.203 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.5817, allocations: 0 / 1.203 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007145/0.5824, allocations: 0.5855 MB / 1.204 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.583, allocations: 454.7 kB / 1.204 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.5833, allocations: 0.7443 MB / 1.205 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.822e-05/0.5834, allocations: 26.28 kB / 1.205 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.5834, allocations: 19.44 kB / 1.205 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.5834, allocations: 0 / 1.205 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of Templates: time 0.005158/0.5886, allocations: 2.164 MB / 1.207 GB, free: 11.8 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches