Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [: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.199/1.199, allocations: 249.4 MB / 256.7 MB, free: 7.016 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.0009174/0.0009174, allocations: 189.2 kB / 316 MB, free: 3.59 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.171/1.171, 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.0008856/0.0008856, allocations: 89.53 kB / 0.671 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.155e-06/8.165e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1806, allocations: 106.3 MB / 0.8846 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.839/4.02, allocations: 2.191 GB / 3.076 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/4.02, allocations: 81.17 kB / 3.076 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.6802/4.7, allocations: 254.1 MB / 3.324 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.207e-05/4.7, allocations: 13.97 kB / 3.324 GB, free: 235.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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001029/4.701, allocations: 0.7991 MB / 3.325 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/4.701, allocations: 7.906 kB / 3.325 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/4.702, allocations: 185.9 kB / 3.325 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007199/4.703, allocations: 0.5232 MB / 3.325 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/4.703, allocations: 11.78 kB / 3.325 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-05/4.703, allocations: 27.38 kB / 3.325 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005185/4.704, allocations: 380.4 kB / 3.326 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005937/4.704, allocations: 463.5 kB / 3.326 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/4.704, allocations: 0 / 3.326 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.217e-05/4.704, allocations: 3.75 kB / 3.326 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/4.704, allocations: 16.34 kB / 3.326 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001956/4.706, allocations: 1.648 MB / 3.328 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/4.707, allocations: 194 kB / 3.328 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/4.707, allocations: 152.8 kB / 3.328 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/4.707, allocations: 98.91 kB / 3.328 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/4.707, allocations: 39.69 kB / 3.328 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=27): time 1.333e-06/4.707, allocations: 3.219 kB / 3.328 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28): time 0.001336/4.708, allocations: 0.8163 MB / 3.329 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.731e-05/4.708, allocations: 51.41 kB / 3.329 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/4.709, allocations: 312.5 kB / 3.329 GB, free: 233 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/4.709, allocations: 29.58 kB / 3.329 GB, free: 233 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.394e-05/4.709, allocations: 223.9 kB / 3.33 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/4.709, allocations: 102 kB / 3.33 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/4.709, allocations: 0 / 3.33 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.307e-05/4.709, allocations: 347.1 kB / 3.33 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/4.709, allocations: 109.9 kB / 3.33 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/4.709, allocations: 196.1 kB / 3.33 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/4.709, allocations: 155 kB / 3.33 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/4.709, allocations: 0 / 3.33 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004233/4.71, allocations: 359.1 kB / 3.331 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/4.71, allocations: 3.938 kB / 3.331 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/4.71, allocations: 3.938 kB / 3.331 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/4.71, allocations: 3.281 kB / 3.331 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/4.71, allocations: 69.62 kB / 3.331 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/4.71, allocations: 3.625 kB / 3.331 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/4.71, allocations: 19.53 kB / 3.331 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/4.71, allocations: 21.72 kB / 3.331 GB, free: 232.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.134e-05/4.711, allocations: 118.7 kB / 3.331 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.706e-05/4.711, allocations: 41.31 kB / 3.331 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.826e-05/4.711, allocations: 52.22 kB / 3.331 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/4.711, allocations: 0 / 3.331 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/4.711, allocations: 0 / 3.331 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000298/4.711, allocations: 366.8 kB / 3.331 GB, free: 232 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/4.712, allocations: 1.017 MB / 3.332 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/4.712, allocations: 0 / 3.332 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/4.712, allocations: 68.19 kB / 3.332 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/4.712, allocations: 6.906 kB / 3.332 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/4.713, allocations: 13.44 kB / 3.333 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/4.713, allocations: 3.969 kB / 3.333 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/4.713, allocations: 0.7812 kB / 3.333 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005533/4.713, allocations: 0.7455 MB / 3.333 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/4.713, allocations: 161.4 kB / 3.333 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/4.713, allocations: 6.375 kB / 3.333 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/4.714, allocations: 24.14 kB / 3.333 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/4.714, allocations: 25.16 kB / 3.333 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/4.714, allocations: 22.33 kB / 3.333 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001708/4.714, allocations: 243.1 kB / 3.334 GB, free: 231 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005835/4.715, allocations: 190.8 kB / 3.334 GB, free: 231 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0009874/4.716, allocations: 1.097 MB / 3.335 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003454/4.716, allocations: 266.4 kB / 3.335 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/4.716, allocations: 3.688 kB / 3.335 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/4.716, allocations: 139 kB / 3.335 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/4.717, allocations: 233.9 kB / 3.336 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/4.718, allocations: 0.7852 MB / 3.336 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003606/4.719, allocations: 0.9444 MB / 3.337 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of SimCode: time 4.61e-07/4.719, allocations: 0 / 3.337 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.01767/4.736, allocations: 13.53 MB / 3.35 GB, free: 229.2 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches