Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.18/1.18, allocations: 249.4 MB / 256.7 MB, free: 15.76 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 180.5 kB / 316 MB, free: 7.133 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.202/1.202, allocations: 205.1 MB / 0.5667 GB, free: 23.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008646/0.0008646, allocations: 83.95 kB / 0.671 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 6.132e-06/6.172e-06, allocations: 0 / 0.7807 GB, free: 368 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3234, allocations: 106.3 MB / 0.8845 GB, free: 76.28 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.404/3.728, allocations: 2.2 GB / 3.085 GB, free: 304.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/3.728, allocations: 87.95 kB / 3.085 GB, free: 304.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.315/7.043, allocations: 1.256 GB / 4.341 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001188/7.043, allocations: 47.98 kB / 4.341 GB, free: 15.16 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.003891/7.047, allocations: 2.117 MB / 4.343 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/7.047, allocations: 8.031 kB / 4.343 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004282/7.051, allocations: 0.6454 MB / 4.343 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003183/7.055, allocations: 1.775 MB / 4.345 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/7.055, allocations: 44 kB / 4.345 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/7.055, allocations: 87.98 kB / 4.345 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001814/7.057, allocations: 1.204 MB / 4.346 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/7.058, allocations: 1.321 MB / 4.348 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/7.058, allocations: 0 / 4.348 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/7.059, allocations: 4 kB / 4.348 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.202e-05/7.059, allocations: 46.52 kB / 4.348 GB, free: 7.723 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006693/7.065, allocations: 7.316 MB / 4.355 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009594/7.066, allocations: 0.6495 MB / 4.356 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004881/7.067, allocations: 358.7 kB / 4.356 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003337/7.067, allocations: 271.9 kB / 4.356 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/7.067, allocations: 47.22 kB / 4.356 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=67): time 2.014e-06/7.067, allocations: 0 / 4.356 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=67): time 0.001894/7.069, allocations: 0.7912 MB / 4.357 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/7.069, allocations: 64.05 kB / 4.357 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/7.07, allocations: 0.9088 MB / 4.358 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.765e-05/7.07, allocations: 29.7 kB / 4.358 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/7.071, allocations: 0.5807 MB / 4.359 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/7.071, allocations: 228.6 kB / 4.359 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/7.071, allocations: 0 / 4.359 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000142/7.071, allocations: 349.8 kB / 4.359 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004638/7.072, allocations: 293.9 kB / 4.359 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006619/7.072, allocations: 0.5951 MB / 4.36 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005715/7.073, allocations: 405.9 kB / 4.36 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/7.073, allocations: 4 kB / 4.36 GB, free: 10.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001474/7.074, allocations: 0.9595 MB / 4.361 GB, free: 9.133 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001019/7.076, allocations: 2.638 MB / 4.364 GB, free: 6.312 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/7.076, allocations: 8 kB / 4.364 GB, free: 6.305 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.033e-05/7.076, allocations: 12 kB / 4.364 GB, free: 6.293 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008485/7.076, allocations: 195.7 kB / 4.364 GB, free: 6.102 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/7.076, allocations: 19.92 kB / 4.364 GB, free: 6.082 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/7.078, allocations: 135 kB / 4.364 GB, free: 5.949 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.147e-05/7.078, allocations: 40 kB / 4.364 GB, free: 5.91 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/7.078, allocations: 8 kB / 4.364 GB, free: 5.902 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001215/7.079, allocations: 0.7911 MB / 4.365 GB, free: 5.109 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/7.079, allocations: 8 kB / 4.365 GB, free: 5.102 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/7.079, allocations: 15.91 kB / 4.365 GB, free: 5.086 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000794/7.08, allocations: 199.7 kB / 4.365 GB, free: 4.891 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/7.08, allocations: 15.94 kB / 4.365 GB, free: 4.875 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/7.081, allocations: 123.7 kB / 4.365 GB, free: 4.754 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.868e-05/7.081, allocations: 36 kB / 4.365 GB, free: 4.719 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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.0001794/7.081, allocations: 128.7 kB / 4.366 GB, free: 4.586 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/7.082, allocations: 142.3 kB / 4.366 GB, free: 4.445 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/7.083, allocations: 0.7666 MB / 4.366 GB, free: 3.668 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/7.083, allocations: 11.94 kB / 4.366 GB, free: 3.656 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/7.083, allocations: 7.922 kB / 4.366 GB, free: 3.648 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009111/7.084, allocations: 0.7537 MB / 4.367 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/7.087, allocations: 2.17 MB / 4.369 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/7.087, allocations: 7.938 kB / 4.369 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008634/7.088, allocations: 163.8 kB / 4.369 GB, free: 452 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/7.088, allocations: 7.984 kB / 4.369 GB, free: 444 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/7.088, allocations: 16.09 kB / 4.369 GB, free: 428 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/7.088, allocations: 11.94 kB / 4.369 GB, free: 416 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/7.088, allocations: 0 / 4.369 GB, free: 416 kB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001674/7.09, allocations: 1.353 MB / 4.371 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005017/7.09, allocations: 331.2 kB / 4.371 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/7.09, allocations: 16.03 kB / 4.371 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/7.092, allocations: 91.73 kB / 4.371 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/7.092, allocations: 36.61 kB / 4.371 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.327e-05/7.092, allocations: 39.97 kB / 4.371 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.0008683/7.093, allocations: 0.681 MB / 4.372 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002592/7.095, allocations: 1.079 MB / 4.373 GB, free: 12.7 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * 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.004398/7.1, allocations: 3.537 MB / 4.376 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001719/7.101, allocations: 1.214 MB / 4.378 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/7.101, allocations: 0.75 kB / 4.378 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004269/7.102, allocations: 350.3 kB / 4.378 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/7.105, allocations: 0.7182 MB / 4.379 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/7.109, allocations: 2.319 MB / 4.381 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/7.11, allocations: 1.506 MB / 4.382 GB, free: 2.641 MB / 0.9167 GB Notification: Performance of SimCode: time 2.91e-07/7.11, allocations: 0 / 4.382 GB, free: 2.641 MB / 0.9167 GB Notification: Performance of Templates: time 0.4053/7.515, allocations: 46.91 MB / 4.428 GB, free: 177.6 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches