Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.MixingVolumePrescribedHeatFlowRate,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.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_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.505/2.505, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001293/0.001292, allocations: 179.2 kB / 0.4902 GB, free: 2.234 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.767/1.767, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.001007/0.001007, allocations: 92.08 kB / 0.9396 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.000361, allocations: 7.094 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3221, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.842/5.164, allocations: 1.982 GB / 3.212 GB, free: 338.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/5.164, allocations: 86.69 kB / 3.212 GB, free: 338.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.7281/5.892, allocations: 399.8 MB / 3.602 GB, free: 23.08 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.916e-06/5.893, allocations: 0 / 3.602 GB, free: 23.08 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.45e-05/5.893, allocations: 15.94 kB / 3.602 GB, free: 23.07 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.001873/5.894, allocations: 0.939 MB / 3.603 GB, free: 22.07 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/5.895, allocations: 12.5 kB / 3.603 GB, free: 22.06 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/5.896, allocations: 271 kB / 3.603 GB, free: 21.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008762/5.897, allocations: 489.7 kB / 3.604 GB, free: 21.28 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/5.897, allocations: 92.94 kB / 3.604 GB, free: 21.19 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/5.897, allocations: 44 kB / 3.604 GB, free: 21.14 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/5.898, allocations: 0.6358 MB / 3.605 GB, free: 20.48 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/5.898, allocations: 7.938 kB / 3.605 GB, free: 20.47 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.506e-05/5.899, allocations: 16 kB / 3.605 GB, free: 20.45 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/5.899, allocations: 21 kB / 3.605 GB, free: 20.43 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/5.9, allocations: 0.5699 MB / 3.605 GB, free: 19.86 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.003247/5.903, allocations: 2.156 MB / 3.607 GB, free: 17.59 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007707/5.904, allocations: 282.4 kB / 3.607 GB, free: 17.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/5.904, allocations: 224 / 3.607 GB, free: 17.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/5.904, allocations: 46.5 kB / 3.608 GB, free: 17.25 MB / 1.167 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/5.904, allocations: 0 / 3.608 GB, free: 17.25 MB / 1.167 GB Notification: Performance of matching and sorting (n=11): time 0.004933/5.909, allocations: 1.127 MB / 3.609 GB, free: 16.09 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/5.909, allocations: 81.11 kB / 3.609 GB, free: 16 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005281/5.909, allocations: 490 kB / 3.609 GB, free: 15.51 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/5.91, allocations: 37.69 kB / 3.609 GB, free: 15.46 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/5.91, allocations: 307.3 kB / 3.61 GB, free: 15.16 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/5.91, allocations: 43.48 kB / 3.61 GB, free: 15.12 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.739e-05/5.91, allocations: 4 kB / 3.61 GB, free: 15.11 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.805e-05/5.91, allocations: 354.8 kB / 3.61 GB, free: 14.76 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/5.91, allocations: 187.9 kB / 3.61 GB, free: 14.57 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004879/5.911, allocations: 285.8 kB / 3.61 GB, free: 14.26 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004631/5.911, allocations: 204.8 kB / 3.611 GB, free: 14.06 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/5.911, allocations: 0 / 3.611 GB, free: 14.06 MB / 1.167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002314/5.914, allocations: 0.7439 MB / 3.611 GB, free: 13.31 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/5.914, allocations: 4 kB / 3.611 GB, free: 13.31 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/5.914, allocations: 7.984 kB / 3.611 GB, free: 13.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005634/5.914, allocations: 160.8 kB / 3.611 GB, free: 13.14 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/5.915, allocations: 79.88 kB / 3.612 GB, free: 13.06 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003614/5.918, allocations: 2.161 MB / 3.614 GB, free: 10.77 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007428/5.919, allocations: 91.48 kB / 3.614 GB, free: 10.68 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/5.919, allocations: 15.98 kB / 3.614 GB, free: 10.66 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.0003485/5.919, allocations: 193.7 kB / 3.614 GB, free: 10.46 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.073e-05/5.92, allocations: 47.44 kB / 3.614 GB, free: 10.42 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.746e-05/5.92, allocations: 52.03 kB / 3.614 GB, free: 10.36 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/5.92, allocations: 7.953 kB / 3.614 GB, free: 10.36 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/5.92, allocations: 0 / 3.614 GB, free: 10.36 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/5.92, allocations: 0 / 3.614 GB, free: 10.36 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/5.922, allocations: 1.125 MB / 3.615 GB, free: 9.164 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/5.922, allocations: 0 / 3.615 GB, free: 9.164 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/5.923, allocations: 48.02 kB / 3.615 GB, free: 9.117 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004332/5.923, allocations: 168.7 kB / 3.615 GB, free: 8.949 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/5.923, allocations: 4 kB / 3.615 GB, free: 8.945 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002771/5.926, allocations: 2.022 MB / 3.617 GB, free: 6.789 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/5.926, allocations: 11.88 kB / 3.617 GB, free: 6.777 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/5.928, allocations: 0.7426 MB / 3.618 GB, free: 5.996 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/5.928, allocations: 164.5 kB / 3.618 GB, free: 5.816 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.154e-05/5.928, allocations: 0 / 3.618 GB, free: 5.816 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005666/5.929, allocations: 63.94 kB / 3.618 GB, free: 5.754 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/5.929, allocations: 11.98 kB / 3.618 GB, free: 5.742 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/5.929, allocations: 11.98 kB / 3.618 GB, free: 5.73 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004302/5.929, allocations: 394.8 kB / 3.619 GB, free: 5.348 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/5.929, allocations: 4 kB / 3.619 GB, free: 5.344 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001049/5.931, allocations: 267.7 kB / 3.619 GB, free: 5.082 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.001356/5.932, allocations: 1.01 MB / 3.62 GB, free: 4.086 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001777/5.934, allocations: 0.6193 MB / 3.62 GB, free: 3.453 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/5.934, allocations: 0 / 3.62 GB, free: 3.453 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005477/5.934, allocations: 299 kB / 3.621 GB, free: 3.148 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/5.936, allocations: 292.5 kB / 3.621 GB, free: 2.867 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/5.938, allocations: 1.249 MB / 3.622 GB, free: 1.582 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/5.939, allocations: 0.8779 MB / 3.623 GB, free: 0.6758 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0004429/5.939, allocations: 96.53 kB / 3.623 GB, free: 0.5781 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.613e-05/5.939, allocations: 35.62 kB / 3.623 GB, free: 0.543 MB / 1.167 GB Notification: Performance of SimCode: time 3.81e-07/5.939, allocations: 0 / 3.623 GB, free: 0.543 MB / 1.167 GB Notification: Performance of Templates: time 0.686/6.625, allocations: 23.17 MB / 3.646 GB, free: 340.1 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches