Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.226/1.226, 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.001185/0.001185, allocations: 192.3 kB / 316 MB, free: 3.559 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.07/1.07, allocations: 205.2 MB / 0.5667 GB, free: 15.71 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.0008135/0.0008135, allocations: 80.03 kB / 0.671 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.151e-06/6.171e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1469, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.239/3.386, allocations: 2.199 GB / 3.084 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/3.386, allocations: 79.95 kB / 3.084 GB, free: 205 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.529/4.915, allocations: 0.5795 GB / 3.664 GB, free: 185 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.106e-05/4.915, allocations: 16.75 kB / 3.664 GB, free: 185 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.00219/4.917, allocations: 1.007 MB / 3.665 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/4.917, allocations: 8.375 kB / 3.665 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/4.918, allocations: 242.8 kB / 3.665 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/4.92, allocations: 0.8799 MB / 3.666 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/4.92, allocations: 11.97 kB / 3.666 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.969e-05/4.92, allocations: 27.12 kB / 3.666 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005471/4.921, allocations: 366.4 kB / 3.666 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/4.921, allocations: 436.9 kB / 3.666 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/4.921, allocations: 0 / 3.666 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.764e-05/4.921, allocations: 3.75 kB / 3.666 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/4.921, allocations: 17.22 kB / 3.666 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/4.924, allocations: 2.232 MB / 3.669 GB, free: 183 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/4.924, allocations: 229 kB / 3.669 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/4.924, allocations: 118.8 kB / 3.669 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008436/4.925, allocations: 0.8206 MB / 3.67 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/4.925, allocations: 190.8 kB / 3.67 GB, free: 182 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 1.924e-06/4.925, allocations: 0 / 3.67 GB, free: 182 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.0009794/4.926, allocations: 404.5 kB / 3.67 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/4.926, allocations: 113.6 kB / 3.67 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004105/4.927, allocations: 459.6 kB / 3.671 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/4.927, allocations: 25.7 kB / 3.671 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/4.927, allocations: 249 kB / 3.671 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/4.927, allocations: 91.88 kB / 3.671 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/4.927, allocations: 0 / 3.671 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.424e-05/4.927, allocations: 372.3 kB / 3.672 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/4.927, allocations: 100.1 kB / 3.672 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/4.927, allocations: 287.4 kB / 3.672 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/4.928, allocations: 214.6 kB / 3.672 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/4.928, allocations: 0 / 3.672 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007034/4.928, allocations: 478.2 kB / 3.673 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002554/4.929, allocations: 1.824 MB / 3.674 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/4.929, allocations: 6.688 kB / 3.674 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/4.929, allocations: 3.969 kB / 3.674 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/4.929, allocations: 88.39 kB / 3.675 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/4.929, allocations: 11.47 kB / 3.675 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003528/4.929, allocations: 40.88 kB / 3.675 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.059e-05/4.93, allocations: 25.38 kB / 3.675 GB, free: 179 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.28e-06/4.93, allocations: 7.031 kB / 3.675 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006153/4.93, allocations: 384.5 kB / 3.675 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/4.93, allocations: 6.031 kB / 3.675 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.58e-06/4.93, allocations: 7.75 kB / 3.675 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/4.93, allocations: 83.83 kB / 3.675 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/4.931, allocations: 11.78 kB / 3.675 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/4.931, allocations: 41.16 kB / 3.675 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/4.931, allocations: 19.94 kB / 3.675 GB, free: 179 MB / 0.8698 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 7.929e-05/4.931, allocations: 124.9 kB / 3.675 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.589e-05/4.931, allocations: 55.38 kB / 3.675 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006331/4.932, allocations: 369.1 kB / 3.676 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/4.932, allocations: 3.969 kB / 3.676 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/4.932, allocations: 0 / 3.676 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/4.932, allocations: 3.891 kB / 3.676 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/4.933, allocations: 1.157 MB / 3.677 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/4.933, allocations: 3.562 kB / 3.677 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/4.933, allocations: 41.8 kB / 3.677 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/4.933, allocations: 3.562 kB / 3.677 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/4.933, allocations: 10.92 kB / 3.677 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/4.933, allocations: 3.812 kB / 3.677 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/4.933, allocations: 0 / 3.677 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00061/4.934, allocations: 0.6203 MB / 3.677 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/4.934, allocations: 165 kB / 3.678 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.781e-05/4.934, allocations: 11.56 kB / 3.678 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/4.934, allocations: 5.797 kB / 3.678 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/4.934, allocations: 27.88 kB / 3.678 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/4.934, allocations: 9.688 kB / 3.678 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002693/4.935, allocations: 350.3 kB / 3.678 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001008/4.936, allocations: 382.3 kB / 3.678 GB, free: 177.7 MB / 0.8698 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.001804/4.937, allocations: 1.791 MB / 3.68 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005409/4.938, allocations: 454 kB / 3.681 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/4.938, allocations: 7.375 kB / 3.681 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/4.938, allocations: 121.2 kB / 3.681 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008187/4.939, allocations: 185.1 kB / 3.681 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003304/4.942, allocations: 1.528 MB / 3.682 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003853/4.943, allocations: 0.9616 MB / 3.683 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of SimCode: time 3.4e-07/4.943, allocations: 0 / 3.683 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.02246/4.965, allocations: 18.38 MB / 3.701 GB, free: 175.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches