Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [: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.062/2.062, 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.001102/0.001102, allocations: 189.2 kB / 487 MB, free: 5.355 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.543/1.543, allocations: 221.3 MB / 0.7819 GB, free: 1.359 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.001098/0.001098, allocations: 86.62 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.136e-05/1.138e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3481, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.804/5.152, allocations: 1.918 GB / 3.124 GB, free: 389.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/5.153, allocations: 91.89 kB / 3.124 GB, free: 389.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.418/6.571, allocations: 465.4 MB / 3.578 GB, free: 300.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.672e-05/6.571, allocations: 27.52 kB / 3.578 GB, free: 300.5 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002335/6.573, allocations: 1.26 MB / 3.579 GB, free: 299.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/6.573, allocations: 12.38 kB / 3.58 GB, free: 299.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/6.575, allocations: 328.3 kB / 3.58 GB, free: 299.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/6.577, allocations: 0.8571 MB / 3.581 GB, free: 299.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/6.577, allocations: 33.22 kB / 3.581 GB, free: 299.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/6.577, allocations: 53.62 kB / 3.581 GB, free: 299.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001171/6.578, allocations: 0.7299 MB / 3.581 GB, free: 299.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/6.58, allocations: 0.837 MB / 3.582 GB, free: 299.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/6.58, allocations: 0 / 3.582 GB, free: 299.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.632e-05/6.58, allocations: 0 / 3.582 GB, free: 299.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/6.58, allocations: 33.28 kB / 3.582 GB, free: 299.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004658/6.584, allocations: 3.402 MB / 3.586 GB, free: 298.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006667/6.585, allocations: 455.6 kB / 3.586 GB, free: 298.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/6.585, allocations: 266.9 kB / 3.586 GB, free: 298.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/6.586, allocations: 100.4 kB / 3.586 GB, free: 298.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/6.586, allocations: 47.03 kB / 3.586 GB, free: 298.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 2.505e-06/6.586, allocations: 0 / 3.586 GB, free: 298.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.002787/6.588, allocations: 1.353 MB / 3.588 GB, free: 297.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/6.588, allocations: 58.78 kB / 3.588 GB, free: 297.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005479/6.589, allocations: 0.5206 MB / 3.588 GB, free: 297.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/6.589, allocations: 28.95 kB / 3.588 GB, free: 297.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/6.589, allocations: 391 kB / 3.589 GB, free: 297.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/6.589, allocations: 157 kB / 3.589 GB, free: 297.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/6.589, allocations: 0 / 3.589 GB, free: 297.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.578e-05/6.589, allocations: 386.9 kB / 3.589 GB, free: 296.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/6.59, allocations: 208.5 kB / 3.589 GB, free: 296.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/6.59, allocations: 335.3 kB / 3.59 GB, free: 296.7 MB / 1.151 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.002597/6.593, allocations: 0.9539 MB / 3.591 GB, free: 296.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/6.593, allocations: 3.062 kB / 3.591 GB, free: 296.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001094/6.594, allocations: 0.7033 MB / 3.591 GB, free: 296.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/6.594, allocations: 6.406 kB / 3.591 GB, free: 296.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/6.594, allocations: 3.938 kB / 3.591 GB, free: 296.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002975/6.594, allocations: 93.84 kB / 3.592 GB, free: 296.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005903/6.595, allocations: 126.9 kB / 3.592 GB, free: 296.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/6.597, allocations: 2.774 MB / 3.594 GB, free: 294.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009213/6.598, allocations: 54.23 kB / 3.594 GB, free: 294.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/6.598, allocations: 22.19 kB / 3.594 GB, free: 294.1 MB / 1.151 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: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001766/6.598, allocations: 114.4 kB / 3.595 GB, free: 294 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/6.598, allocations: 87.7 kB / 3.595 GB, free: 294 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/6.598, allocations: 78.81 kB / 3.595 GB, free: 293.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/6.598, allocations: 7.844 kB / 3.595 GB, free: 293.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/6.598, allocations: 7.594 kB / 3.595 GB, free: 293.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009171/6.599, allocations: 0.785 MB / 3.595 GB, free: 293.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/6.602, allocations: 1.593 MB / 3.597 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/6.602, allocations: 3.938 kB / 3.597 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005211/6.602, allocations: 112.2 kB / 3.597 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002177/6.602, allocations: 68.91 kB / 3.597 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/6.602, allocations: 6.594 kB / 3.597 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/6.604, allocations: 1.504 MB / 3.599 GB, free: 291.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/6.604, allocations: 10.5 kB / 3.599 GB, free: 291.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00118/6.605, allocations: 1.123 MB / 3.6 GB, free: 291.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/6.605, allocations: 221.8 kB / 3.6 GB, free: 291.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/6.605, allocations: 6.547 kB / 3.6 GB, free: 291.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007569/6.606, allocations: 54.88 kB / 3.6 GB, free: 291.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/6.606, allocations: 33.84 kB / 3.6 GB, free: 291.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/6.606, allocations: 24.09 kB / 3.6 GB, free: 291.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004664/6.607, allocations: 412.4 kB / 3.6 GB, free: 291.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001365/6.608, allocations: 367.3 kB / 3.601 GB, free: 291.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001692/6.61, allocations: 1.447 MB / 3.602 GB, free: 290.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000962/6.611, allocations: 0.6952 MB / 3.603 GB, free: 290.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/6.611, allocations: 0 / 3.603 GB, free: 290.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003712/6.611, allocations: 346.5 kB / 3.603 GB, free: 290.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/6.613, allocations: 438.6 kB / 3.604 GB, free: 290.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/6.616, allocations: 1.336 MB / 3.605 GB, free: 290.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00073/6.616, allocations: 1.165 MB / 3.606 GB, free: 289.3 MB / 1.151 GB Notification: Performance of SimCode: time 6.61e-07/6.616, allocations: 0 / 3.606 GB, free: 289.3 MB / 1.151 GB Notification: Performance of Templates: time 0.03732/6.654, allocations: 22.88 MB / 3.628 GB, free: 288.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches