Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") [: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.189/1.189, allocations: 249.4 MB / 256.7 MB, free: 6.953 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.0009094/0.0009094, allocations: 173.3 kB / 316 MB, free: 3.531 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.064/1.064, allocations: 205.1 MB / 0.5667 GB, free: 15.6 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.0008211/0.0008208, allocations: 93.58 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.616e-06/8.636e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1591, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.742/3.901, allocations: 2.19 GB / 3.074 GB, free: 211.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/3.901, allocations: 87.95 kB / 3.074 GB, free: 211.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.8571/4.758, allocations: 348.6 MB / 3.415 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.946e-05/4.759, allocations: 20 kB / 3.415 GB, free: 203.2 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001286/4.76, allocations: 0.9733 MB / 3.416 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/4.76, allocations: 8.031 kB / 3.416 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/4.762, allocations: 286.7 kB / 3.416 GB, free: 201.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009691/4.763, allocations: 0.7175 MB / 3.417 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/4.763, allocations: 27.89 kB / 3.417 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.483e-05/4.763, allocations: 39.98 kB / 3.417 GB, free: 201 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006511/4.763, allocations: 454.5 kB / 3.417 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006948/4.764, allocations: 495.8 kB / 3.418 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/4.764, allocations: 0 / 3.418 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/4.764, allocations: 8 kB / 3.418 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/4.764, allocations: 25.3 kB / 3.418 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/4.766, allocations: 2.28 MB / 3.42 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/4.767, allocations: 306.9 kB / 3.42 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/4.767, allocations: 205.6 kB / 3.421 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/4.767, allocations: 93.09 kB / 3.421 GB, free: 197 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/4.767, allocations: 38.56 kB / 3.421 GB, free: 197 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 1.552e-06/4.767, allocations: 0 / 3.421 GB, free: 197 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48): time 0.002056/4.769, allocations: 1.205 MB / 3.422 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.712e-05/4.769, allocations: 55.84 kB / 3.422 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/4.77, allocations: 390.1 kB / 3.422 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/4.77, allocations: 29.7 kB / 3.422 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.232e-05/4.77, allocations: 268.2 kB / 3.423 GB, free: 195 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.446e-05/4.77, allocations: 161.6 kB / 3.423 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/4.77, allocations: 0 / 3.423 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.463e-05/4.77, allocations: 362.7 kB / 3.423 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/4.77, allocations: 161 kB / 3.423 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/4.77, allocations: 244 kB / 3.423 GB, free: 194 MB / 0.8698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/4.772, allocations: 0.9783 MB / 3.424 GB, free: 193 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/4.772, allocations: 0 / 3.424 GB, free: 193 MB / 0.8698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005458/4.773, allocations: 486.4 kB / 3.425 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/4.773, allocations: 6.031 kB / 3.425 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/4.773, allocations: 4 kB / 3.425 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/4.773, allocations: 4.156 kB / 3.425 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/4.773, allocations: 99.89 kB / 3.425 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/4.773, allocations: 3.938 kB / 3.425 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005617/4.774, allocations: 23.89 kB / 3.425 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/4.774, allocations: 23.91 kB / 3.425 GB, free: 192.4 MB / 0.8698 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.446e-05/4.774, allocations: 120.8 kB / 3.425 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.213e-05/4.774, allocations: 59.25 kB / 3.425 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/4.774, allocations: 73.59 kB / 3.425 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/4.774, allocations: 4 kB / 3.425 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/4.774, allocations: 4.062 kB / 3.425 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004327/4.775, allocations: 481.9 kB / 3.426 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/4.776, allocations: 1.449 MB / 3.427 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/4.776, allocations: 4.062 kB / 3.427 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000523/4.777, allocations: 123.8 kB / 3.427 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/4.777, allocations: 11.98 kB / 3.427 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/4.777, allocations: 8 kB / 3.427 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/4.777, allocations: 11.94 kB / 3.427 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/4.777, allocations: 7.984 kB / 3.427 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007874/4.778, allocations: 1.138 MB / 3.428 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/4.778, allocations: 204.2 kB / 3.429 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.638e-05/4.778, allocations: 11.98 kB / 3.429 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005685/4.779, allocations: 31.83 kB / 3.429 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/4.779, allocations: 43.86 kB / 3.429 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/4.779, allocations: 20 kB / 3.429 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002369/4.779, allocations: 310.9 kB / 3.429 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007017/4.78, allocations: 252 kB / 3.429 GB, free: 187.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.U,volSim.dynBal.mXi[1],volExa.dynBal.U,volExa.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0011/4.781, allocations: 1.205 MB / 3.43 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004771/4.781, allocations: 396.5 kB / 3.431 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/4.781, allocations: 0 / 3.431 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/4.782, allocations: 213.2 kB / 3.431 GB, free: 186 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/4.783, allocations: 390.3 kB / 3.431 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/4.785, allocations: 1.227 MB / 3.433 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004759/4.785, allocations: 1.063 MB / 3.434 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of SimCode: time 2.61e-07/4.785, allocations: 0 / 3.434 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.02185/4.807, allocations: 18.25 MB / 3.451 GB, free: 165.2 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches