Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [: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 10.0.0-master/package.mo): time 1.995/1.995, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001017/0.001017, allocations: 187.8 kB / 490.8 MB, free: 1.898 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.402/1.402, allocations: 221.4 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009308/0.0009307, allocations: 88.67 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.907e-06/8.926e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3187, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.892/5.21, allocations: 1.982 GB / 3.193 GB, free: 333.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/5.211, allocations: 83.95 kB / 3.193 GB, free: 333.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.5166/5.727, allocations: 271.4 MB / 3.458 GB, free: 57.17 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.159e-05/5.727, allocations: 16 kB / 3.458 GB, free: 57.15 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00234/5.73, allocations: 0.912 MB / 3.459 GB, free: 56.19 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/5.73, allocations: 8.031 kB / 3.459 GB, free: 56.18 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/5.731, allocations: 163 kB / 3.459 GB, free: 56.02 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/5.732, allocations: 0.5393 MB / 3.46 GB, free: 55.45 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/5.732, allocations: 16 kB / 3.46 GB, free: 55.43 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/5.733, allocations: 32 kB / 3.46 GB, free: 55.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008678/5.733, allocations: 466.3 kB / 3.46 GB, free: 54.94 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009798/5.734, allocations: 0.5409 MB / 3.461 GB, free: 54.38 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/5.734, allocations: 0 / 3.461 GB, free: 54.38 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.606e-05/5.735, allocations: 0 / 3.461 GB, free: 54.38 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.683e-05/5.735, allocations: 21.31 kB / 3.461 GB, free: 54.36 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003524/5.738, allocations: 2.188 MB / 3.463 GB, free: 52.04 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/5.739, allocations: 214.8 kB / 3.463 GB, free: 51.82 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/5.739, allocations: 108.8 kB / 3.463 GB, free: 51.71 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.235e-05/5.739, allocations: 4 kB / 3.463 GB, free: 51.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/5.739, allocations: 38.56 kB / 3.463 GB, free: 51.66 MB / 1.151 GB Notification: Performance of pre-optimization done (n=20): time 1.903e-06/5.739, allocations: 0 / 3.463 GB, free: 51.66 MB / 1.151 GB Notification: Performance of matching and sorting (n=20): time 0.0008959/5.74, allocations: 307 kB / 3.464 GB, free: 51.34 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/5.74, allocations: 89.05 kB / 3.464 GB, free: 51.24 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000404/5.74, allocations: 369 kB / 3.464 GB, free: 50.88 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/5.74, allocations: 25.7 kB / 3.464 GB, free: 50.84 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/5.74, allocations: 294.9 kB / 3.465 GB, free: 50.55 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.155e-05/5.74, allocations: 70.94 kB / 3.465 GB, free: 50.48 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/5.74, allocations: 0 / 3.465 GB, free: 50.48 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.39e-05/5.741, allocations: 350.8 kB / 3.465 GB, free: 50.13 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/5.741, allocations: 104.6 kB / 3.465 GB, free: 50.02 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/5.741, allocations: 195.2 kB / 3.465 GB, free: 49.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/5.741, allocations: 139.9 kB / 3.465 GB, free: 49.66 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/5.741, allocations: 0 / 3.465 GB, free: 49.66 MB / 1.151 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007374/5.742, allocations: 439.3 kB / 3.466 GB, free: 49.22 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/5.742, allocations: 4 kB / 3.466 GB, free: 49.21 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/5.742, allocations: 4 kB / 3.466 GB, free: 49.21 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003505/5.742, allocations: 93.59 kB / 3.466 GB, free: 49.11 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/5.743, allocations: 71.91 kB / 3.466 GB, free: 49.04 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/5.745, allocations: 2.805 MB / 3.469 GB, free: 46.01 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005785/5.745, allocations: 55.7 kB / 3.469 GB, free: 45.95 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/5.745, allocations: 12.06 kB / 3.469 GB, free: 45.94 MB / 1.151 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 (34): * Single equations (assignments): 32 * 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 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001311/5.745, allocations: 112.8 kB / 3.469 GB, free: 45.82 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.921e-05/5.746, allocations: 43.53 kB / 3.469 GB, free: 45.78 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.45e-05/5.746, allocations: 47.45 kB / 3.469 GB, free: 45.73 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/5.746, allocations: 4 kB / 3.469 GB, free: 45.73 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/5.746, allocations: 3.938 kB / 3.469 GB, free: 45.73 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005187/5.746, allocations: 498.8 kB / 3.469 GB, free: 45.17 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/5.747, allocations: 0.8048 MB / 3.47 GB, free: 44.32 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/5.747, allocations: 0 / 3.47 GB, free: 44.32 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/5.748, allocations: 47.98 kB / 3.47 GB, free: 44.27 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002081/5.748, allocations: 65 kB / 3.47 GB, free: 44.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/5.748, allocations: 0 / 3.47 GB, free: 44.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/5.749, allocations: 1.526 MB / 3.472 GB, free: 42.56 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/5.749, allocations: 4.062 kB / 3.472 GB, free: 42.56 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005753/5.75, allocations: 424.8 kB / 3.472 GB, free: 42.11 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/5.75, allocations: 152.5 kB / 3.472 GB, free: 41.94 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.201e-05/5.75, allocations: 7.984 kB / 3.472 GB, free: 41.93 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/5.751, allocations: 27.97 kB / 3.472 GB, free: 41.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/5.751, allocations: 19.89 kB / 3.472 GB, free: 41.88 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/5.751, allocations: 12 kB / 3.472 GB, free: 41.87 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002649/5.751, allocations: 279.2 kB / 3.473 GB, free: 41.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001158/5.752, allocations: 275.4 kB / 3.473 GB, free: 41.33 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001468/5.754, allocations: 1.081 MB / 3.474 GB, free: 40.25 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007032/5.754, allocations: 455.7 kB / 3.474 GB, free: 39.78 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/5.754, allocations: 11.94 kB / 3.474 GB, free: 39.77 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/5.755, allocations: 201.8 kB / 3.475 GB, free: 39.56 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/5.756, allocations: 236.7 kB / 3.475 GB, free: 39.33 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/5.757, allocations: 0.6486 MB / 3.475 GB, free: 38.65 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004382/5.758, allocations: 0.9587 MB / 3.476 GB, free: 37.67 MB / 1.151 GB Notification: Performance of SimCode: time 1.032e-06/5.758, allocations: 0 / 3.476 GB, free: 37.67 MB / 1.151 GB Notification: Performance of Templates: time 0.02191/5.779, allocations: 14.66 MB / 3.491 GB, free: 23.13 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches