Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009827/0.0009827, allocations: 76.81 kB / 20.75 MB, free: 3.734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009547/0.0009547, allocations: 161 kB / 24.17 MB, free: 324 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9314/0.9314, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.815/1.815, allocations: 377.9 MB / 0.624 GB, free: 8.32 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.[0-9,]+..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.[0-9,]+..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.285e-05, allocations: 2.312 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1391/0.1391, allocations: 147.7 MB / 0.9042 GB, free: 2.621 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003935/0.1431, allocations: 3.48 MB / 0.9076 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002661/0.1434, allocations: 31.75 kB / 0.9076 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004413/0.1438, allocations: 182.7 kB / 0.9078 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.1448, allocations: 0.8002 MB / 0.9086 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009135/0.1457, allocations: 0.7032 MB / 0.9093 GB, free: 13.42 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0009393/0.1467, allocations: 1.301 MB / 0.9105 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003552/0.147, allocations: 396.7 kB / 0.9109 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009707/0.148, allocations: 0.7865 MB / 0.9117 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005014/0.1485, allocations: 394.8 kB / 0.9121 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.1487, allocations: 52 kB / 0.9121 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008646/0.1495, allocations: 0.5728 MB / 0.9127 GB, free: 9.934 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.1497, allocations: 231.3 kB / 0.9129 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.15, allocations: 231.5 kB / 0.9131 GB, free: 9.48 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.151, allocations: 0.8528 MB / 0.9139 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.151, allocations: 4 kB / 0.9139 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.151, allocations: 0 / 0.9139 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.1511, allocations: 0 / 0.9139 GB, free: 8.621 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001081/0.1521, allocations: 0.83 MB / 0.9148 GB, free: 7.762 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.1522, allocations: 8.031 kB / 0.9148 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007145/0.1529, allocations: 264.4 kB / 0.915 GB, free: 7.496 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.1533, allocations: 363.6 kB / 0.9154 GB, free: 7.121 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.1534, allocations: 37.12 kB / 0.9154 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/0.1534, allocations: 44 kB / 0.9154 GB, free: 7.039 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005729/0.154, allocations: 0.6754 MB / 0.9161 GB, free: 6.266 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.154, allocations: 0 / 0.9161 GB, free: 6.266 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.154, allocations: 24 kB / 0.9161 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/0.1541, allocations: 24.98 kB / 0.9161 GB, free: 6.219 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/0.1543, allocations: 156.5 kB / 0.9163 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.156, allocations: 1.317 MB / 0.9176 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.1562, allocations: 141.1 kB / 0.9177 GB, free: 4.547 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.1562, allocations: 28.86 kB / 0.9177 GB, free: 4.516 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1563, allocations: 3.984 kB / 0.9177 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.1563, allocations: 38.56 kB / 0.9178 GB, free: 4.465 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.1563, allocations: 0 / 0.9178 GB, free: 4.465 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.001265/0.1576, allocations: 424.7 kB / 0.9182 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.1576, allocations: 77.11 kB / 0.9183 GB, free: 3.945 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.1578, allocations: 355.2 kB / 0.9186 GB, free: 3.586 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.1578, allocations: 25.7 kB / 0.9186 GB, free: 3.555 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.158, allocations: 280.6 kB / 0.9189 GB, free: 3.273 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.158, allocations: 47.61 kB / 0.9189 GB, free: 3.227 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.571e-05/0.1581, allocations: 57.81 kB / 0.919 GB, free: 3.164 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.07e-05/0.1581, allocations: 350.7 kB / 0.9193 GB, free: 2.812 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/0.1582, allocations: 38.75 kB / 0.9194 GB, free: 2.773 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-05/0.1583, allocations: 131.1 kB / 0.9195 GB, free: 2.605 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.1585, allocations: 152.5 kB / 0.9196 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1585, allocations: 0 / 0.9196 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005503/0.159, allocations: 287.7 kB / 0.9199 GB, free: 2.133 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.159, allocations: 4.188 kB / 0.9199 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.159, allocations: 8 kB / 0.9199 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006264/0.1597, allocations: 239.3 kB / 0.9201 GB, free: 1.883 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.1598, allocations: 55.97 kB / 0.9202 GB, free: 1.828 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.1609, allocations: 1.418 MB / 0.9216 GB, free: 320 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.1611, allocations: 51.78 kB / 0.9216 GB, free: 268 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.1612, allocations: 8 kB / 0.9216 GB, free: 260 kB / 0.8698 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.1613, allocations: 128.6 kB / 0.9218 GB, free: 120 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.1613, allocations: 35.89 kB / 0.9218 GB, free: 84 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.505e-05/0.1614, allocations: 39.28 kB / 0.9218 GB, free: 48 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1614, allocations: 8 kB / 0.9218 GB, free: 40 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1614, allocations: 0 / 0.9218 GB, free: 40 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1614, allocations: 0 / 0.9218 GB, free: 40 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007948/0.1622, allocations: 0.5308 MB / 0.9224 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1622, allocations: 0 / 0.9224 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-05/0.1623, allocations: 24.05 kB / 0.9224 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005804/0.1628, allocations: 242.2 kB / 0.9226 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.1629, allocations: 4 kB / 0.9226 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.1639, allocations: 1.402 MB / 0.924 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1639, allocations: 0 / 0.924 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/0.1644, allocations: 382.1 kB / 0.9244 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.739e-05/0.1645, allocations: 59.69 kB / 0.9244 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.1646, allocations: 0 / 0.9244 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.1647, allocations: 23.97 kB / 0.9244 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.1648, allocations: 15.98 kB / 0.9244 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.1648, allocations: 11.98 kB / 0.9245 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001116/0.1649, allocations: 144.6 kB / 0.9246 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4e-08/0.1649, allocations: 4 kB / 0.9246 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004364/0.1654, allocations: 195.6 kB / 0.9248 GB, free: 12.86 MB / 0.8855 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002117/0.1656, allocations: 128.4 kB / 0.9249 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003642/0.1659, allocations: 249.8 kB / 0.9251 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/0.166, allocations: 11.94 kB / 0.9252 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.1661, allocations: 179.3 kB / 0.9253 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.1666, allocations: 212.9 kB / 0.9255 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.1682, allocations: 0.9001 MB / 0.9264 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.05e-05/0.1682, allocations: 125.2 kB / 0.9265 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001938/0.1684, allocations: 67.25 kB / 0.9266 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000369/0.1688, allocations: 219 kB / 0.9268 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of SimCode: time 1.112e-06/0.1688, allocations: 0 / 0.9268 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of Templates: time 0.01206/0.1809, allocations: 10.15 MB / 0.9367 GB, free: 0.7812 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.329479516018182]