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.028/2.028, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001034/0.001034, allocations: 184.8 kB / 487.4 MB, free: 5.055 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.326/1.326, allocations: 221.5 MB / 0.7824 GB, free: 1.023 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.0009544/0.0009544, allocations: 110 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.422e-05/1.424e-05, allocations: 3.984 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2179, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.574/4.792, allocations: 1.981 GB / 3.187 GB, free: 314 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/4.792, allocations: 85.45 kB / 3.187 GB, free: 313.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.366/6.158, allocations: 394.9 MB / 3.573 GB, free: 330.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 9.12e-07/6.158, allocations: 0 / 3.573 GB, free: 330.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.241e-05/6.158, allocations: 22.62 kB / 3.573 GB, free: 330.7 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001837/6.16, allocations: 0.8668 MB / 3.573 GB, free: 330.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/6.16, allocations: 11.41 kB / 3.573 GB, free: 330.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/6.162, allocations: 268.8 kB / 3.574 GB, free: 330.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009117/6.163, allocations: 480.5 kB / 3.574 GB, free: 330 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003101/6.163, allocations: 85.84 kB / 3.574 GB, free: 330 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.08e-05/6.163, allocations: 24.69 kB / 3.574 GB, free: 330 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006493/6.164, allocations: 386.2 kB / 3.575 GB, free: 330 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007211/6.164, allocations: 498.5 kB / 3.575 GB, free: 329.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/6.164, allocations: 3.938 kB / 3.575 GB, free: 329.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-05/6.164, allocations: 3.984 kB / 3.575 GB, free: 329.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/6.164, allocations: 19.86 kB / 3.575 GB, free: 329.8 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.003042/6.168, allocations: 2.03 MB / 3.577 GB, free: 329 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/6.168, allocations: 149.8 kB / 3.577 GB, free: 328.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/6.168, allocations: 86.41 kB / 3.577 GB, free: 328.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/6.168, allocations: 0 / 3.577 GB, free: 328.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/6.168, allocations: 40.09 kB / 3.577 GB, free: 328.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/6.168, allocations: 0 / 3.577 GB, free: 328.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.001558/6.169, allocations: 430.4 kB / 3.578 GB, free: 328.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/6.17, allocations: 80.55 kB / 3.578 GB, free: 328.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/6.17, allocations: 351.2 kB / 3.578 GB, free: 328.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/6.17, allocations: 25.7 kB / 3.578 GB, free: 328.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/6.17, allocations: 312.6 kB / 3.579 GB, free: 328.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/6.17, allocations: 36.64 kB / 3.579 GB, free: 328.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.819e-05/6.17, allocations: 0 / 3.579 GB, free: 328.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.223e-05/6.17, allocations: 352.9 kB / 3.579 GB, free: 328.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/6.17, allocations: 103.7 kB / 3.579 GB, free: 328.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/6.17, allocations: 176.4 kB / 3.579 GB, free: 328 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/6.171, allocations: 127.9 kB / 3.579 GB, free: 328 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/6.171, allocations: 6.031 kB / 3.579 GB, free: 328 MB / 1.151 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001486/6.172, allocations: 0.5374 MB / 3.58 GB, free: 327.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/6.172, allocations: 11.48 kB / 3.58 GB, free: 327.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/6.172, allocations: 0 / 3.58 GB, free: 327.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003534/6.173, allocations: 137.5 kB / 3.58 GB, free: 327.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/6.173, allocations: 74.23 kB / 3.58 GB, free: 327.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/6.175, allocations: 1.74 MB / 3.582 GB, free: 326.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000501/6.175, allocations: 71.36 kB / 3.582 GB, free: 326.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/6.175, allocations: 19.11 kB / 3.582 GB, free: 326.7 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaFlo.Q_flow:VARIABLE(unit = "W" ) "Heat flow from port_a to port_b as output signal" type: Real 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 (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.0001283/6.176, allocations: 107.3 kB / 3.582 GB, free: 326.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.321e-05/6.176, allocations: 45.7 kB / 3.582 GB, free: 326.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.803e-05/6.176, allocations: 42.69 kB / 3.582 GB, free: 326.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/6.176, allocations: 0 / 3.582 GB, free: 326.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/6.176, allocations: 0 / 3.582 GB, free: 326.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/6.176, allocations: 0 / 3.582 GB, free: 326.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/6.177, allocations: 0.8936 MB / 3.583 GB, free: 326.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/6.178, allocations: 96 / 3.583 GB, free: 326.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/6.178, allocations: 53.3 kB / 3.583 GB, free: 326.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002586/6.178, allocations: 124.2 kB / 3.583 GB, free: 326.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/6.178, allocations: 3.891 kB / 3.583 GB, free: 326.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/6.18, allocations: 1.739 MB / 3.585 GB, free: 325.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/6.18, allocations: 3.953 kB / 3.585 GB, free: 325.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/6.181, allocations: 0.5462 MB / 3.585 GB, free: 324.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/6.181, allocations: 150.1 kB / 3.585 GB, free: 324.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/6.181, allocations: 7 kB / 3.585 GB, free: 324.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004999/6.182, allocations: 58.75 kB / 3.586 GB, free: 324.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/6.182, allocations: 17.84 kB / 3.586 GB, free: 324.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/6.182, allocations: 17.7 kB / 3.586 GB, free: 324.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002137/6.182, allocations: 266.5 kB / 3.586 GB, free: 324.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/6.182, allocations: 0 / 3.586 GB, free: 324.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008589/6.183, allocations: 266 kB / 3.586 GB, free: 324.6 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 (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.001463/6.185, allocations: 1.145 MB / 3.587 GB, free: 324.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005117/6.185, allocations: 345.7 kB / 3.588 GB, free: 324.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/6.185, allocations: 0 / 3.588 GB, free: 324.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000222/6.185, allocations: 211.8 kB / 3.588 GB, free: 324.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008651/6.186, allocations: 185.4 kB / 3.588 GB, free: 324.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/6.188, allocations: 0.6726 MB / 3.589 GB, free: 324 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/6.189, allocations: 0.8817 MB / 3.589 GB, free: 323.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003655/6.189, allocations: 74.45 kB / 3.589 GB, free: 323.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.261e-05/6.189, allocations: 25.94 kB / 3.59 GB, free: 323.2 MB / 1.151 GB Notification: Performance of SimCode: time 8.92e-07/6.189, allocations: 0 / 3.59 GB, free: 323.2 MB / 1.151 GB Notification: Performance of Templates: time 0.01931/6.208, allocations: 13.82 MB / 3.603 GB, free: 322.4 MB / 1.151 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