Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.111/2.111, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001249/0.001249, allocations: 177.3 kB / 487 MB, free: 5.305 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.507/1.507, allocations: 221.3 MB / 0.7819 GB, free: 1.352 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.001297/0.001296, allocations: 94.53 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.634e-06/7.674e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3136, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.424/5.738, allocations: 1.981 GB / 3.186 GB, free: 317.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/5.738, allocations: 91.89 kB / 3.186 GB, free: 317.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.4901/6.228, allocations: 271.3 MB / 3.451 GB, free: 40.59 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.904e-05/6.228, allocations: 16 kB / 3.451 GB, free: 40.58 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.001641/6.23, allocations: 0.9006 MB / 3.452 GB, free: 39.63 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/6.23, allocations: 9.031 kB / 3.452 GB, free: 39.62 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/6.231, allocations: 175 kB / 3.452 GB, free: 39.45 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008231/6.232, allocations: 0.547 MB / 3.453 GB, free: 38.86 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/6.232, allocations: 16 kB / 3.453 GB, free: 38.85 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.735e-05/6.232, allocations: 32 kB / 3.453 GB, free: 38.82 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006973/6.233, allocations: 454.5 kB / 3.453 GB, free: 38.37 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007599/6.233, allocations: 0.5553 MB / 3.454 GB, free: 37.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/6.233, allocations: 0 / 3.454 GB, free: 37.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.281e-05/6.233, allocations: 4 kB / 3.454 GB, free: 37.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/6.233, allocations: 17.31 kB / 3.454 GB, free: 37.78 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/6.236, allocations: 2.183 MB / 3.456 GB, free: 35.45 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/6.237, allocations: 214.9 kB / 3.456 GB, free: 35.23 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/6.237, allocations: 112.8 kB / 3.456 GB, free: 35.12 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/6.237, allocations: 8 kB / 3.456 GB, free: 35.11 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/6.237, allocations: 34.56 kB / 3.456 GB, free: 35.07 MB / 1.151 GB Notification: Performance of pre-optimization done (n=20): time 2.435e-06/6.237, allocations: 0 / 3.456 GB, free: 35.07 MB / 1.151 GB Notification: Performance of matching and sorting (n=20): time 0.0007809/6.238, allocations: 317.4 kB / 3.457 GB, free: 34.75 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/6.238, allocations: 81.45 kB / 3.457 GB, free: 34.65 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/6.238, allocations: 365 kB / 3.457 GB, free: 34.29 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/6.238, allocations: 29.7 kB / 3.457 GB, free: 34.25 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/6.238, allocations: 286.9 kB / 3.457 GB, free: 33.97 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.601e-05/6.238, allocations: 74.95 kB / 3.457 GB, free: 33.89 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/6.238, allocations: 3.938 kB / 3.457 GB, free: 33.89 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.912e-05/6.238, allocations: 346.8 kB / 3.458 GB, free: 33.54 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/6.238, allocations: 112.6 kB / 3.458 GB, free: 33.43 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/6.239, allocations: 191.9 kB / 3.458 GB, free: 33.21 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/6.239, allocations: 143.9 kB / 3.458 GB, free: 33.07 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/6.239, allocations: 0 / 3.458 GB, free: 33.07 MB / 1.151 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006618/6.239, allocations: 434.8 kB / 3.459 GB, free: 32.63 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/6.239, allocations: 4 kB / 3.459 GB, free: 32.62 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/6.24, allocations: 4 kB / 3.459 GB, free: 32.62 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003193/6.24, allocations: 89.67 kB / 3.459 GB, free: 32.53 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/6.24, allocations: 71.89 kB / 3.459 GB, free: 32.46 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/6.242, allocations: 2.817 MB / 3.462 GB, free: 29.41 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/6.243, allocations: 47.72 kB / 3.462 GB, free: 29.36 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/6.243, allocations: 16.06 kB / 3.462 GB, free: 29.35 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.0001023/6.243, allocations: 110 kB / 3.462 GB, free: 29.23 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.535e-05/6.243, allocations: 43.53 kB / 3.462 GB, free: 29.19 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.889e-05/6.243, allocations: 39.47 kB / 3.462 GB, free: 29.14 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/6.243, allocations: 4 kB / 3.462 GB, free: 29.14 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/6.243, allocations: 0 / 3.462 GB, free: 29.14 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004732/6.243, allocations: 0.4961 MB / 3.462 GB, free: 28.57 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009881/6.244, allocations: 0.8016 MB / 3.463 GB, free: 27.72 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/6.244, allocations: 4.062 kB / 3.463 GB, free: 27.71 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/6.245, allocations: 47.97 kB / 3.463 GB, free: 27.67 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001877/6.245, allocations: 60.81 kB / 3.463 GB, free: 27.61 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/6.245, allocations: 0 / 3.463 GB, free: 27.61 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/6.246, allocations: 1.534 MB / 3.465 GB, free: 25.96 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/6.246, allocations: 4 kB / 3.465 GB, free: 25.95 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004833/6.246, allocations: 416.9 kB / 3.465 GB, free: 25.51 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/6.247, allocations: 156.5 kB / 3.465 GB, free: 25.34 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/6.247, allocations: 0 / 3.465 GB, free: 25.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004413/6.247, allocations: 39.81 kB / 3.465 GB, free: 25.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/6.247, allocations: 15.92 kB / 3.465 GB, free: 25.28 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/6.247, allocations: 11.98 kB / 3.465 GB, free: 25.27 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002427/6.248, allocations: 279.2 kB / 3.466 GB, free: 25 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001008/6.249, allocations: 287.3 kB / 3.466 GB, free: 24.72 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.00127/6.25, allocations: 1.071 MB / 3.467 GB, free: 23.65 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005932/6.25, allocations: 464 kB / 3.467 GB, free: 23.18 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/6.25, allocations: 0 / 3.467 GB, free: 23.18 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/6.251, allocations: 205.8 kB / 3.467 GB, free: 22.96 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/6.252, allocations: 248.1 kB / 3.468 GB, free: 22.73 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/6.253, allocations: 0.6447 MB / 3.468 GB, free: 22.05 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004522/6.254, allocations: 0.9471 MB / 3.469 GB, free: 21.08 MB / 1.151 GB Notification: Performance of SimCode: time 3.81e-07/6.254, allocations: 0 / 3.469 GB, free: 21.08 MB / 1.151 GB Notification: Performance of Templates: time 0.02163/6.275, allocations: 14.67 MB / 3.484 GB, free: 6.527 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches