Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.046/2.046, allocations: 387.2 MB / 394.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 179.2 kB / 487 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 221.3 MB / 0.7819 GB, free: 6.762 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009904/0.0009905, allocations: 99.41 kB / 0.9213 GB, free: 43.7 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 8.305e-06/8.325e-06, allocations: 4 kB / 1.066 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7801/0.7802, allocations: 142.3 MB / 1.205 GB, free: 72.8 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.113/4.893, allocations: 1.886 GB / 3.091 GB, free: 200.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/4.894, allocations: 87.95 kB / 3.091 GB, free: 200.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.76/6.654, allocations: 0.6044 GB / 3.696 GB, free: 26.56 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.578e-05/6.654, allocations: 23.94 kB / 3.696 GB, free: 26.54 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.002639/6.656, allocations: 1.041 MB / 3.697 GB, free: 25.45 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/6.656, allocations: 8.031 kB / 3.697 GB, free: 25.45 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/6.658, allocations: 238.8 kB / 3.697 GB, free: 25.21 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/6.66, allocations: 0.8864 MB / 3.698 GB, free: 24.29 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/6.66, allocations: 12 kB / 3.698 GB, free: 24.27 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.997e-05/6.66, allocations: 24 kB / 3.698 GB, free: 24.25 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005192/6.66, allocations: 349.4 kB / 3.698 GB, free: 23.91 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005659/6.661, allocations: 431 kB / 3.699 GB, free: 23.47 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/6.661, allocations: 0 / 3.699 GB, free: 23.47 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/6.661, allocations: 7.984 kB / 3.699 GB, free: 23.46 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/6.661, allocations: 20.78 kB / 3.699 GB, free: 23.44 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002507/6.663, allocations: 2.245 MB / 3.701 GB, free: 21 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/6.664, allocations: 238.5 kB / 3.701 GB, free: 20.76 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/6.664, allocations: 117.2 kB / 3.701 GB, free: 20.64 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008528/6.665, allocations: 0.8337 MB / 3.702 GB, free: 19.64 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/6.665, allocations: 187.9 kB / 3.702 GB, free: 19.44 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 1.843e-06/6.665, allocations: 0 / 3.702 GB, free: 19.44 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.001031/6.666, allocations: 400.7 kB / 3.703 GB, free: 19.04 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/6.666, allocations: 110.8 kB / 3.703 GB, free: 18.91 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004071/6.666, allocations: 458.2 kB / 3.703 GB, free: 18.45 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/6.666, allocations: 29.7 kB / 3.703 GB, free: 18.42 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/6.667, allocations: 251.7 kB / 3.703 GB, free: 18.16 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/6.667, allocations: 82.75 kB / 3.703 GB, free: 18.08 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.642e-05/6.667, allocations: 0 / 3.703 GB, free: 18.08 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.115e-05/6.667, allocations: 362.8 kB / 3.704 GB, free: 17.72 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/6.667, allocations: 96.81 kB / 3.704 GB, free: 17.62 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/6.667, allocations: 292.6 kB / 3.704 GB, free: 17.25 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/6.667, allocations: 214.9 kB / 3.704 GB, free: 17.04 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/6.667, allocations: 4 kB / 3.704 GB, free: 17.04 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007189/6.668, allocations: 472.5 kB / 3.705 GB, free: 16.57 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002579/6.668, allocations: 1.832 MB / 3.707 GB, free: 14.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/6.668, allocations: 8 kB / 3.707 GB, free: 14.59 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/6.668, allocations: 4 kB / 3.707 GB, free: 14.59 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/6.669, allocations: 83.89 kB / 3.707 GB, free: 14.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/6.669, allocations: 15.94 kB / 3.707 GB, free: 14.49 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/6.669, allocations: 39.58 kB / 3.707 GB, free: 14.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.463e-05/6.669, allocations: 28.12 kB / 3.707 GB, free: 14.42 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.839e-06/6.669, allocations: 4 kB / 3.707 GB, free: 14.42 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006362/6.67, allocations: 387.4 kB / 3.707 GB, free: 14.04 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/6.67, allocations: 8 kB / 3.707 GB, free: 14.03 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.572e-06/6.67, allocations: 8 kB / 3.707 GB, free: 14.02 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/6.67, allocations: 75.91 kB / 3.707 GB, free: 13.95 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/6.67, allocations: 15.92 kB / 3.707 GB, free: 13.93 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/6.671, allocations: 40.14 kB / 3.707 GB, free: 13.89 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/6.671, allocations: 24 kB / 3.707 GB, free: 13.87 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 8.913e-05/6.671, allocations: 116.2 kB / 3.707 GB, free: 13.75 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/6.671, allocations: 59.33 kB / 3.708 GB, free: 13.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006708/6.671, allocations: 360.9 kB / 3.708 GB, free: 13.33 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/6.671, allocations: 4 kB / 3.708 GB, free: 13.33 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/6.671, allocations: 4.094 kB / 3.708 GB, free: 13.32 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/6.671, allocations: 11.92 kB / 3.708 GB, free: 13.31 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/6.673, allocations: 1.149 MB / 3.709 GB, free: 12.09 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/6.673, allocations: 4 kB / 3.709 GB, free: 12.09 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/6.673, allocations: 43.97 kB / 3.709 GB, free: 12.04 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/6.673, allocations: 4 kB / 3.709 GB, free: 12.04 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/6.673, allocations: 7.984 kB / 3.709 GB, free: 12.03 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/6.673, allocations: 7.938 kB / 3.709 GB, free: 12.02 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/6.673, allocations: 4 kB / 3.709 GB, free: 12.02 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006659/6.674, allocations: 0.618 MB / 3.71 GB, free: 11.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/6.674, allocations: 168.2 kB / 3.71 GB, free: 11.12 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.072e-05/6.674, allocations: 4 kB / 3.71 GB, free: 11.12 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/6.674, allocations: 15.98 kB / 3.71 GB, free: 11.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/6.674, allocations: 19.89 kB / 3.71 GB, free: 11.08 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/6.674, allocations: 8 kB / 3.71 GB, free: 11.07 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002855/6.675, allocations: 350.9 kB / 3.71 GB, free: 10.73 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001064/6.676, allocations: 379.2 kB / 3.711 GB, free: 10.36 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.001937/6.678, allocations: 1.774 MB / 3.712 GB, free: 8.617 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005797/6.678, allocations: 463.7 kB / 3.713 GB, free: 8.168 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/6.678, allocations: 320 / 3.713 GB, free: 8.168 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/6.678, allocations: 127.8 kB / 3.713 GB, free: 8.043 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008579/6.679, allocations: 190.2 kB / 3.713 GB, free: 7.859 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/6.683, allocations: 1.525 MB / 3.715 GB, free: 6.285 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/6.683, allocations: 0.9664 MB / 3.715 GB, free: 5.293 MB / 1.151 GB Notification: Performance of SimCode: time 2.3e-07/6.683, allocations: 0 / 3.715 GB, free: 5.293 MB / 1.151 GB Notification: Performance of Templates: time 0.5044/7.188, allocations: 18.25 MB / 3.733 GB, free: 379 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches