Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.0008693/0.0008694, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005483/0.005484, allocations: 172.4 kB / 16.27 MB, free: 6.656 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.576/1.576, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.156/3.156, allocations: 470.6 MB / 0.7442 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003809, allocations: 10.28 kB / 0.9123 GB, free: 34.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3665, allocations: 161.4 MB / 1.07 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1948/0.5614, allocations: 143.9 MB / 1.21 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006037/0.5675, allocations: 4.557 MB / 1.215 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002898/0.5678, allocations: 11.94 kB / 1.215 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005509/0.5683, allocations: 127.2 kB / 1.215 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.5687, allocations: 83.45 kB / 1.215 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.5689, allocations: 55.95 kB / 1.215 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004704/0.5693, allocations: 362.8 kB / 1.215 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003332/0.5697, allocations: 124.1 kB / 1.216 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.5699, allocations: 91.58 kB / 1.216 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.5701, allocations: 139.4 kB / 1.216 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.5702, allocations: 11.88 kB / 1.216 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.351e-05/0.5702, allocations: 8 kB / 1.216 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.109e-05/0.5703, allocations: 51.81 kB / 1.216 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.5704, allocations: 109.2 kB / 1.216 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.5707, allocations: 215.4 kB / 1.216 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.5707, allocations: 4 kB / 1.216 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5707, allocations: 0 / 1.216 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.5707, allocations: 0 / 1.216 GB, free: 5.012 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.0005627/0.5713, allocations: 443.3 kB / 1.217 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.5714, allocations: 12.03 kB / 1.217 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.5714, allocations: 24.66 kB / 1.217 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.5718, allocations: 259.9 kB / 1.217 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.5718, allocations: 16.81 kB / 1.217 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.5718, allocations: 16.38 kB / 1.217 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.5724, allocations: 313 kB / 1.217 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.5724, allocations: 7.938 kB / 1.217 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.5724, allocations: 8 kB / 1.217 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.5724, allocations: 8 kB / 1.217 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.5726, allocations: 115.8 kB / 1.217 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.5743, allocations: 1.969 MB / 1.219 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.5745, allocations: 173.1 kB / 1.219 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.592e-05/0.5745, allocations: 84.08 kB / 1.22 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.5745, allocations: 75.28 kB / 1.22 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.322e-05/0.5746, allocations: 109.8 kB / 1.22 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.5746, allocations: 0 / 1.22 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001042/0.5747, allocations: 57.36 kB / 1.22 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.397e-05/0.5748, allocations: 130.7 kB / 1.22 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003834/0.5752, allocations: 324.5 kB / 1.22 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.5752, allocations: 25.7 kB / 1.22 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.5754, allocations: 167.6 kB / 1.22 GB, free: 424 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-06/0.5754, allocations: 0 / 1.22 GB, free: 424 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.5754, allocations: 21.66 kB / 1.22 GB, free: 396 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5756, allocations: 330.8 kB / 1.221 GB, free: 56 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.314e-05/0.5756, allocations: 12 kB / 1.221 GB, free: 44 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.308e-05/0.5757, allocations: 58.8 kB / 1.221 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.732e-05/0.5758, allocations: 78.78 kB / 1.221 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5758, allocations: 0 / 1.221 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001959/0.576, allocations: 105.4 kB / 1.221 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.576, allocations: 4 kB / 1.221 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.5761, allocations: 7.938 kB / 1.221 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.5761, allocations: 3.938 kB / 1.221 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.798e-05/0.5762, allocations: 15.94 kB / 1.221 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.5762, allocations: 4 kB / 1.221 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.428e-05/0.5763, allocations: 31.59 kB / 1.221 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.5763, allocations: 7.984 kB / 1.221 GB, free: 15.68 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.0001537/0.5764, allocations: 209.2 kB / 1.221 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.5766, allocations: 132.6 kB / 1.221 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.513e-05/0.5767, allocations: 130 kB / 1.221 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001198/0.5768, allocations: 180.2 kB / 1.222 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.896e-05/0.5769, allocations: 176.3 kB / 1.222 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.719e-05/0.577, allocations: 180.3 kB / 1.222 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.5773, allocations: 481.1 kB / 1.222 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.473e-05/0.5774, allocations: 101 kB / 1.223 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.813e-05/0.5774, allocations: 108.9 kB / 1.223 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.813e-05/0.5775, allocations: 180.3 kB / 1.223 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.682e-05/0.5776, allocations: 188.2 kB / 1.223 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.987e-05/0.5777, allocations: 184.2 kB / 1.223 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.866e-05/0.5778, allocations: 180.3 kB / 1.223 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.578, allocations: 331.5 kB / 1.224 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.5782, allocations: 198.2 kB / 1.224 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.5783, allocations: 188.1 kB / 1.224 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.5784, allocations: 113 kB / 1.224 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.88e-05/0.5785, allocations: 180.2 kB / 1.224 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/0.5785, allocations: 101 kB / 1.224 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002575/0.5788, allocations: 239 kB / 1.225 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5788, allocations: 0 / 1.225 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002698/0.5791, allocations: 31.91 kB / 1.225 GB, free: 11.72 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.0001471/0.5792, allocations: 178.5 kB / 1.225 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.835e-05/0.5793, allocations: 27.86 kB / 1.225 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5793, allocations: 0 / 1.225 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.5793, allocations: 0 / 1.225 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000945/0.5803, allocations: 0.5881 MB / 1.225 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006343/0.5809, allocations: 444.9 kB / 1.226 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.5814, allocations: 0.7443 MB / 1.227 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.459e-05/0.5815, allocations: 26.28 kB / 1.227 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.5815, allocations: 15.44 kB / 1.227 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.5815, allocations: 0 / 1.227 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of Templates: time 0.006359/0.5879, allocations: 2.229 MB / 1.229 GB, free: 7.445 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches