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.001248/0.001248, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001369/0.001369, allocations: 169.7 kB / 23.28 MB, free: 1.219 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 1.06/1.06, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.62/2.62, allocations: 438.1 MB / 0.682 GB, free: 14.12 MB / 0.6511 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.523e-06/1.523e-06, allocations: 0 / 0.8897 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.614e-05, allocations: 5.266 kB / 0.8897 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1458/0.1458, allocations: 145.6 MB / 1.032 GB, free: 7.613 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.00501/0.1508, allocations: 3.409 MB / 1.035 GB, free: 4.199 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005734/0.1514, allocations: 31.75 kB / 1.035 GB, free: 4.168 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006208/0.152, allocations: 174.7 kB / 1.035 GB, free: 3.996 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.1536, allocations: 0.804 MB / 1.036 GB, free: 3.188 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.1551, allocations: 0.705 MB / 1.037 GB, free: 2.48 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001576/0.1567, allocations: 1.303 MB / 1.038 GB, free: 1.176 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00086/0.1575, allocations: 404 kB / 1.039 GB, free: 0.7734 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.1592, allocations: 0.789 MB / 1.039 GB, free: 0 / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007714/0.1599, allocations: 402.9 kB / 1.04 GB, free: 15.61 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 8.804e-05/0.16, allocations: 52 kB / 1.04 GB, free: 15.55 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.161, allocations: 0.5728 MB / 1.04 GB, free: 14.98 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.1613, allocations: 231.3 kB / 1.041 GB, free: 14.75 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.1615, allocations: 235.5 kB / 1.041 GB, free: 14.52 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.1628, allocations: 0.8528 MB / 1.042 GB, free: 13.67 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1629, allocations: 3.938 kB / 1.042 GB, free: 13.66 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1629, allocations: 0 / 1.042 GB, free: 13.66 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.1629, allocations: 0 / 1.042 GB, free: 13.66 MB / 1.01 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.00135/0.1642, allocations: 0.9738 MB / 1.043 GB, free: 12.65 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.1643, allocations: 8.625 kB / 1.043 GB, free: 12.64 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008035/0.1651, allocations: 276.1 kB / 1.043 GB, free: 12.38 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.1656, allocations: 421 kB / 1.043 GB, free: 11.94 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.1656, allocations: 37.12 kB / 1.043 GB, free: 11.9 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.1657, allocations: 40 kB / 1.043 GB, free: 11.86 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007081/0.1664, allocations: 0.6931 MB / 1.044 GB, free: 11.07 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1664, allocations: 0 / 1.044 GB, free: 11.07 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.1664, allocations: 16 kB / 1.044 GB, free: 11.05 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/0.1665, allocations: 21 kB / 1.044 GB, free: 11.03 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002611/0.1667, allocations: 166.8 kB / 1.044 GB, free: 10.87 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.1687, allocations: 1.728 MB / 1.046 GB, free: 9.074 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.169, allocations: 106.9 kB / 1.046 GB, free: 8.957 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.51e-05/0.169, allocations: 35.67 kB / 1.046 GB, free: 8.918 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.169, allocations: 4.219 kB / 1.046 GB, free: 8.914 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.1691, allocations: 41.33 kB / 1.046 GB, free: 8.863 MB / 1.01 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.1691, allocations: 0 / 1.046 GB, free: 8.863 MB / 1.01 GB Notification: Performance of matching and sorting (n=11): time 0.001427/0.1705, allocations: 452.6 kB / 1.046 GB, free: 8.41 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.1705, allocations: 77.11 kB / 1.047 GB, free: 8.316 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.1709, allocations: 434.3 kB / 1.047 GB, free: 7.875 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.1709, allocations: 29.7 kB / 1.047 GB, free: 7.84 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.1711, allocations: 366.4 kB / 1.047 GB, free: 7.477 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.1711, allocations: 47.62 kB / 1.047 GB, free: 7.43 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.1712, allocations: 63.28 kB / 1.047 GB, free: 7.359 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.1713, allocations: 0.5273 MB / 1.048 GB, free: 6.82 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.347e-05/0.1714, allocations: 31.97 kB / 1.048 GB, free: 6.789 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.1715, allocations: 178.1 kB / 1.048 GB, free: 6.562 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.1717, allocations: 166.8 kB / 1.048 GB, free: 6.359 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1717, allocations: 0 / 1.048 GB, free: 6.359 MB / 1.01 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007684/0.1725, allocations: 332.7 kB / 1.049 GB, free: 6.023 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1725, allocations: 8.188 kB / 1.049 GB, free: 6.016 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1725, allocations: 4 kB / 1.049 GB, free: 6.012 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006732/0.1732, allocations: 243.4 kB / 1.049 GB, free: 5.77 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.1733, allocations: 59.91 kB / 1.049 GB, free: 5.711 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.1749, allocations: 2.012 MB / 1.051 GB, free: 3.598 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.1751, allocations: 39.83 kB / 1.051 GB, free: 3.559 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.1751, allocations: 8 kB / 1.051 GB, free: 3.551 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.000132/0.1752, allocations: 184.4 kB / 1.051 GB, free: 3.359 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-05/0.1753, allocations: 43.77 kB / 1.051 GB, free: 3.316 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.014e-05/0.1754, allocations: 35.28 kB / 1.051 GB, free: 3.281 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1754, allocations: 4 kB / 1.051 GB, free: 3.277 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.1754, allocations: 0 / 1.051 GB, free: 3.277 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1754, allocations: 0 / 1.051 GB, free: 3.277 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008683/0.1762, allocations: 0.6215 MB / 1.052 GB, free: 2.609 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.1762, allocations: 0 / 1.052 GB, free: 2.609 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.523e-05/0.1763, allocations: 27.97 kB / 1.052 GB, free: 2.582 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005901/0.1769, allocations: 247.4 kB / 1.052 GB, free: 2.336 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.1769, allocations: 12.06 kB / 1.052 GB, free: 2.324 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.1784, allocations: 1.952 MB / 1.054 GB, free: 260 kB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1784, allocations: 0 / 1.054 GB, free: 260 kB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6428/0.8212, allocations: 417.6 kB / 1.054 GB, free: 68.78 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.8214, allocations: 69.98 kB / 1.054 GB, free: 68.78 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.8215, allocations: 8.719 kB / 1.054 GB, free: 68.78 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.8217, allocations: 29.06 kB / 1.054 GB, free: 68.78 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/0.8218, allocations: 15.44 kB / 1.054 GB, free: 68.78 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.134e-05/0.8218, allocations: 10.97 kB / 1.054 GB, free: 68.78 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002048/0.822, allocations: 263.4 kB / 1.055 GB, free: 68.66 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.822, allocations: 1.812 kB / 1.055 GB, free: 68.66 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006072/0.8226, allocations: 199 kB / 1.055 GB, free: 68.66 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.0003198/0.823, allocations: 149.5 kB / 1.055 GB, free: 68.57 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005511/0.8235, allocations: 322.1 kB / 1.055 GB, free: 68.39 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.8235, allocations: 0 / 1.055 GB, free: 68.39 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.8237, allocations: 242.8 kB / 1.056 GB, free: 68.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006601/0.8244, allocations: 217.3 kB / 1.056 GB, free: 68.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.8264, allocations: 0.8844 MB / 1.057 GB, free: 67.8 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.973e-05/0.8265, allocations: 132 kB / 1.057 GB, free: 67.73 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002768/0.8268, allocations: 61.95 kB / 1.057 GB, free: 67.73 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004041/0.8272, allocations: 263.8 kB / 1.057 GB, free: 67.67 MB / 1.01 GB Notification: Performance of SimCode: time 1.613e-06/0.8272, allocations: 0 / 1.057 GB, free: 67.67 MB / 1.01 GB Notification: Performance of Templates: time 0.01538/0.8426, allocations: 10.33 MB / 1.067 GB, free: 67.08 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.899267033673823]