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.000941/0.000941, allocations: 92.22 kB / 19.65 MB, free: 276 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.00104/0.00104, allocations: 173 kB / 23.02 MB, free: 1.547 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.9042/0.9042, allocations: 177.1 MB / 203.4 MB, free: 5.625 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 1.966/1.966, allocations: 429.5 MB / 0.6733 GB, free: 4.031 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.332e-06/1.332e-06, allocations: 0 / 0.8781 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.314e-05, allocations: 2.859 kB / 0.8781 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.143/0.143, allocations: 148.3 MB / 1.023 GB, free: 1.477 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.004835/0.1479, allocations: 3.434 MB / 1.026 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005758/0.1484, allocations: 27.75 kB / 1.026 GB, free: 14.01 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006412/0.1491, allocations: 182.6 kB / 1.027 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.1506, allocations: 0.7963 MB / 1.027 GB, free: 13.03 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.1519, allocations: 0.7011 MB / 1.028 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001415/0.1533, allocations: 1.313 MB / 1.029 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005673/0.1539, allocations: 404 kB / 1.03 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.1555, allocations: 0.8046 MB / 1.03 GB, free: 9.816 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000543/0.1561, allocations: 410.8 kB / 1.031 GB, free: 9.414 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.131e-05/0.1561, allocations: 52 kB / 1.031 GB, free: 9.363 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008266/0.157, allocations: 0.5651 MB / 1.031 GB, free: 8.797 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.1571, allocations: 235.3 kB / 1.032 GB, free: 8.566 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.1573, allocations: 235.5 kB / 1.032 GB, free: 8.336 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.1584, allocations: 0.8528 MB / 1.033 GB, free: 7.48 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1584, allocations: 0 / 1.033 GB, free: 7.48 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.883e-06/0.1584, allocations: 0 / 1.033 GB, free: 7.48 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.1584, allocations: 4 kB / 1.033 GB, free: 7.477 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.001265/0.1597, allocations: 0.9662 MB / 1.034 GB, free: 6.473 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1597, allocations: 12.03 kB / 1.034 GB, free: 6.461 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000809/0.1605, allocations: 276 kB / 1.034 GB, free: 6.191 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004862/0.161, allocations: 425.1 kB / 1.034 GB, free: 5.754 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.161, allocations: 37.12 kB / 1.034 GB, free: 5.719 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.696e-05/0.1611, allocations: 43.98 kB / 1.034 GB, free: 5.676 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007232/0.1618, allocations: 0.7166 MB / 1.035 GB, free: 4.859 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1618, allocations: 4 kB / 1.035 GB, free: 4.855 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.205e-05/0.1619, allocations: 20 kB / 1.035 GB, free: 4.836 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.938e-05/0.1619, allocations: 21 kB / 1.035 GB, free: 4.816 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.1622, allocations: 205.7 kB / 1.035 GB, free: 4.613 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/0.1643, allocations: 1.833 MB / 1.037 GB, free: 2.711 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.1646, allocations: 115 kB / 1.037 GB, free: 2.586 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.533e-05/0.1647, allocations: 39.67 kB / 1.037 GB, free: 2.543 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1647, allocations: 4 kB / 1.037 GB, free: 2.539 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.1647, allocations: 37.39 kB / 1.037 GB, free: 2.492 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=11): time 3.898e-06/0.1648, allocations: 4 kB / 1.037 GB, free: 2.488 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.001641/0.1664, allocations: 0.4928 MB / 1.038 GB, free: 1.984 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.1665, allocations: 81.11 kB / 1.038 GB, free: 1.887 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.1668, allocations: 438.4 kB / 1.038 GB, free: 1.441 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.1668, allocations: 29.7 kB / 1.038 GB, free: 1.406 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.167, allocations: 362.4 kB / 1.039 GB, free: 1.047 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.167, allocations: 47.62 kB / 1.039 GB, free: 1 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.1672, allocations: 63.31 kB / 1.039 GB, free: 0.9297 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1673, allocations: 0.5235 MB / 1.039 GB, free: 404 kB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.603e-05/0.1674, allocations: 43.97 kB / 1.039 GB, free: 360 kB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.1676, allocations: 171.7 kB / 1.04 GB, free: 136 kB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.1678, allocations: 182.9 kB / 1.04 GB, free: 15.91 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1678, allocations: 0 / 1.04 GB, free: 15.91 MB / 1.01 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00075/0.1686, allocations: 360.8 kB / 1.04 GB, free: 15.55 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.1686, allocations: 19.92 kB / 1.04 GB, free: 15.53 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1686, allocations: 0 / 1.04 GB, free: 15.53 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007363/0.1693, allocations: 239.4 kB / 1.04 GB, free: 15.29 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.1695, allocations: 67.89 kB / 1.04 GB, free: 15.23 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.1713, allocations: 2.051 MB / 1.042 GB, free: 13.06 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.1715, allocations: 47.75 kB / 1.042 GB, free: 13.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.1715, allocations: 16.03 kB / 1.042 GB, free: 13 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.0001373/0.1717, allocations: 172.5 kB / 1.043 GB, free: 12.82 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.916e-05/0.1718, allocations: 43.77 kB / 1.043 GB, free: 12.78 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.767e-05/0.1718, allocations: 39.27 kB / 1.043 GB, free: 12.74 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1718, allocations: 0 / 1.043 GB, free: 12.74 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.1718, allocations: 0 / 1.043 GB, free: 12.74 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1718, allocations: 0 / 1.043 GB, free: 12.74 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.173, allocations: 0.7264 MB / 1.043 GB, free: 11.96 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.173, allocations: 4 kB / 1.043 GB, free: 11.95 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.157e-05/0.1731, allocations: 23.97 kB / 1.043 GB, free: 11.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006042/0.1737, allocations: 243.5 kB / 1.044 GB, free: 11.69 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.1737, allocations: 11.94 kB / 1.044 GB, free: 11.68 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.1751, allocations: 1.99 MB / 1.046 GB, free: 9.555 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1751, allocations: 3.938 kB / 1.046 GB, free: 9.551 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006663/0.1758, allocations: 438.4 kB / 1.046 GB, free: 9.09 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.1759, allocations: 71.7 kB / 1.046 GB, free: 9.02 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.1759, allocations: 4 kB / 1.046 GB, free: 9.016 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.1761, allocations: 35.95 kB / 1.046 GB, free: 8.98 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.1762, allocations: 15.97 kB / 1.046 GB, free: 8.965 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.1762, allocations: 19.92 kB / 1.046 GB, free: 8.945 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001986/0.1764, allocations: 279.1 kB / 1.046 GB, free: 8.676 MB / 1.01 GB Notification: Performance of sort global known variables: time 4e-08/0.1764, allocations: 0 / 1.046 GB, free: 8.676 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004093/0.1768, allocations: 191.6 kB / 1.047 GB, free: 8.488 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.0002339/0.177, allocations: 159.1 kB / 1.047 GB, free: 8.32 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004645/0.1775, allocations: 333.9 kB / 1.047 GB, free: 7.973 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1775, allocations: 0 / 1.047 GB, free: 7.973 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.1777, allocations: 245.3 kB / 1.047 GB, free: 7.711 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005966/0.1783, allocations: 209.1 kB / 1.048 GB, free: 7.508 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.1798, allocations: 0.89 MB / 1.048 GB, free: 6.574 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.196e-05/0.1799, allocations: 129.2 kB / 1.049 GB, free: 6.426 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001931/0.1801, allocations: 67.25 kB / 1.049 GB, free: 6.359 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.577e-05/0.1802, allocations: 36.48 kB / 1.049 GB, free: 6.324 MB / 1.01 GB Notification: Performance of SimCode: time 7.31e-07/0.1802, allocations: 4 kB / 1.049 GB, free: 6.32 MB / 1.01 GB Notification: Performance of Templates: time 0.4085/0.5887, allocations: 10.24 MB / 1.059 GB, free: 77.29 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: 5.839935719035566]