Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.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_dynamic,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_dynamic") translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,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_dynamic") [: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 1.974/1.974, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001124/0.001124, allocations: 181.3 kB / 490.8 MB, free: 1.98 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.335/1.335, allocations: 221.3 MB / 0.7863 GB, free: 13.65 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.0009662/0.0009662, allocations: 90.58 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.873e-06/6.903e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2875, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.657/4.944, allocations: 1.887 GB / 3.098 GB, free: 429.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/4.945, allocations: 86.36 kB / 3.099 GB, free: 429.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.777/7.722, allocations: 0.9748 GB / 4.073 GB, free: 284.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.957e-05/7.722, allocations: 16.81 kB / 4.073 GB, free: 284.1 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.002909/7.725, allocations: 1.056 MB / 4.074 GB, free: 283.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/7.725, allocations: 9.406 kB / 4.074 GB, free: 283.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/7.726, allocations: 236.1 kB / 4.075 GB, free: 283.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002408/7.728, allocations: 0.8864 MB / 4.075 GB, free: 283.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/7.728, allocations: 11.47 kB / 4.075 GB, free: 283.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-05/7.729, allocations: 24.59 kB / 4.076 GB, free: 283.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006094/7.729, allocations: 335 kB / 4.076 GB, free: 283.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006622/7.73, allocations: 452.6 kB / 4.076 GB, free: 283.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/7.73, allocations: 0 / 4.076 GB, free: 283.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/7.73, allocations: 4.797 kB / 4.076 GB, free: 283.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/7.73, allocations: 21.62 kB / 4.076 GB, free: 283.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/7.733, allocations: 2.261 MB / 4.078 GB, free: 281.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/7.733, allocations: 236.6 kB / 4.079 GB, free: 281.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/7.733, allocations: 133.9 kB / 4.079 GB, free: 281.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009371/7.734, allocations: 0.8271 MB / 4.08 GB, free: 280.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002483/7.734, allocations: 187.8 kB / 4.08 GB, free: 280.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=27): time 1.583e-06/7.735, allocations: 1.094 kB / 4.08 GB, free: 280.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=27): time 0.001146/7.736, allocations: 418.8 kB / 4.08 GB, free: 280.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/7.736, allocations: 107.1 kB / 4.08 GB, free: 280.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005546/7.736, allocations: 459.9 kB / 4.081 GB, free: 280.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/7.736, allocations: 27.23 kB / 4.081 GB, free: 280.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/7.736, allocations: 249.5 kB / 4.081 GB, free: 280.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/7.737, allocations: 88.06 kB / 4.081 GB, free: 280.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/7.737, allocations: 0 / 4.081 GB, free: 280.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.571e-05/7.737, allocations: 373.2 kB / 4.081 GB, free: 280 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/7.737, allocations: 108.1 kB / 4.082 GB, free: 280 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/7.737, allocations: 291.5 kB / 4.082 GB, free: 279.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005079/7.738, allocations: 224.5 kB / 4.082 GB, free: 279.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/7.738, allocations: 1.125 kB / 4.082 GB, free: 279.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001047/7.739, allocations: 0.4897 MB / 4.083 GB, free: 279.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005136/7.739, allocations: 1.833 MB / 4.084 GB, free: 277.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/7.739, allocations: 4.094 kB / 4.084 GB, free: 277.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/7.739, allocations: 8.188 kB / 4.084 GB, free: 277.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/7.74, allocations: 88.42 kB / 4.084 GB, free: 277.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/7.74, allocations: 10.22 kB / 4.084 GB, free: 277.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/7.74, allocations: 43.02 kB / 4.084 GB, free: 277.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/7.74, allocations: 29.75 kB / 4.085 GB, free: 277.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/7.74, allocations: 2.938 kB / 4.085 GB, free: 277.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008571/7.741, allocations: 402.2 kB / 4.085 GB, free: 277.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/7.741, allocations: 8.781 kB / 4.085 GB, free: 277.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/7.741, allocations: 7.406 kB / 4.085 GB, free: 277.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/7.742, allocations: 84.5 kB / 4.085 GB, free: 277.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/7.742, allocations: 14.16 kB / 4.085 GB, free: 277.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/7.742, allocations: 37.2 kB / 4.085 GB, free: 277.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.413e-05/7.742, allocations: 19.91 kB / 4.085 GB, free: 277.8 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 (49): * Single equations (assignments): 49 * 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.0001527/7.742, allocations: 124.4 kB / 4.085 GB, free: 277.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/7.742, allocations: 61.38 kB / 4.085 GB, free: 277.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009271/7.743, allocations: 370.9 kB / 4.086 GB, free: 277.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/7.743, allocations: 5.156 kB / 4.086 GB, free: 277.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/7.743, allocations: 2.156 kB / 4.086 GB, free: 277.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/7.743, allocations: 3.594 kB / 4.086 GB, free: 277.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/7.745, allocations: 1.171 MB / 4.087 GB, free: 277.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/7.745, allocations: 1.375 kB / 4.087 GB, free: 277.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/7.745, allocations: 46.67 kB / 4.087 GB, free: 277.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/7.746, allocations: 5 kB / 4.087 GB, free: 277.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/7.746, allocations: 11.62 kB / 4.087 GB, free: 277.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/7.746, allocations: 10.62 kB / 4.087 GB, free: 277.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/7.746, allocations: 2.844 kB / 4.087 GB, free: 277.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001209/7.747, allocations: 0.7758 MB / 4.088 GB, free: 276.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/7.747, allocations: 163.8 kB / 4.088 GB, free: 276.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/7.747, allocations: 15.86 kB / 4.088 GB, free: 276.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/7.747, allocations: 12.81 kB / 4.088 GB, free: 276.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/7.748, allocations: 20.16 kB / 4.088 GB, free: 276.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/7.748, allocations: 12.12 kB / 4.088 GB, free: 276.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004466/7.748, allocations: 349.3 kB / 4.088 GB, free: 276.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001523/7.75, allocations: 388.7 kB / 4.089 GB, free: 276.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * 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 (28): * Single equations (assignments): 26 * 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.003036/7.753, allocations: 1.793 MB / 4.09 GB, free: 276.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001043/7.754, allocations: 497 kB / 4.091 GB, free: 276 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/7.754, allocations: 1.094 kB / 4.091 GB, free: 276 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002319/7.754, allocations: 137.8 kB / 4.091 GB, free: 276 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/7.755, allocations: 181.8 kB / 4.091 GB, free: 276 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/7.76, allocations: 1.669 MB / 4.093 GB, free: 275.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005275/7.76, allocations: 0.9601 MB / 4.094 GB, free: 275 MB / 1.151 GB Notification: Performance of SimCode: time 6.42e-07/7.76, allocations: 0 / 4.094 GB, free: 275 MB / 1.151 GB Notification: Performance of Templates: time 0.03045/7.791, allocations: 18.6 MB / 4.112 GB, free: 269.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.csv","../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches