Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 2.043/2.043, allocations: 390.4 MB / 397.7 MB, free: 11.18 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.001069/0.001069, allocations: 179.8 kB / 490.8 MB, free: 1.832 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.285/1.285, allocations: 221.3 MB / 0.7863 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008764/0.0008763, allocations: 101.4 kB / 0.9264 GB, free: 14.08 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.925e-06/7.955e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2642, allocations: 143 MB / 1.212 GB, free: 39.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.238/4.503, allocations: 1.929 GB / 3.14 GB, free: 410.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/4.503, allocations: 95.94 kB / 3.14 GB, free: 410.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.639/9.142, allocations: 1.312 GB / 4.452 GB, free: 194.4 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0001531/9.142, allocations: 54 kB / 4.452 GB, free: 194.4 MB / 1.182 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.005529/9.148, allocations: 2.091 MB / 4.454 GB, free: 193.9 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/9.148, allocations: 11.7 kB / 4.454 GB, free: 193.9 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005198/9.153, allocations: 0.6542 MB / 4.455 GB, free: 193.8 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004497/9.158, allocations: 1.774 MB / 4.457 GB, free: 193.5 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/9.158, allocations: 42.66 kB / 4.457 GB, free: 193.5 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/9.158, allocations: 86.44 kB / 4.457 GB, free: 193.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002219/9.16, allocations: 1.212 MB / 4.458 GB, free: 193.5 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/9.162, allocations: 1.298 MB / 4.459 GB, free: 193.3 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/9.162, allocations: 0 / 4.459 GB, free: 193.3 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/9.162, allocations: 3.375 kB / 4.459 GB, free: 193.3 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.206e-05/9.163, allocations: 50.3 kB / 4.459 GB, free: 193.3 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009128/9.172, allocations: 7.477 MB / 4.467 GB, free: 189.3 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005387/9.172, allocations: 412.7 kB / 4.467 GB, free: 189.2 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004442/9.173, allocations: 370.1 kB / 4.467 GB, free: 189.2 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003072/9.173, allocations: 273.2 kB / 4.468 GB, free: 188.9 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/9.173, allocations: 41.88 kB / 4.468 GB, free: 188.9 MB / 1.182 GB Notification: Performance of pre-optimization done (n=67): time 3.336e-06/9.173, allocations: 0 / 4.468 GB, free: 188.9 MB / 1.182 GB Notification: Performance of matching and sorting (n=67): time 0.001995/9.175, allocations: 0.8094 MB / 4.469 GB, free: 188.8 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/9.175, allocations: 58.88 kB / 4.469 GB, free: 188.7 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/9.176, allocations: 0.9205 MB / 4.469 GB, free: 188.6 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 8.803e-05/9.176, allocations: 31.58 kB / 4.47 GB, free: 188.5 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/9.177, allocations: 0.5691 MB / 4.47 GB, free: 188.3 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/9.177, allocations: 233.7 kB / 4.47 GB, free: 188.2 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/9.177, allocations: 2.844 kB / 4.47 GB, free: 188.2 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 8.567e-05/9.177, allocations: 340.5 kB / 4.471 GB, free: 187.9 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/9.177, allocations: 307.9 kB / 4.471 GB, free: 187.9 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005934/9.178, allocations: 0.6205 MB / 4.472 GB, free: 187.5 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005647/9.179, allocations: 419.3 kB / 4.472 GB, free: 187.5 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/9.179, allocations: 2.531 kB / 4.472 GB, free: 187.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00135/9.18, allocations: 0.9878 MB / 4.473 GB, free: 187.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.000532/9.181, allocations: 2.47 MB / 4.475 GB, free: 184.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/9.181, allocations: 11.22 kB / 4.475 GB, free: 184.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/9.181, allocations: 10.47 kB / 4.475 GB, free: 184.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/9.181, allocations: 198.4 kB / 4.476 GB, free: 184.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/9.181, allocations: 15.12 kB / 4.476 GB, free: 184.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/9.183, allocations: 149.6 kB / 4.476 GB, free: 184.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-05/9.183, allocations: 38.2 kB / 4.476 GB, free: 184.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/9.183, allocations: 7.062 kB / 4.476 GB, free: 184.8 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001129/9.184, allocations: 0.8103 MB / 4.477 GB, free: 184.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/9.184, allocations: 3.969 kB / 4.477 GB, free: 184.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/9.184, allocations: 11.16 kB / 4.477 GB, free: 184.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/9.185, allocations: 199.7 kB / 4.477 GB, free: 184.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/9.185, allocations: 19.22 kB / 4.477 GB, free: 184.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/9.187, allocations: 128.9 kB / 4.477 GB, free: 184.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.04e-05/9.187, allocations: 40.02 kB / 4.477 GB, free: 184.8 MB / 1.182 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.0002385/9.187, allocations: 125.5 kB / 4.477 GB, free: 184.7 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/9.187, allocations: 137.3 kB / 4.477 GB, free: 184.6 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/9.189, allocations: 0.7849 MB / 4.478 GB, free: 184.5 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/9.189, allocations: 7.5 kB / 4.478 GB, free: 184.5 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/9.189, allocations: 6.75 kB / 4.478 GB, free: 184.5 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008139/9.19, allocations: 0.7656 MB / 4.479 GB, free: 184.3 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003575/9.193, allocations: 2.182 MB / 4.481 GB, free: 183.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/9.193, allocations: 0 / 4.481 GB, free: 183.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008514/9.194, allocations: 165.8 kB / 4.481 GB, free: 183.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/9.194, allocations: 3.875 kB / 4.481 GB, free: 183.9 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.903e-05/9.194, allocations: 13.33 kB / 4.481 GB, free: 183.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/9.194, allocations: 3.875 kB / 4.481 GB, free: 183.9 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/9.194, allocations: 3.906 kB / 4.481 GB, free: 183.9 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001459/9.196, allocations: 1.322 MB / 4.482 GB, free: 183.5 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006151/9.196, allocations: 318.9 kB / 4.483 GB, free: 183.3 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/9.196, allocations: 3.938 kB / 4.483 GB, free: 183.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/9.197, allocations: 96.67 kB / 4.483 GB, free: 183.3 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.062e-05/9.198, allocations: 33.94 kB / 4.483 GB, free: 183.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.715e-05/9.198, allocations: 34.33 kB / 4.483 GB, free: 183.3 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.0008756/9.198, allocations: 0.6893 MB / 4.483 GB, free: 183.2 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.002989/9.201, allocations: 1.073 MB / 4.484 GB, free: 183.2 MB / 1.182 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.004534/9.206, allocations: 3.517 MB / 4.488 GB, free: 181.8 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.001851/9.208, allocations: 1.245 MB / 4.489 GB, free: 181.8 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/9.208, allocations: 0 / 4.489 GB, free: 181.8 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0003745/9.208, allocations: 349.2 kB / 4.489 GB, free: 181.8 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003263/9.212, allocations: 0.7144 MB / 4.49 GB, free: 181.8 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004205/9.216, allocations: 2.32 MB / 4.492 GB, free: 181.2 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/9.217, allocations: 1.503 MB / 4.494 GB, free: 180.5 MB / 1.182 GB Notification: Performance of SimCode: time 5.01e-07/9.217, allocations: 0 / 4.494 GB, free: 180.5 MB / 1.182 GB Notification: Performance of Templates: time 0.07256/9.289, allocations: 46.98 MB / 4.54 GB, free: 179.5 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches