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.001069/0.001069, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.001543/0.001543, allocations: 181 kB / 24.08 MB, free: 424 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.9365/0.9365, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.775/1.775, allocations: 377.9 MB / 0.624 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 1.392e-06/1.392e-06, allocations: 0 / 0.812 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.116e-05, allocations: 3.906 kB / 0.812 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1288/0.1289, allocations: 145.6 MB / 0.9541 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.005093/0.134, allocations: 3.407 MB / 0.9575 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005679/0.1345, allocations: 23.81 kB / 0.9575 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005789/0.1351, allocations: 182.6 kB / 0.9577 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.1367, allocations: 0.8002 MB / 0.9584 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.1382, allocations: 0.6933 MB / 0.9591 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001385/0.1396, allocations: 1.317 MB / 0.9604 GB, free: 9.016 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.1401, allocations: 396.1 kB / 0.9608 GB, free: 8.625 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.1415, allocations: 0.8028 MB / 0.9616 GB, free: 7.84 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000445/0.142, allocations: 410.8 kB / 0.9619 GB, free: 7.438 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.121e-05/0.142, allocations: 52 kB / 0.962 GB, free: 7.387 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008592/0.1429, allocations: 0.5689 MB / 0.9626 GB, free: 6.816 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.1431, allocations: 231.3 kB / 0.9628 GB, free: 6.59 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.1433, allocations: 235.5 kB / 0.963 GB, free: 6.359 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009378/0.1442, allocations: 0.8567 MB / 0.9638 GB, free: 5.5 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1442, allocations: 0 / 0.9638 GB, free: 5.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.001e-06/0.1442, allocations: 0 / 0.9638 GB, free: 5.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.1442, allocations: 4 kB / 0.9638 GB, free: 5.496 MB / 0.9167 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.001089/0.1453, allocations: 0.978 MB / 0.9648 GB, free: 4.477 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1453, allocations: 12.03 kB / 0.9648 GB, free: 4.465 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007178/0.1461, allocations: 264.1 kB / 0.9651 GB, free: 4.207 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.1465, allocations: 425.1 kB / 0.9655 GB, free: 3.773 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.1465, allocations: 41.06 kB / 0.9655 GB, free: 3.73 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.1466, allocations: 44 kB / 0.9655 GB, free: 3.688 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005609/0.1471, allocations: 0.6815 MB / 0.9662 GB, free: 2.898 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1471, allocations: 0 / 0.9662 GB, free: 2.898 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.773e-05/0.1472, allocations: 35.92 kB / 0.9662 GB, free: 2.863 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.1472, allocations: 17 kB / 0.9663 GB, free: 2.848 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.1474, allocations: 162.8 kB / 0.9664 GB, free: 2.691 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.1493, allocations: 1.735 MB / 0.9681 GB, free: 0.8906 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.1495, allocations: 103 kB / 0.9682 GB, free: 0.7773 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/0.1495, allocations: 35.67 kB / 0.9682 GB, free: 0.7383 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.1495, allocations: 0 / 0.9682 GB, free: 0.7383 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.1496, allocations: 41.39 kB / 0.9683 GB, free: 0.6875 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.1496, allocations: 4 kB / 0.9683 GB, free: 0.6836 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.00136/0.1509, allocations: 456.7 kB / 0.9687 GB, free: 232 kB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.151, allocations: 77.11 kB / 0.9688 GB, free: 136 kB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.1513, allocations: 438.3 kB / 0.9692 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.1513, allocations: 25.7 kB / 0.9692 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.1515, allocations: 366.4 kB / 0.9696 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.1515, allocations: 39.62 kB / 0.9696 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.233e-05/0.1516, allocations: 71.28 kB / 0.9697 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002013/0.1518, allocations: 0.5234 MB / 0.9702 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.396e-05/0.1518, allocations: 35.97 kB / 0.9702 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.152, allocations: 166.2 kB / 0.9704 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.1521, allocations: 171.2 kB / 0.9706 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1521, allocations: 0 / 0.9706 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006589/0.1528, allocations: 340.7 kB / 0.9709 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1528, allocations: 8 kB / 0.9709 GB, free: 13.83 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1528, allocations: 0 / 0.9709 GB, free: 13.83 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006506/0.1534, allocations: 235.5 kB / 0.9711 GB, free: 13.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.1536, allocations: 67.89 kB / 0.9712 GB, free: 13.53 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.1552, allocations: 1.995 MB / 0.9731 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.1554, allocations: 43.84 kB / 0.9732 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.1555, allocations: 12 kB / 0.9732 GB, free: 11.36 MB / 0.9323 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.0001431/0.1556, allocations: 180.3 kB / 0.9734 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.1557, allocations: 43.77 kB / 0.9734 GB, free: 11.13 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.1557, allocations: 43.27 kB / 0.9734 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1557, allocations: 0 / 0.9734 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.1557, allocations: 0 / 0.9734 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1557, allocations: 0 / 0.9734 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008752/0.1566, allocations: 0.6099 MB / 0.974 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1566, allocations: 4 kB / 0.974 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-05/0.1567, allocations: 23.92 kB / 0.9741 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005808/0.1572, allocations: 247.4 kB / 0.9743 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.1573, allocations: 7.984 kB / 0.9743 GB, free: 10.15 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/0.1588, allocations: 1.952 MB / 0.9762 GB, free: 8.086 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.1588, allocations: 0 / 0.9762 GB, free: 8.086 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006179/0.1594, allocations: 418.4 kB / 0.9766 GB, free: 7.645 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.1595, allocations: 67.72 kB / 0.9767 GB, free: 7.578 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.1595, allocations: 3.938 kB / 0.9767 GB, free: 7.574 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.1597, allocations: 34.81 kB / 0.9767 GB, free: 7.543 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.1598, allocations: 19.97 kB / 0.9767 GB, free: 7.523 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.1598, allocations: 11.92 kB / 0.9767 GB, free: 7.512 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001461/0.1599, allocations: 263 kB / 0.977 GB, free: 7.258 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.1599, allocations: 0 / 0.977 GB, free: 7.258 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000491/0.1604, allocations: 199.6 kB / 0.9772 GB, free: 7.062 MB / 0.9323 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.0002327/0.1607, allocations: 151.3 kB / 0.9773 GB, free: 6.902 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000426/0.1611, allocations: 311.9 kB / 0.9776 GB, free: 6.578 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1611, allocations: 4 kB / 0.9776 GB, free: 6.574 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.1613, allocations: 241.3 kB / 0.9779 GB, free: 6.316 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.1618, allocations: 218.3 kB / 0.9781 GB, free: 6.105 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.1635, allocations: 0.8823 MB / 0.9789 GB, free: 5.18 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.238e-05/0.1636, allocations: 137.2 kB / 0.9791 GB, free: 5.023 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001918/0.1638, allocations: 59.25 kB / 0.9791 GB, free: 4.965 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004028/0.1642, allocations: 270 kB / 0.9794 GB, free: 4.699 MB / 0.9323 GB Notification: Performance of SimCode: time 8.72e-07/0.1642, allocations: 0 / 0.9794 GB, free: 4.699 MB / 0.9323 GB Notification: Performance of Templates: time 0.0136/0.1778, allocations: 10.34 MB / 0.9895 GB, free: 10.61 MB / 0.948 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.2748946701176465]