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/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.0008499/0.0008499, allocations: 88.23 kB / 19.64 MB, free: 308 kB / 13.93 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.0009312/0.0009312, allocations: 168.9 kB / 23.02 MB, free: 1.57 MB / 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.9532/0.9532, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.196/2.196, allocations: 429.5 MB / 0.6732 GB, free: 4.062 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.109e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1472/0.1473, allocations: 148.3 MB / 1.023 GB, free: 1.508 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.004361/0.1516, allocations: 3.436 MB / 1.026 GB, free: 14.06 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004083/0.152, allocations: 27.81 kB / 1.026 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006662/0.1527, allocations: 178.7 kB / 1.027 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00139/0.1541, allocations: 0.7962 MB / 1.027 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.1553, allocations: 0.7049 MB / 1.028 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.1566, allocations: 1.313 MB / 1.029 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005421/0.1572, allocations: 404.1 kB / 1.03 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.1582, allocations: 0.6973 MB / 1.03 GB, free: 9.934 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.1593, allocations: 429.5 kB / 1.031 GB, free: 9.527 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.1594, allocations: 56 kB / 1.031 GB, free: 9.473 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.1607, allocations: 0.6584 MB / 1.031 GB, free: 8.812 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.161, allocations: 239.3 kB / 1.032 GB, free: 8.578 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002751/0.1613, allocations: 231.5 kB / 1.032 GB, free: 8.352 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.1626, allocations: 0.8801 MB / 1.033 GB, free: 7.469 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1626, allocations: 0 / 1.033 GB, free: 7.469 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1626, allocations: 0 / 1.033 GB, free: 7.469 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.1626, allocations: 0 / 1.033 GB, free: 7.469 MB / 0.9948 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.00117/0.1638, allocations: 0.9894 MB / 1.034 GB, free: 6.441 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1638, allocations: 15.97 kB / 1.034 GB, free: 6.426 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007586/0.1646, allocations: 272.1 kB / 1.034 GB, free: 6.16 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/0.1651, allocations: 446.1 kB / 1.034 GB, free: 5.703 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.1652, allocations: 33.12 kB / 1.034 GB, free: 5.672 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.288e-05/0.1652, allocations: 47.94 kB / 1.035 GB, free: 5.625 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006646/0.1659, allocations: 0.7379 MB / 1.035 GB, free: 4.781 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1659, allocations: 0 / 1.035 GB, free: 4.781 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.1659, allocations: 20 kB / 1.035 GB, free: 4.762 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/0.1659, allocations: 32.91 kB / 1.035 GB, free: 4.727 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.1663, allocations: 201.8 kB / 1.035 GB, free: 4.531 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.1681, allocations: 1.833 MB / 1.037 GB, free: 2.625 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.1683, allocations: 111 kB / 1.037 GB, free: 2.504 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.354e-05/0.1684, allocations: 39.67 kB / 1.037 GB, free: 2.461 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.1684, allocations: 7.984 kB / 1.037 GB, free: 2.453 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.1684, allocations: 37.39 kB / 1.037 GB, free: 2.406 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.1684, allocations: 4 kB / 1.037 GB, free: 2.402 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.001476/0.1699, allocations: 0.4928 MB / 1.038 GB, free: 1.898 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.17, allocations: 85.05 kB / 1.038 GB, free: 1.797 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.1703, allocations: 430.6 kB / 1.038 GB, free: 1.363 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.1703, allocations: 33.7 kB / 1.038 GB, free: 1.324 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.1704, allocations: 366.4 kB / 1.039 GB, free: 0.9609 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.1705, allocations: 39.7 kB / 1.039 GB, free: 0.9219 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.748e-05/0.1705, allocations: 67.3 kB / 1.039 GB, free: 0.8477 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1707, allocations: 0.5235 MB / 1.039 GB, free: 320 kB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.763e-05/0.1708, allocations: 39.98 kB / 1.039 GB, free: 280 kB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.1709, allocations: 175.7 kB / 1.04 GB, free: 52 kB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.1711, allocations: 182.8 kB / 1.04 GB, free: 15.83 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1711, allocations: 0 / 1.04 GB, free: 15.83 MB / 1.01 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007089/0.1718, allocations: 368.7 kB / 1.04 GB, free: 15.46 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1718, allocations: 8 kB / 1.04 GB, free: 15.45 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1719, allocations: 0 / 1.04 GB, free: 15.45 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000715/0.1726, allocations: 251.4 kB / 1.04 GB, free: 15.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.1727, allocations: 59.89 kB / 1.04 GB, free: 15.14 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.1742, allocations: 2.052 MB / 1.042 GB, free: 12.97 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.1744, allocations: 51.73 kB / 1.043 GB, free: 12.92 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.1745, allocations: 15.98 kB / 1.043 GB, free: 12.9 MB / 1.01 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.1746, allocations: 168.5 kB / 1.043 GB, free: 12.73 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.99e-05/0.1746, allocations: 43.77 kB / 1.043 GB, free: 12.68 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.1747, allocations: 39.28 kB / 1.043 GB, free: 12.64 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.1747, allocations: 0 / 1.043 GB, free: 12.64 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1747, allocations: 0 / 1.043 GB, free: 12.64 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1747, allocations: 3.984 kB / 1.043 GB, free: 12.64 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009319/0.1756, allocations: 0.7148 MB / 1.043 GB, free: 11.87 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.1756, allocations: 4 kB / 1.043 GB, free: 11.87 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.621e-05/0.1757, allocations: 23.97 kB / 1.044 GB, free: 11.84 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006679/0.1764, allocations: 251.4 kB / 1.044 GB, free: 11.59 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.1764, allocations: 4 kB / 1.044 GB, free: 11.59 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.1776, allocations: 1.998 MB / 1.046 GB, free: 9.465 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1776, allocations: 4.125 kB / 1.046 GB, free: 9.461 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006329/0.1782, allocations: 434.4 kB / 1.046 GB, free: 9.004 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1783, allocations: 75.7 kB / 1.046 GB, free: 8.93 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.1784, allocations: 4 kB / 1.046 GB, free: 8.926 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.1786, allocations: 41.98 kB / 1.046 GB, free: 8.887 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.1786, allocations: 7.984 kB / 1.046 GB, free: 8.879 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.1786, allocations: 15.98 kB / 1.046 GB, free: 8.863 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001748/0.1788, allocations: 283 kB / 1.047 GB, free: 8.586 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.1788, allocations: 0 / 1.047 GB, free: 8.586 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000371/0.1792, allocations: 191.6 kB / 1.047 GB, free: 8.398 MB / 1.01 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002362/0.1794, allocations: 159 kB / 1.047 GB, free: 8.23 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004663/0.1799, allocations: 341.8 kB / 1.047 GB, free: 7.875 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1799, allocations: 3.938 kB / 1.047 GB, free: 7.871 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.1801, allocations: 241.4 kB / 1.047 GB, free: 7.613 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.1806, allocations: 209.2 kB / 1.048 GB, free: 7.414 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.1822, allocations: 0.8784 MB / 1.048 GB, free: 6.492 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.347e-05/0.1823, allocations: 125.2 kB / 1.049 GB, free: 6.348 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001678/0.1824, allocations: 71.23 kB / 1.049 GB, free: 6.277 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.25e-05/0.1825, allocations: 32.5 kB / 1.049 GB, free: 6.246 MB / 1.01 GB Notification: Performance of SimCode: time 9.62e-07/0.1825, allocations: 8 kB / 1.049 GB, free: 6.238 MB / 1.01 GB Notification: Performance of Templates: time 0.4211/0.6036, allocations: 9.573 MB / 1.058 GB, free: 77.02 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.493279232177883]