Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.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_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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.051/2.051, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001068/0.001068, allocations: 193.2 kB / 487 MB, free: 5.367 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.389/1.389, allocations: 221.3 MB / 0.7819 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 101.8 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.905e-06/7.945e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2823, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.602/4.884, allocations: 1.886 GB / 3.091 GB, free: 422.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/4.884, allocations: 83.95 kB / 3.091 GB, free: 422.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.021/7.905, allocations: 0.9748 GB / 4.066 GB, free: 276.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001159/7.905, allocations: 20.52 kB / 4.066 GB, free: 276.6 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.004113/7.91, allocations: 1.051 MB / 4.067 GB, free: 276 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/7.91, allocations: 9.062 kB / 4.067 GB, free: 276 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/7.911, allocations: 236.8 kB / 4.067 GB, free: 276 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00336/7.915, allocations: 0.8883 MB / 4.068 GB, free: 275.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.457e-05/7.915, allocations: 12.03 kB / 4.068 GB, free: 275.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/7.915, allocations: 28.47 kB / 4.068 GB, free: 275.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008389/7.916, allocations: 334.7 kB / 4.069 GB, free: 275.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008912/7.917, allocations: 447.9 kB / 4.069 GB, free: 275.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/7.917, allocations: 10.86 kB / 4.069 GB, free: 275.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.345e-05/7.917, allocations: 3.938 kB / 4.069 GB, free: 275.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/7.917, allocations: 18.34 kB / 4.069 GB, free: 275.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003808/7.921, allocations: 2.247 MB / 4.071 GB, free: 273.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/7.921, allocations: 249.8 kB / 4.072 GB, free: 273.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/7.921, allocations: 126.6 kB / 4.072 GB, free: 273.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/7.922, allocations: 0.8281 MB / 4.073 GB, free: 272.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003085/7.923, allocations: 187 kB / 4.073 GB, free: 272.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=27): time 2.835e-06/7.923, allocations: 0 / 4.073 GB, free: 272.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=27): time 0.001464/7.924, allocations: 417.2 kB / 4.073 GB, free: 272.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/7.924, allocations: 107.9 kB / 4.073 GB, free: 272.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008121/7.925, allocations: 456.8 kB / 4.074 GB, free: 272 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.687e-05/7.925, allocations: 27.73 kB / 4.074 GB, free: 271.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/7.925, allocations: 249.8 kB / 4.074 GB, free: 271.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/7.925, allocations: 93.41 kB / 4.074 GB, free: 271.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/7.926, allocations: 0 / 4.074 GB, free: 271.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001291/7.926, allocations: 369.2 kB / 4.074 GB, free: 271.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/7.926, allocations: 108 kB / 4.074 GB, free: 271.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/7.926, allocations: 288.2 kB / 4.075 GB, free: 271.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006254/7.927, allocations: 236.4 kB / 4.075 GB, free: 271 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/7.927, allocations: 1.5 kB / 4.075 GB, free: 271 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001155/7.928, allocations: 486.5 kB / 4.075 GB, free: 270.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003948/7.928, allocations: 1.836 MB / 4.077 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/7.928, allocations: 4.719 kB / 4.077 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/7.928, allocations: 8.156 kB / 4.077 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/7.929, allocations: 85 kB / 4.077 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/7.929, allocations: 13.52 kB / 4.077 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005459/7.929, allocations: 48.45 kB / 4.077 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.397e-05/7.93, allocations: 25 kB / 4.077 GB, free: 268.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/7.93, allocations: 2.969 kB / 4.077 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009262/7.93, allocations: 410.1 kB / 4.078 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/7.931, allocations: 4.844 kB / 4.078 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/7.931, allocations: 7.562 kB / 4.078 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/7.931, allocations: 87.89 kB / 4.078 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/7.931, allocations: 7.062 kB / 4.078 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/7.931, allocations: 42.47 kB / 4.078 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-05/7.932, allocations: 26.28 kB / 4.078 GB, free: 268.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.0001689/7.932, allocations: 123.3 kB / 4.078 GB, free: 268.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/7.932, allocations: 61.06 kB / 4.078 GB, free: 268.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009432/7.933, allocations: 377.7 kB / 4.078 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/7.933, allocations: 3.953 kB / 4.078 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/7.933, allocations: 1.281 kB / 4.078 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/7.933, allocations: 2.031 kB / 4.078 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/7.935, allocations: 1.167 MB / 4.08 GB, free: 267.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/7.935, allocations: 6.438 kB / 4.08 GB, free: 267.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/7.935, allocations: 54.69 kB / 4.08 GB, free: 267.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.297e-05/7.935, allocations: 7.188 kB / 4.08 GB, free: 267.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/7.935, allocations: 8.281 kB / 4.08 GB, free: 267.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/7.935, allocations: 3.5 kB / 4.08 GB, free: 267.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/7.935, allocations: 6.312 kB / 4.08 GB, free: 267.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001211/7.936, allocations: 0.7822 MB / 4.08 GB, free: 267.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002934/7.937, allocations: 168.2 kB / 4.081 GB, free: 267.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/7.937, allocations: 6.688 kB / 4.081 GB, free: 267.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/7.937, allocations: 18.45 kB / 4.081 GB, free: 267.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/7.937, allocations: 20.47 kB / 4.081 GB, free: 267.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/7.937, allocations: 12.36 kB / 4.081 GB, free: 267.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004848/7.938, allocations: 352.6 kB / 4.081 GB, free: 266.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001689/7.94, allocations: 384.1 kB / 4.081 GB, free: 266.8 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.003063/7.943, allocations: 1.779 MB / 4.083 GB, free: 266.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001082/7.944, allocations: 0.4888 MB / 4.084 GB, free: 266.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/7.944, allocations: 0.9375 kB / 4.084 GB, free: 266.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000248/7.944, allocations: 130.3 kB / 4.084 GB, free: 266.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/7.945, allocations: 193.2 kB / 4.084 GB, free: 266.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004741/7.95, allocations: 1.642 MB / 4.086 GB, free: 265.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006005/7.951, allocations: 0.9711 MB / 4.086 GB, free: 264.8 MB / 1.151 GB Notification: Performance of SimCode: time 7.81e-07/7.951, allocations: 0 / 4.086 GB, free: 264.8 MB / 1.151 GB Notification: Performance of Templates: time 0.03289/7.983, allocations: 18.59 MB / 4.105 GB, free: 258.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.csv","../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches