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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00154/0.00154, allocations: 104.3 kB / 16.4 MB, free: 5.977 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.001854/0.001854, allocations: 190.8 kB / 17.34 MB, free: 5.586 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.751/2.751, allocations: 461.9 MB / 0.7354 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 63.91 kB / 1.055 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.794/0.7956, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1637/0.9593, allocations: 148 MB / 1.353 GB, free: 9.016 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005007/0.9644, allocations: 4.65 MB / 1.358 GB, free: 4.348 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003128/0.9647, allocations: 11.94 kB / 1.358 GB, free: 4.336 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005421/0.9653, allocations: 158.9 kB / 1.358 GB, free: 4.18 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.9657, allocations: 87.45 kB / 1.358 GB, free: 4.094 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.9658, allocations: 71.78 kB / 1.358 GB, free: 4.023 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003852/0.9662, allocations: 302.8 kB / 1.358 GB, free: 3.727 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002972/0.9665, allocations: 147.7 kB / 1.358 GB, free: 3.582 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.9667, allocations: 111.6 kB / 1.358 GB, free: 3.473 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.9669, allocations: 151.5 kB / 1.359 GB, free: 3.324 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.967, allocations: 16 kB / 1.359 GB, free: 3.309 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.365e-05/0.967, allocations: 19.94 kB / 1.359 GB, free: 3.289 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.069e-05/0.9671, allocations: 63.81 kB / 1.359 GB, free: 3.227 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.9672, allocations: 103.5 kB / 1.359 GB, free: 3.125 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.9675, allocations: 236.7 kB / 1.359 GB, free: 2.898 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.9675, allocations: 4 kB / 1.359 GB, free: 2.895 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9675, allocations: 0 / 1.359 GB, free: 2.895 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.9675, allocations: 0 / 1.359 GB, free: 2.895 MB / 1.076 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.0005382/0.9681, allocations: 495.1 kB / 1.359 GB, free: 2.363 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.9681, allocations: 8.031 kB / 1.359 GB, free: 2.355 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.9682, allocations: 24.66 kB / 1.359 GB, free: 2.332 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.9686, allocations: 274.3 kB / 1.36 GB, free: 2.027 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.9686, allocations: 20.81 kB / 1.36 GB, free: 2.008 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.9687, allocations: 20.38 kB / 1.36 GB, free: 1.988 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.9691, allocations: 301.1 kB / 1.36 GB, free: 1.641 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.9691, allocations: 7.875 kB / 1.36 GB, free: 1.633 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.9691, allocations: 15.98 kB / 1.36 GB, free: 1.617 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.9692, allocations: 8 kB / 1.36 GB, free: 1.609 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.9694, allocations: 127.7 kB / 1.36 GB, free: 1.484 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.9707, allocations: 1.965 MB / 1.362 GB, free: 15.41 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 7.872e-05/0.9708, allocations: 169.1 kB / 1.362 GB, free: 15.23 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/0.9709, allocations: 80.14 kB / 1.362 GB, free: 15.15 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.9709, allocations: 75.28 kB / 1.362 GB, free: 15.07 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.971, allocations: 117.9 kB / 1.363 GB, free: 14.95 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 1.372e-06/0.971, allocations: 0 / 1.363 GB, free: 14.95 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 8.698e-05/0.9711, allocations: 53.36 kB / 1.363 GB, free: 14.89 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.9711, allocations: 130.6 kB / 1.363 GB, free: 14.75 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/0.9715, allocations: 336.4 kB / 1.363 GB, free: 14.41 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.9715, allocations: 25.7 kB / 1.363 GB, free: 14.38 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.9716, allocations: 155.7 kB / 1.363 GB, free: 14.23 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-06/0.9716, allocations: 7.938 kB / 1.363 GB, free: 14.22 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.9717, allocations: 25.72 kB / 1.363 GB, free: 14.19 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.9718, allocations: 334.8 kB / 1.364 GB, free: 13.85 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.9718, allocations: 11.98 kB / 1.364 GB, free: 13.84 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.665e-05/0.9719, allocations: 50.88 kB / 1.364 GB, free: 13.77 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.633e-05/0.972, allocations: 70.73 kB / 1.364 GB, free: 13.67 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.972, allocations: 4 kB / 1.364 GB, free: 13.67 MB / 1.092 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001765/0.9722, allocations: 105.2 kB / 1.364 GB, free: 13.56 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.9722, allocations: 8 kB / 1.364 GB, free: 13.55 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.9722, allocations: 0 / 1.364 GB, free: 13.55 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.9722, allocations: 7.938 kB / 1.364 GB, free: 13.54 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.93e-05/0.9723, allocations: 15.98 kB / 1.364 GB, free: 13.53 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.9723, allocations: 256 / 1.364 GB, free: 13.53 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.309e-05/0.9724, allocations: 27.69 kB / 1.364 GB, free: 13.5 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.9724, allocations: 4 kB / 1.364 GB, free: 13.5 MB / 1.092 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.0001428/0.9726, allocations: 213 kB / 1.364 GB, free: 13.28 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.399e-05/0.9727, allocations: 124.7 kB / 1.364 GB, free: 13.15 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.398e-05/0.9727, allocations: 130 kB / 1.364 GB, free: 13.01 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.727e-05/0.9728, allocations: 184.2 kB / 1.364 GB, free: 12.82 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.977e-05/0.9729, allocations: 184.2 kB / 1.365 GB, free: 12.64 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-05/0.9729, allocations: 184.1 kB / 1.365 GB, free: 12.45 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.9733, allocations: 477.1 kB / 1.365 GB, free: 11.93 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.968e-05/0.9733, allocations: 105 kB / 1.365 GB, free: 11.82 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.9733, allocations: 104.9 kB / 1.365 GB, free: 11.71 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-05/0.9734, allocations: 180.3 kB / 1.366 GB, free: 11.52 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.498e-05/0.9735, allocations: 192.1 kB / 1.366 GB, free: 11.33 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.204e-05/0.9736, allocations: 180.3 kB / 1.366 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.748e-05/0.9736, allocations: 180.2 kB / 1.366 GB, free: 10.96 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.9738, allocations: 327.5 kB / 1.366 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.9739, allocations: 213.7 kB / 1.367 GB, free: 10.38 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.674e-05/0.974, allocations: 180.2 kB / 1.367 GB, free: 10.2 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.9741, allocations: 104.9 kB / 1.367 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.9742, allocations: 176.6 kB / 1.367 GB, free: 9.91 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.9742, allocations: 109 kB / 1.367 GB, free: 9.797 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002259/0.9745, allocations: 235 kB / 1.367 GB, free: 9.57 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9745, allocations: 4 kB / 1.367 GB, free: 9.566 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002623/0.9747, allocations: 31.94 kB / 1.367 GB, free: 9.535 MB / 1.092 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.0001305/0.9749, allocations: 174.5 kB / 1.368 GB, free: 9.355 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 8.682e-05/0.975, allocations: 23.94 kB / 1.368 GB, free: 9.332 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.975, allocations: 0 / 1.368 GB, free: 9.332 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.975, allocations: 0.5312 kB / 1.368 GB, free: 9.332 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007005/0.9757, allocations: 0.5267 MB / 1.368 GB, free: 8.805 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/0.9762, allocations: 426 kB / 1.369 GB, free: 8.355 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.9766, allocations: 0.7479 MB / 1.369 GB, free: 7.582 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.9766, allocations: 15.44 kB / 1.369 GB, free: 7.566 MB / 1.092 GB Notification: Performance of SimCode: time 3.21e-07/0.9766, allocations: 4 kB / 1.369 GB, free: 7.562 MB / 1.092 GB Notification: Performance of Templates: time 0.004487/0.9811, allocations: 2.618 MB / 1.372 GB, free: 4.957 MB / 1.092 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