Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.599/1.599, allocations: 249.5 MB / 257 MB, free: 6.934 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.001088/0.001087, allocations: 172.9 kB / 316.3 MB, free: 3.219 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.609/1.609, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008551/0.0008552, allocations: 88.42 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.515e-05/2.503e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2644, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.106/7.37, allocations: 2.19 GB / 3.075 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/7.37, allocations: 89.45 kB / 3.075 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.269/8.639, allocations: 256.7 MB / 3.325 GB, free: 244.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.156e-06/8.639, allocations: 0 / 3.325 GB, free: 244.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.308e-05/8.639, allocations: 23.14 kB / 3.325 GB, free: 244.3 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002067/8.642, allocations: 0.9108 MB / 3.326 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/8.642, allocations: 11.47 kB / 3.326 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/8.643, allocations: 164.1 kB / 3.327 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009557/8.644, allocations: 0.5427 MB / 3.327 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/8.644, allocations: 16.53 kB / 3.327 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.922e-05/8.644, allocations: 33.12 kB / 3.327 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007936/8.644, allocations: 450.7 kB / 3.328 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009363/8.645, allocations: 0.5408 MB / 3.328 GB, free: 243 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/8.645, allocations: 2.188 kB / 3.328 GB, free: 243 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.682e-05/8.646, allocations: 11.67 kB / 3.328 GB, free: 243 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/8.646, allocations: 25.09 kB / 3.328 GB, free: 243 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003053/8.649, allocations: 2.126 MB / 3.33 GB, free: 241.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/8.649, allocations: 209.4 kB / 3.33 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/8.649, allocations: 109.2 kB / 3.33 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/8.649, allocations: 7.25 kB / 3.331 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/8.649, allocations: 38.5 kB / 3.331 GB, free: 241.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 2.985e-06/8.649, allocations: 0 / 3.331 GB, free: 241.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0008657/8.65, allocations: 307.7 kB / 3.331 GB, free: 241.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/8.65, allocations: 84.64 kB / 3.331 GB, free: 241.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/8.651, allocations: 368.1 kB / 3.331 GB, free: 241.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/8.651, allocations: 29.27 kB / 3.331 GB, free: 241.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/8.651, allocations: 346.9 kB / 3.332 GB, free: 240.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.536e-05/8.651, allocations: 77.19 kB / 3.332 GB, free: 240.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/8.651, allocations: 0 / 3.332 GB, free: 240.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001303/8.651, allocations: 345.8 kB / 3.332 GB, free: 240.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/8.651, allocations: 102.6 kB / 3.332 GB, free: 240.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/8.652, allocations: 209.2 kB / 3.332 GB, free: 240.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/8.652, allocations: 137.8 kB / 3.332 GB, free: 240.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/8.652, allocations: 0 / 3.332 GB, free: 240.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007127/8.652, allocations: 426.4 kB / 3.333 GB, free: 240 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/8.653, allocations: 9.375 kB / 3.333 GB, free: 240 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/8.653, allocations: 0 / 3.333 GB, free: 240 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003517/8.653, allocations: 84.23 kB / 3.333 GB, free: 239.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/8.653, allocations: 76.17 kB / 3.333 GB, free: 239.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/8.655, allocations: 2.838 MB / 3.336 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005356/8.656, allocations: 55.02 kB / 3.336 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/8.656, allocations: 18.88 kB / 3.336 GB, free: 237.3 MB / 0.8698 GB 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 (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.0001444/8.656, allocations: 112.7 kB / 3.336 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.583e-05/8.656, allocations: 42.66 kB / 3.336 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/8.656, allocations: 50.59 kB / 3.336 GB, free: 237.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/8.656, allocations: 0 / 3.336 GB, free: 237.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/8.656, allocations: 0 / 3.336 GB, free: 237.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000576/8.657, allocations: 496.3 kB / 3.337 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/8.658, allocations: 0.8097 MB / 3.337 GB, free: 236.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/8.658, allocations: 0 / 3.337 GB, free: 236.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/8.658, allocations: 40.92 kB / 3.337 GB, free: 236.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002115/8.659, allocations: 63.83 kB / 3.337 GB, free: 236.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/8.659, allocations: 6.719 kB / 3.337 GB, free: 236.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/8.66, allocations: 1.546 MB / 3.339 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/8.66, allocations: 3.906 kB / 3.339 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006819/8.661, allocations: 428.6 kB / 3.339 GB, free: 234.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/8.661, allocations: 167.1 kB / 3.34 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.58e-05/8.661, allocations: 10.92 kB / 3.34 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005112/8.662, allocations: 34.91 kB / 3.34 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/8.662, allocations: 23.14 kB / 3.34 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-05/8.662, allocations: 15.44 kB / 3.34 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003883/8.662, allocations: 282.6 kB / 3.34 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/8.662, allocations: 0 / 3.34 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001499/8.664, allocations: 289 kB / 3.34 GB, free: 234.2 MB / 0.8698 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.002644/8.667, allocations: 1.058 MB / 3.341 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009686/8.668, allocations: 472.5 kB / 3.342 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/8.668, allocations: 4.875 kB / 3.342 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003012/8.668, allocations: 219.4 kB / 3.342 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/8.669, allocations: 239 kB / 3.342 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/8.671, allocations: 0.6555 MB / 3.343 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008046/8.672, allocations: 0.9332 MB / 3.344 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006116/8.673, allocations: 89.27 kB / 3.344 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/8.673, allocations: 30.81 kB / 3.344 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of SimCode: time 6.11e-07/8.673, allocations: 3.938 kB / 3.344 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.02769/8.7, allocations: 14.58 MB / 3.358 GB, free: 227.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches