Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senEnt1.h_out|senEnt2.h_out|senTem1.T|senTem2.T|senMas1.X|senMas2.X|cheTem.y|cheEnt.y|cheMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senEnt1.h_out|senEnt2.h_out|senTem1.T|senTem2.T|senMas1.X|senMas2.X|cheTem.y|cheEnt.y|cheMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.085/2.085, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 188.2 kB / 487 MB, free: 5.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 221.3 MB / 0.7819 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 93.42 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.032e-05/1.052e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2856, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.416/4.702, allocations: 1.928 GB / 3.133 GB, free: 399.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/4.702, allocations: 91.89 kB / 3.133 GB, free: 399 MB / 1.151 GB Notification: Performance of FrontEnd: time 5.051/9.754, allocations: 1.312 GB / 4.445 GB, free: 181.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002919/9.754, allocations: 41.59 kB / 4.445 GB, free: 181.5 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.007022/9.761, allocations: 2.111 MB / 4.447 GB, free: 180.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/9.761, allocations: 12.47 kB / 4.447 GB, free: 180.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005498/9.766, allocations: 0.6412 MB / 4.448 GB, free: 180.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0051/9.772, allocations: 1.779 MB / 4.45 GB, free: 180.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.789e-05/9.772, allocations: 40.38 kB / 4.45 GB, free: 180.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004739/9.772, allocations: 86.19 kB / 4.45 GB, free: 180.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002863/9.775, allocations: 1.219 MB / 4.451 GB, free: 180.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/9.778, allocations: 1.3 MB / 4.452 GB, free: 180.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.615e-05/9.778, allocations: 0 / 4.452 GB, free: 180.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/9.778, allocations: 3.719 kB / 4.452 GB, free: 180.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.981e-05/9.778, allocations: 42.7 kB / 4.452 GB, free: 180.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/9.789, allocations: 7.472 MB / 4.46 GB, free: 176.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000667/9.79, allocations: 404.8 kB / 4.46 GB, free: 176.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005677/9.79, allocations: 371.1 kB / 4.46 GB, free: 176.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003199/9.791, allocations: 273.2 kB / 4.461 GB, free: 176 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/9.791, allocations: 48.06 kB / 4.461 GB, free: 175.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=67): time 3.877e-06/9.791, allocations: 1.406 kB / 4.461 GB, free: 175.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=67): time 0.002295/9.793, allocations: 0.8061 MB / 4.461 GB, free: 175.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/9.793, allocations: 63.69 kB / 4.461 GB, free: 175.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/9.795, allocations: 0.9217 MB / 4.462 GB, free: 175.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/9.795, allocations: 29.58 kB / 4.462 GB, free: 175.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003743/9.795, allocations: 0.5656 MB / 4.463 GB, free: 175.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/9.796, allocations: 231.3 kB / 4.463 GB, free: 175.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/9.796, allocations: 3.312 kB / 4.463 GB, free: 175.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.057e-05/9.796, allocations: 344 kB / 4.463 GB, free: 174.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004388/9.796, allocations: 303.7 kB / 4.464 GB, free: 174.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006288/9.797, allocations: 0.6266 MB / 4.464 GB, free: 174.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005704/9.798, allocations: 415.4 kB / 4.465 GB, free: 174.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/9.798, allocations: 3.844 kB / 4.465 GB, free: 174.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001585/9.799, allocations: 0.9859 MB / 4.466 GB, free: 174.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005715/9.8, allocations: 2.474 MB / 4.468 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/9.8, allocations: 6.812 kB / 4.468 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.406e-05/9.8, allocations: 10.19 kB / 4.468 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009044/9.801, allocations: 197.7 kB / 4.468 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/9.801, allocations: 17.17 kB / 4.468 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/9.803, allocations: 141.7 kB / 4.469 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/9.803, allocations: 40.28 kB / 4.469 GB, free: 171.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/9.803, allocations: 3.812 kB / 4.469 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001195/9.804, allocations: 0.8141 MB / 4.469 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/9.804, allocations: 3.906 kB / 4.469 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/9.804, allocations: 19.34 kB / 4.469 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008173/9.805, allocations: 193.3 kB / 4.47 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/9.805, allocations: 18.36 kB / 4.47 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/9.807, allocations: 126.5 kB / 4.47 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/9.807, allocations: 33.03 kB / 4.47 GB, free: 171.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * 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.0002748/9.807, allocations: 140.9 kB / 4.47 GB, free: 171.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004051/9.807, allocations: 136.3 kB / 4.47 GB, free: 171.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/9.809, allocations: 0.7801 MB / 4.471 GB, free: 171.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/9.809, allocations: 10.75 kB / 4.471 GB, free: 171.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/9.809, allocations: 3.844 kB / 4.471 GB, free: 171.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008378/9.81, allocations: 0.764 MB / 4.472 GB, free: 171.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004094/9.814, allocations: 2.193 MB / 4.474 GB, free: 170.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/9.814, allocations: 0 / 4.474 GB, free: 170.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008697/9.815, allocations: 168 kB / 4.474 GB, free: 170.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/9.815, allocations: 3.812 kB / 4.474 GB, free: 170.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-05/9.815, allocations: 7.672 kB / 4.474 GB, free: 170.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/9.815, allocations: 10.31 kB / 4.474 GB, free: 170.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/9.815, allocations: 0 / 4.474 GB, free: 170.9 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001653/9.817, allocations: 1.318 MB / 4.475 GB, free: 170.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008076/9.817, allocations: 313.6 kB / 4.475 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003782/9.818, allocations: 14.62 kB / 4.475 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/9.819, allocations: 90.16 kB / 4.476 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/9.819, allocations: 44.08 kB / 4.476 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.883e-05/9.819, allocations: 30.42 kB / 4.476 GB, free: 170.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001163/9.821, allocations: 0.6884 MB / 4.476 GB, free: 170.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003967/9.825, allocations: 1.066 MB / 4.477 GB, free: 170.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.medium.Xi[1],humBac.vol.dynBal.U,humBac.vol.dynBal.m,humFor.vol.dynBal.medium.Xi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * 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.004909/9.829, allocations: 3.518 MB / 4.481 GB, free: 168.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002068/9.832, allocations: 1.241 MB / 4.482 GB, free: 168.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/9.832, allocations: 2.719 kB / 4.482 GB, free: 168.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004206/9.832, allocations: 346 kB / 4.482 GB, free: 168.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003818/9.836, allocations: 0.7222 MB / 4.483 GB, free: 168.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004571/9.84, allocations: 2.33 MB / 4.485 GB, free: 168.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/9.842, allocations: 1.505 MB / 4.487 GB, free: 167.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.293e-06/9.842, allocations: 0 / 4.487 GB, free: 167.4 MB / 1.167 GB Notification: Performance of Templates: time 0.06952/9.911, allocations: 46.96 MB / 4.533 GB, free: 166.4 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches