Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.MixingVolumePrescribedHeatFlowRate,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.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,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.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.444/2.444, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001258/0.001258, allocations: 175.2 kB / 498.1 MB, free: 5.758 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.884/1.884, allocations: 223.2 MB / 0.7948 GB, free: 17.99 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.0012/0.0012, allocations: 110.5 kB / 0.9346 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000411/0.0004109, allocations: 14.34 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.365, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.561/4.926, allocations: 1.982 GB / 3.204 GB, free: 8.934 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/4.926, allocations: 89.33 kB / 3.205 GB, free: 8.887 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.42/6.346, allocations: 399.8 MB / 3.595 GB, free: 63.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.696e-06/6.346, allocations: 0 / 3.595 GB, free: 63.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.764e-05/6.346, allocations: 15.98 kB / 3.595 GB, free: 63.49 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.003282/6.349, allocations: 0.9438 MB / 3.596 GB, free: 62.49 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/6.349, allocations: 12.03 kB / 3.596 GB, free: 62.48 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/6.351, allocations: 263.1 kB / 3.596 GB, free: 62.22 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/6.353, allocations: 493.7 kB / 3.597 GB, free: 61.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003213/6.353, allocations: 92.94 kB / 3.597 GB, free: 61.61 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/6.353, allocations: 40 kB / 3.597 GB, free: 61.57 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/6.355, allocations: 0.6397 MB / 3.597 GB, free: 60.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/6.355, allocations: 0 / 3.597 GB, free: 60.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/6.355, allocations: 20 kB / 3.597 GB, free: 60.88 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.94e-05/6.355, allocations: 17 kB / 3.597 GB, free: 60.87 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/6.357, allocations: 0.5737 MB / 3.598 GB, free: 60.29 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004798/6.362, allocations: 2.169 MB / 3.6 GB, free: 58.01 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008187/6.363, allocations: 282.4 kB / 3.6 GB, free: 57.72 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.557e-05/6.363, allocations: 4 kB / 3.6 GB, free: 57.72 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/6.363, allocations: 38.56 kB / 3.6 GB, free: 57.67 MB / 1.167 GB Notification: Performance of pre-optimization done (n=11): time 3.437e-06/6.363, allocations: 0 / 3.6 GB, free: 57.67 MB / 1.167 GB Notification: Performance of matching and sorting (n=11): time 0.005019/6.368, allocations: 1.127 MB / 3.602 GB, free: 56.52 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/6.368, allocations: 81.06 kB / 3.602 GB, free: 56.42 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008919/6.369, allocations: 0.494 MB / 3.602 GB, free: 55.92 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.661e-05/6.369, allocations: 29.64 kB / 3.602 GB, free: 55.88 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/6.369, allocations: 299.5 kB / 3.602 GB, free: 55.59 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.822e-05/6.369, allocations: 43.45 kB / 3.602 GB, free: 55.54 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/6.369, allocations: 4 kB / 3.602 GB, free: 55.54 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001375/6.369, allocations: 354.8 kB / 3.603 GB, free: 55.18 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005133/6.37, allocations: 187.9 kB / 3.603 GB, free: 55 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005482/6.37, allocations: 282.5 kB / 3.603 GB, free: 54.69 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005528/6.371, allocations: 204.8 kB / 3.603 GB, free: 54.49 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/6.371, allocations: 4 kB / 3.603 GB, free: 54.49 MB / 1.167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002467/6.373, allocations: 0.7482 MB / 3.604 GB, free: 53.73 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/6.374, allocations: 4 kB / 3.604 GB, free: 53.73 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/6.374, allocations: 4 kB / 3.604 GB, free: 53.73 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006057/6.374, allocations: 172.8 kB / 3.604 GB, free: 53.55 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/6.375, allocations: 75.88 kB / 3.604 GB, free: 53.48 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003744/6.378, allocations: 2.143 MB / 3.606 GB, free: 51.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007901/6.379, allocations: 87.48 kB / 3.607 GB, free: 51.12 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/6.379, allocations: 15.98 kB / 3.607 GB, free: 51.1 MB / 1.167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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 prepare postOptimizeDAE: time 0.0003934/6.38, allocations: 197.5 kB / 3.607 GB, free: 50.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/6.38, allocations: 51.34 kB / 3.607 GB, free: 50.85 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/6.38, allocations: 56.03 kB / 3.607 GB, free: 50.79 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/6.38, allocations: 0 / 3.607 GB, free: 50.79 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/6.38, allocations: 0 / 3.607 GB, free: 50.79 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/6.38, allocations: 0 / 3.607 GB, free: 50.79 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/6.383, allocations: 1.129 MB / 3.608 GB, free: 49.59 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/6.383, allocations: 64 / 3.608 GB, free: 49.59 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/6.383, allocations: 51.89 kB / 3.608 GB, free: 49.54 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000442/6.383, allocations: 176.7 kB / 3.608 GB, free: 49.37 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/6.383, allocations: 4 kB / 3.608 GB, free: 49.36 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002799/6.386, allocations: 2.022 MB / 3.61 GB, free: 47.21 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/6.386, allocations: 3.984 kB / 3.61 GB, free: 47.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/6.389, allocations: 0.7431 MB / 3.611 GB, free: 46.42 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004205/6.389, allocations: 164.4 kB / 3.611 GB, free: 46.24 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.353e-05/6.389, allocations: 0 / 3.611 GB, free: 46.24 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005863/6.39, allocations: 67.89 kB / 3.611 GB, free: 46.18 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/6.39, allocations: 11.98 kB / 3.611 GB, free: 46.16 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/6.39, allocations: 15.98 kB / 3.611 GB, free: 46.15 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005173/6.39, allocations: 394.8 kB / 3.612 GB, free: 45.77 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/6.39, allocations: 3.938 kB / 3.612 GB, free: 45.76 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001237/6.392, allocations: 267.7 kB / 3.612 GB, free: 45.5 MB / 1.167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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.001455/6.393, allocations: 1.005 MB / 3.613 GB, free: 44.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001827/6.395, allocations: 0.6085 MB / 3.613 GB, free: 43.88 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/6.395, allocations: 4 kB / 3.613 GB, free: 43.88 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005714/6.396, allocations: 302.9 kB / 3.614 GB, free: 43.57 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/6.397, allocations: 302.6 kB / 3.614 GB, free: 43.28 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/6.4, allocations: 1.249 MB / 3.615 GB, free: 41.99 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/6.4, allocations: 0.874 MB / 3.616 GB, free: 41.09 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0004598/6.401, allocations: 100.7 kB / 3.616 GB, free: 40.99 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.106e-05/6.401, allocations: 39.38 kB / 3.616 GB, free: 40.95 MB / 1.167 GB Notification: Performance of SimCode: time 9.52e-07/6.401, allocations: 3.938 kB / 3.616 GB, free: 40.95 MB / 1.167 GB Notification: Performance of Templates: time 0.03006/6.431, allocations: 23.15 MB / 3.639 GB, free: 17.94 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches