Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [: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.215/1.215, allocations: 249.4 MB / 256.7 MB, free: 7.055 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.000938/0.0009379, allocations: 185.2 kB / 316 MB, free: 3.605 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.05/1.05, allocations: 205.1 MB / 0.5667 GB, free: 15.66 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.0008434/0.0008434, allocations: 93.16 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.592e-06/6.612e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1541, allocations: 106.3 MB / 0.8846 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.933/4.087, allocations: 2.193 GB / 3.077 GB, free: 212.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/4.088, allocations: 83.95 kB / 3.078 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.623/5.711, allocations: 0.5503 GB / 3.628 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.498e-05/5.711, allocations: 30.42 kB / 3.628 GB, free: 200.4 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001973/5.713, allocations: 1.253 MB / 3.629 GB, free: 200 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/5.713, allocations: 7.094 kB / 3.629 GB, free: 200 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/5.714, allocations: 339.2 kB / 3.629 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/5.716, allocations: 0.8107 MB / 3.63 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003242/5.716, allocations: 111.3 kB / 3.63 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-05/5.716, allocations: 49.72 kB / 3.63 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001031/5.717, allocations: 0.7016 MB / 3.631 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/5.718, allocations: 0.9036 MB / 3.632 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/5.718, allocations: 0 / 3.632 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.883e-05/5.718, allocations: 7.781 kB / 3.632 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/5.718, allocations: 32.41 kB / 3.632 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004211/5.723, allocations: 3.869 MB / 3.636 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005179/5.723, allocations: 358.9 kB / 3.636 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/5.723, allocations: 197.4 kB / 3.636 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/5.724, allocations: 107.9 kB / 3.636 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/5.724, allocations: 42.38 kB / 3.636 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 1.943e-06/5.724, allocations: 0 / 3.636 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=38): time 0.001931/5.726, allocations: 1.099 MB / 3.637 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/5.726, allocations: 57.22 kB / 3.638 GB, free: 197 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005543/5.726, allocations: 0.58 MB / 3.638 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/5.726, allocations: 28.89 kB / 3.638 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/5.726, allocations: 414.3 kB / 3.639 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/5.726, allocations: 132.8 kB / 3.639 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/5.727, allocations: 3.531 kB / 3.639 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.628e-05/5.727, allocations: 386 kB / 3.639 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/5.727, allocations: 184 kB / 3.639 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/5.727, allocations: 379 kB / 3.64 GB, free: 196.1 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/5.729, allocations: 0.6831 MB / 3.64 GB, free: 196 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/5.729, allocations: 0 / 3.64 GB, free: 196 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008188/5.73, allocations: 0.6203 MB / 3.641 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/5.73, allocations: 9.438 kB / 3.641 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/5.73, allocations: 7.188 kB / 3.641 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/5.73, allocations: 7.406 kB / 3.641 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/5.73, allocations: 152.1 kB / 3.641 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/5.73, allocations: 12.3 kB / 3.641 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008315/5.731, allocations: 87.11 kB / 3.641 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/5.731, allocations: 27.97 kB / 3.641 GB, free: 195.9 MB / 0.8698 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0001154/5.731, allocations: 124 kB / 3.641 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/5.731, allocations: 82.5 kB / 3.641 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/5.731, allocations: 77.31 kB / 3.641 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/5.731, allocations: 3.969 kB / 3.641 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/5.731, allocations: 2.438 kB / 3.641 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004531/5.732, allocations: 0.6529 MB / 3.642 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/5.734, allocations: 1.452 MB / 3.643 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/5.734, allocations: 3.781 kB / 3.643 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/5.734, allocations: 87.36 kB / 3.644 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/5.734, allocations: 7.578 kB / 3.644 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/5.734, allocations: 10.03 kB / 3.644 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/5.734, allocations: 9.469 kB / 3.644 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/5.734, allocations: 3.812 kB / 3.644 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000802/5.735, allocations: 0.9914 MB / 3.645 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002691/5.735, allocations: 230.6 kB / 3.645 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/5.735, allocations: 6.281 kB / 3.645 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006804/5.736, allocations: 60.91 kB / 3.645 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/5.736, allocations: 29.61 kB / 3.645 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.706e-05/5.736, allocations: 26.08 kB / 3.645 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003925/5.737, allocations: 447 kB / 3.645 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000946/5.738, allocations: 326.2 kB / 3.646 GB, free: 194.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.001523/5.739, allocations: 1.512 MB / 3.647 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005843/5.74, allocations: 433.2 kB / 3.647 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/5.74, allocations: 6.703 kB / 3.648 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/5.74, allocations: 182.2 kB / 3.648 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/5.742, allocations: 385.4 kB / 3.648 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/5.744, allocations: 1.384 MB / 3.649 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006421/5.744, allocations: 1.194 MB / 3.651 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.8e-07/5.744, allocations: 0 / 3.651 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.03108/5.775, allocations: 21.18 MB / 3.671 GB, free: 192.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches