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.001146/0.001146, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 199.5 kB / 16.79 MB, free: 6.809 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.418/1.418, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.808/2.808, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 68.03 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3845, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1747/0.5592, allocations: 145.8 MB / 1.195 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005587/0.5649, allocations: 4.627 MB / 1.2 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004022/0.5653, allocations: 8 kB / 1.2 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000626/0.566, allocations: 135.1 kB / 1.2 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004375/0.5664, allocations: 79.56 kB / 1.2 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.5667, allocations: 51.95 kB / 1.2 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000558/0.5672, allocations: 362.8 kB / 1.2 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.5676, allocations: 136.1 kB / 1.2 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002537/0.5678, allocations: 103.6 kB / 1.2 GB, free: 436 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.5681, allocations: 155.3 kB / 1.201 GB, free: 280 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.5682, allocations: 16 kB / 1.201 GB, free: 264 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.977e-05/0.5682, allocations: 12 kB / 1.201 GB, free: 252 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.076e-05/0.5683, allocations: 63.8 kB / 1.201 GB, free: 188 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.5684, allocations: 99.48 kB / 1.201 GB, free: 88 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.5687, allocations: 167.9 kB / 1.201 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5687, allocations: 0 / 1.201 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.01e-07/0.5687, allocations: 4 kB / 1.201 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.5687, allocations: 0 / 1.201 GB, free: 15.92 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.0005992/0.5693, allocations: 483.2 kB / 1.201 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.5694, allocations: 19.97 kB / 1.201 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.676e-05/0.5694, allocations: 36.5 kB / 1.202 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.5698, allocations: 258.3 kB / 1.202 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.5698, allocations: 20.75 kB / 1.202 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.5699, allocations: 16.38 kB / 1.202 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004407/0.5703, allocations: 305.1 kB / 1.202 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.5703, allocations: 3.938 kB / 1.202 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.5704, allocations: 8 kB / 1.202 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.5704, allocations: 8 kB / 1.202 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.5706, allocations: 131.7 kB / 1.202 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.5721, allocations: 1.965 MB / 1.204 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.5722, allocations: 173.1 kB / 1.204 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.5723, allocations: 88.08 kB / 1.204 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.184e-05/0.5724, allocations: 75.28 kB / 1.204 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/0.5724, allocations: 105.8 kB / 1.205 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.5724, allocations: 0 / 1.205 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001137/0.5726, allocations: 57.34 kB / 1.205 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.5727, allocations: 130.7 kB / 1.205 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004089/0.5731, allocations: 336.5 kB / 1.205 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.5731, allocations: 25.7 kB / 1.205 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.5733, allocations: 163.6 kB / 1.205 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-06/0.5733, allocations: 0 / 1.205 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.5733, allocations: 37.61 kB / 1.205 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.5735, allocations: 330.8 kB / 1.206 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.931e-05/0.5735, allocations: 4 kB / 1.206 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.098e-05/0.5736, allocations: 58.86 kB / 1.206 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.103e-05/0.5736, allocations: 74.75 kB / 1.206 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5736, allocations: 0 / 1.206 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001921/0.5738, allocations: 97.38 kB / 1.206 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.5739, allocations: 4.25 kB / 1.206 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.5739, allocations: 11.98 kB / 1.206 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.5739, allocations: 7.875 kB / 1.206 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.707e-05/0.574, allocations: 12 kB / 1.206 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.574, allocations: 4 kB / 1.206 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.832e-05/0.5741, allocations: 27.59 kB / 1.206 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.5741, allocations: 4 kB / 1.206 GB, free: 10.52 MB / 0.9669 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.0001508/0.5743, allocations: 217 kB / 1.206 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.931e-05/0.5744, allocations: 124.7 kB / 1.206 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.139e-05/0.5744, allocations: 130 kB / 1.206 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.065e-05/0.5745, allocations: 188.2 kB / 1.207 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.338e-05/0.5746, allocations: 176.3 kB / 1.207 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.507e-05/0.5747, allocations: 184.2 kB / 1.207 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.5751, allocations: 473.1 kB / 1.207 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.961e-05/0.5752, allocations: 105 kB / 1.207 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.5753, allocations: 108.9 kB / 1.208 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-05/0.5754, allocations: 176.3 kB / 1.208 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.5755, allocations: 184.1 kB / 1.208 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.909e-05/0.5756, allocations: 184.2 kB / 1.208 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.221e-05/0.5757, allocations: 180.3 kB / 1.208 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.5759, allocations: 331.5 kB / 1.209 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.5761, allocations: 206 kB / 1.209 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.611e-05/0.5762, allocations: 180.2 kB / 1.209 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.5763, allocations: 113 kB / 1.209 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/0.5764, allocations: 192.2 kB / 1.209 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.847e-05/0.5765, allocations: 104.9 kB / 1.209 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002309/0.5767, allocations: 235 kB / 1.21 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5767, allocations: 0 / 1.21 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002894/0.577, allocations: 28 kB / 1.21 GB, free: 6.559 MB / 0.9669 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.0001561/0.5772, allocations: 174.5 kB / 1.21 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.5773, allocations: 27.86 kB / 1.21 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5773, allocations: 0 / 1.21 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.37e-06/0.5773, allocations: 4 kB / 1.21 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008411/0.5782, allocations: 0.5878 MB / 1.21 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007449/0.5789, allocations: 475.7 kB / 1.211 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004999/0.5794, allocations: 0.7443 MB / 1.211 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.5795, allocations: 15.44 kB / 1.212 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of SimCode: time 1.472e-06/0.5795, allocations: 0 / 1.212 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of Templates: time 0.005163/0.5847, allocations: 2.594 MB / 1.214 GB, free: 1.887 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/jenkins1/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