Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.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.Humidifiers.Validation.SprayAirWasher_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|XSet.y.1.|senHum.X|hum.sta_a.T|hum.sta_b.T|hum.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X") translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|XSet.y.1.|senHum.X|hum.sta_a.T|hum.sta_b.T|hum.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X") [: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.023/2.023, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001026/0.001026, allocations: 189.2 kB / 490.8 MB, free: 1.922 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.336/1.336, allocations: 221.4 MB / 0.7863 GB, free: 13.69 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.0009908/0.0009909, allocations: 88.69 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.267e-06/9.287e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2819, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.641/4.923, allocations: 1.887 GB / 3.098 GB, free: 427.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/4.924, allocations: 86.78 kB / 3.098 GB, free: 427.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.708/6.632, allocations: 0.6044 GB / 3.703 GB, free: 253.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.998e-05/6.632, allocations: 22.5 kB / 3.703 GB, free: 253.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003002/6.635, allocations: 1.04 MB / 3.704 GB, free: 252.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/6.635, allocations: 8.031 kB / 3.704 GB, free: 252.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/6.637, allocations: 234.8 kB / 3.704 GB, free: 252 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/6.639, allocations: 0.8897 MB / 3.705 GB, free: 251.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/6.639, allocations: 12 kB / 3.705 GB, free: 251.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.957e-05/6.639, allocations: 24 kB / 3.705 GB, free: 251.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005502/6.639, allocations: 353.5 kB / 3.705 GB, free: 250.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005828/6.64, allocations: 439 kB / 3.706 GB, free: 250.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/6.64, allocations: 0 / 3.706 GB, free: 250.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/6.64, allocations: 3.984 kB / 3.706 GB, free: 250.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/6.64, allocations: 16.78 kB / 3.706 GB, free: 250.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002593/6.643, allocations: 2.234 MB / 3.708 GB, free: 247.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/6.643, allocations: 230.7 kB / 3.708 GB, free: 247.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/6.643, allocations: 124.6 kB / 3.708 GB, free: 247.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008633/6.644, allocations: 0.8182 MB / 3.709 GB, free: 246.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/6.644, allocations: 190.6 kB / 3.709 GB, free: 246.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 1.724e-06/6.644, allocations: 0 / 3.709 GB, free: 246.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.00101/6.645, allocations: 399.3 kB / 3.71 GB, free: 245.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/6.645, allocations: 110.8 kB / 3.71 GB, free: 245.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004198/6.646, allocations: 458.2 kB / 3.71 GB, free: 245.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/6.646, allocations: 29.7 kB / 3.71 GB, free: 245.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/6.646, allocations: 255.7 kB / 3.711 GB, free: 245 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/6.646, allocations: 82.75 kB / 3.711 GB, free: 244.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/6.646, allocations: 0 / 3.711 GB, free: 244.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.276e-05/6.646, allocations: 362.8 kB / 3.711 GB, free: 244.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/6.646, allocations: 104.4 kB / 3.711 GB, free: 244.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/6.646, allocations: 284.6 kB / 3.711 GB, free: 244.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/6.647, allocations: 216.2 kB / 3.712 GB, free: 243.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/6.647, allocations: 4 kB / 3.712 GB, free: 243.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007492/6.648, allocations: 465 kB / 3.712 GB, free: 243.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002811/6.648, allocations: 1.839 MB / 3.714 GB, free: 241.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/6.648, allocations: 8 kB / 3.714 GB, free: 241.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/6.648, allocations: 8 kB / 3.714 GB, free: 241.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/6.648, allocations: 83.83 kB / 3.714 GB, free: 241.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/6.648, allocations: 8 kB / 3.714 GB, free: 241.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/6.649, allocations: 39.67 kB / 3.714 GB, free: 241.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/6.649, allocations: 27.98 kB / 3.714 GB, free: 241.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.623e-06/6.649, allocations: 4 kB / 3.714 GB, free: 241.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006475/6.649, allocations: 387.7 kB / 3.714 GB, free: 240.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/6.649, allocations: 8.094 kB / 3.714 GB, free: 240.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.592e-06/6.649, allocations: 8 kB / 3.714 GB, free: 240.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/6.65, allocations: 79.84 kB / 3.714 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/6.65, allocations: 11.98 kB / 3.714 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/6.65, allocations: 35.67 kB / 3.714 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/6.65, allocations: 20 kB / 3.714 GB, free: 240.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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 9.004e-05/6.65, allocations: 120.9 kB / 3.715 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.262e-05/6.65, allocations: 55.33 kB / 3.715 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006562/6.651, allocations: 370.2 kB / 3.715 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/6.651, allocations: 4.234 kB / 3.715 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/6.651, allocations: 4 kB / 3.715 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/6.651, allocations: 11.97 kB / 3.715 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/6.652, allocations: 1.142 MB / 3.716 GB, free: 239 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/6.652, allocations: 4 kB / 3.716 GB, free: 239 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/6.653, allocations: 47.91 kB / 3.716 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/6.653, allocations: 4.281 kB / 3.716 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/6.653, allocations: 11.98 kB / 3.716 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/6.653, allocations: 7.719 kB / 3.716 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/6.653, allocations: 4 kB / 3.716 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006411/6.653, allocations: 0.6212 MB / 3.717 GB, free: 238.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/6.653, allocations: 168.2 kB / 3.717 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.178e-05/6.653, allocations: 4 kB / 3.717 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/6.654, allocations: 11.98 kB / 3.717 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/6.654, allocations: 23.92 kB / 3.717 GB, free: 237.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/6.654, allocations: 15.91 kB / 3.717 GB, free: 237.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002804/6.654, allocations: 346.9 kB / 3.717 GB, free: 237.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001066/6.655, allocations: 379.3 kB / 3.718 GB, free: 237.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002191/6.657, allocations: 1.784 MB / 3.719 GB, free: 235.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005888/6.658, allocations: 460.8 kB / 3.72 GB, free: 235.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/6.658, allocations: 0 / 3.72 GB, free: 235.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/6.658, allocations: 123.8 kB / 3.72 GB, free: 235.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008619/6.659, allocations: 185.6 kB / 3.72 GB, free: 234.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/6.663, allocations: 1.52 MB / 3.722 GB, free: 233.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004406/6.663, allocations: 0.9663 MB / 3.723 GB, free: 232.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.8e-07/6.663, allocations: 4 kB / 3.723 GB, free: 232.4 MB / 1.151 GB Notification: Performance of Templates: time 0.02481/6.688, allocations: 18.27 MB / 3.74 GB, free: 214.3 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches