Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.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.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") [: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.225/1.225, allocations: 249.4 MB / 256.7 MB, free: 7.086 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009764/0.0009764, allocations: 181.2 kB / 316 MB, free: 3.512 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.056/1.056, allocations: 205.2 MB / 0.5667 GB, free: 15.57 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.0008314/0.0008314, allocations: 83.39 kB / 0.671 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.63e-06/5.65e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1432, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.287/3.43, allocations: 2.206 GB / 3.09 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/3.43, allocations: 84.7 kB / 3.09 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.573/6.004, allocations: 1.006 GB / 4.096 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001434/6.004, allocations: 49.5 kB / 4.097 GB, free: 137.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.003589/6.008, allocations: 2.065 MB / 4.099 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/6.008, allocations: 9.375 kB / 4.099 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003425/6.011, allocations: 0.6305 MB / 4.099 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003041/6.014, allocations: 1.474 MB / 4.101 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004245/6.015, allocations: 124 kB / 4.101 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/6.015, allocations: 73 kB / 4.101 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001786/6.017, allocations: 1.027 MB / 4.102 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/6.019, allocations: 1.234 MB / 4.103 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/6.019, allocations: 3.938 kB / 4.103 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/6.019, allocations: 2.906 kB / 4.103 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.322e-05/6.019, allocations: 41.66 kB / 4.103 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00824/6.027, allocations: 6.146 MB / 4.109 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007469/6.028, allocations: 0.5202 MB / 4.11 GB, free: 130 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005922/6.028, allocations: 451.2 kB / 4.11 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005679/6.029, allocations: 484 kB / 4.11 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007129/6.03, allocations: 0.5116 MB / 4.111 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=79): time 2.435e-06/6.03, allocations: 3.281 kB / 4.111 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=79): time 0.002799/6.033, allocations: 1.098 MB / 4.112 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/6.033, allocations: 196.2 kB / 4.112 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/6.034, allocations: 0.9404 MB / 4.113 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.017e-05/6.034, allocations: 28.89 kB / 4.113 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/6.034, allocations: 0.5069 MB / 4.114 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/6.034, allocations: 260.9 kB / 4.114 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/6.034, allocations: 1.188 kB / 4.114 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.203e-05/6.035, allocations: 336.3 kB / 4.114 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/6.035, allocations: 332.9 kB / 4.115 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006067/6.036, allocations: 0.5763 MB / 4.115 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008316/6.036, allocations: 467.2 kB / 4.116 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/6.036, allocations: 5.125 kB / 4.116 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001917/6.038, allocations: 1.111 MB / 4.117 GB, free: 126 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002372/6.039, allocations: 1.692 MB / 4.118 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/6.039, allocations: 3.469 kB / 4.118 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/6.039, allocations: 52.73 kB / 4.118 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000923/6.04, allocations: 201.7 kB / 4.119 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003373/6.04, allocations: 0.6098 MB / 4.119 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/6.042, allocations: 158.3 kB / 4.119 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.922e-05/6.042, allocations: 39.38 kB / 4.119 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.031e-06/6.042, allocations: 4.094 kB / 4.119 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001689/6.043, allocations: 0.9183 MB / 4.12 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/6.043, allocations: 5.734 kB / 4.12 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/6.044, allocations: 46.86 kB / 4.12 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000896/6.044, allocations: 209.8 kB / 4.12 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/6.046, allocations: 1.465 MB / 4.122 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/6.047, allocations: 159.9 kB / 4.122 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.042e-05/6.047, allocations: 39 kB / 4.122 GB, free: 121.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002661/6.047, allocations: 162.2 kB / 4.122 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/6.048, allocations: 154.2 kB / 4.122 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/6.05, allocations: 1.058 MB / 4.123 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/6.05, allocations: 9.188 kB / 4.123 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/6.05, allocations: 0.6094 kB / 4.123 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001434/6.051, allocations: 0.9402 MB / 4.124 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004268/6.056, allocations: 2.535 MB / 4.127 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/6.056, allocations: 3.297 kB / 4.127 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009809/6.057, allocations: 187.5 kB / 4.127 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000105/6.057, allocations: 39.42 kB / 4.127 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.718e-05/6.057, allocations: 19.53 kB / 4.127 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002752/6.057, allocations: 0.5887 MB / 4.128 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/6.057, allocations: 7 kB / 4.128 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00242/6.059, allocations: 1.824 MB / 4.129 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000644/6.06, allocations: 350.5 kB / 4.13 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/6.06, allocations: 12.05 kB / 4.13 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/6.062, allocations: 125.8 kB / 4.13 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/6.062, allocations: 51.52 kB / 4.13 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.424e-05/6.062, allocations: 32.02 kB / 4.13 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0009777/6.063, allocations: 0.7165 MB / 4.131 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002626/6.065, allocations: 0.9601 MB / 4.132 GB, free: 117.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.U,humDyn.vol.dynBal.mXi[1],senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003199/6.069, allocations: 2.618 MB / 4.134 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002064/6.071, allocations: 1.531 MB / 4.136 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/6.071, allocations: 0 / 4.136 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005453/6.071, allocations: 488 kB / 4.136 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002806/6.074, allocations: 0.673 MB / 4.137 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005841/6.08, allocations: 2.572 MB / 4.139 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009652/6.081, allocations: 1.49 MB / 4.141 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of SimCode: time 3.21e-07/6.081, allocations: 0 / 4.141 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.05545/6.136, allocations: 43.84 MB / 4.184 GB, free: 66.74 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Humidifiers_Examples_Humidifier_u.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches