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.0009376/0.0009376, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009419/0.0009419, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9131/0.9131, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.816/1.816, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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.774e-06/1.774e-06, allocations: 3.938 kB / 0.8115 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.461e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.126/0.126, allocations: 148.3 MB / 0.9564 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.004348/0.1303, allocations: 3.431 MB / 0.9597 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002996/0.1306, allocations: 31.75 kB / 0.9597 GB, free: 8.34 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004884/0.1311, allocations: 174.7 kB / 0.9599 GB, free: 8.168 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.1323, allocations: 0.7964 MB / 0.9607 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.1333, allocations: 0.7088 MB / 0.9614 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001105/0.1344, allocations: 1.321 MB / 0.9627 GB, free: 5.328 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004293/0.1349, allocations: 384.2 kB / 0.963 GB, free: 4.945 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.136, allocations: 0.7991 MB / 0.9638 GB, free: 4.164 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004245/0.1365, allocations: 406.9 kB / 0.9642 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 6.184e-05/0.1365, allocations: 48 kB / 0.9642 GB, free: 3.719 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006403/0.1372, allocations: 0.5767 MB / 0.9648 GB, free: 3.141 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.1373, allocations: 231.3 kB / 0.965 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.1375, allocations: 235.5 kB / 0.9653 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008542/0.1383, allocations: 0.849 MB / 0.9661 GB, free: 1.832 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1383, allocations: 0 / 0.9661 GB, free: 1.832 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.51e-07/0.1383, allocations: 0 / 0.9661 GB, free: 1.832 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.1383, allocations: 0 / 0.9661 GB, free: 1.832 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.001008/0.1394, allocations: 0.9817 MB / 0.967 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1394, allocations: 8.031 kB / 0.9671 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007297/0.1401, allocations: 272.1 kB / 0.9673 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.1405, allocations: 433 kB / 0.9677 GB, free: 96 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.1406, allocations: 33.12 kB / 0.9678 GB, free: 60 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.1406, allocations: 48 kB / 0.9678 GB, free: 12 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006539/0.1413, allocations: 0.7206 MB / 0.9685 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1413, allocations: 4 kB / 0.9685 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.1413, allocations: 16 kB / 0.9685 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.1413, allocations: 20.98 kB / 0.9685 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.1417, allocations: 213.7 kB / 0.9687 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.1435, allocations: 1.817 MB / 0.9705 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.1437, allocations: 110.9 kB / 0.9706 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.239e-05/0.1438, allocations: 43.67 kB / 0.9707 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.1438, allocations: 4 kB / 0.9707 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.1439, allocations: 37.39 kB / 0.9707 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.1439, allocations: 8 kB / 0.9707 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.001501/0.1454, allocations: 0.4967 MB / 0.9712 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.1454, allocations: 77.11 kB / 0.9713 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.1457, allocations: 438.6 kB / 0.9717 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.1457, allocations: 25.7 kB / 0.9717 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.1459, allocations: 366.4 kB / 0.9721 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.1459, allocations: 39.62 kB / 0.9721 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.146, allocations: 71.3 kB / 0.9722 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1461, allocations: 0.5157 MB / 0.9727 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.918e-05/0.1462, allocations: 51.91 kB / 0.9727 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.1463, allocations: 170.2 kB / 0.9729 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.1465, allocations: 182.8 kB / 0.9731 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1465, allocations: 4 kB / 0.9731 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007161/0.1472, allocations: 364.8 kB / 0.9734 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1472, allocations: 7.938 kB / 0.9734 GB, free: 9.871 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1472, allocations: 4 kB / 0.9734 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006942/0.1479, allocations: 247.4 kB / 0.9737 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.1481, allocations: 55.97 kB / 0.9737 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.1496, allocations: 2.042 MB / 0.9757 GB, free: 7.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.1498, allocations: 55.72 kB / 0.9758 GB, free: 7.355 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.1498, allocations: 16 kB / 0.9758 GB, free: 7.34 MB / 0.8855 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.0001137/0.1499, allocations: 172.5 kB / 0.9759 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/0.15, allocations: 43.77 kB / 0.976 GB, free: 7.117 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.399e-05/0.15, allocations: 35.28 kB / 0.976 GB, free: 7.086 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.15, allocations: 4 kB / 0.976 GB, free: 7.082 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.15, allocations: 0 / 0.976 GB, free: 7.082 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.15, allocations: 0 / 0.976 GB, free: 7.082 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009319/0.151, allocations: 0.7184 MB / 0.9767 GB, free: 6.309 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.151, allocations: 4 kB / 0.9767 GB, free: 6.305 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.912e-05/0.151, allocations: 23.97 kB / 0.9768 GB, free: 6.281 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006067/0.1516, allocations: 243.5 kB / 0.977 GB, free: 6.039 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.1517, allocations: 7.984 kB / 0.977 GB, free: 6.031 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.153, allocations: 1.99 MB / 0.9789 GB, free: 3.914 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.153, allocations: 3.938 kB / 0.9789 GB, free: 3.91 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006654/0.1537, allocations: 442.3 kB / 0.9794 GB, free: 3.445 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.1538, allocations: 75.66 kB / 0.9794 GB, free: 3.371 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.1538, allocations: 4 kB / 0.9794 GB, free: 3.367 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.154, allocations: 35.95 kB / 0.9795 GB, free: 3.332 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.154, allocations: 11.98 kB / 0.9795 GB, free: 3.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.1541, allocations: 11.98 kB / 0.9795 GB, free: 3.309 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001801/0.1543, allocations: 279.1 kB / 0.9798 GB, free: 3.035 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.1543, allocations: 0 / 0.9798 GB, free: 3.035 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003882/0.1546, allocations: 199.6 kB / 0.9799 GB, free: 2.84 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): 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.0002182/0.1549, allocations: 155.3 kB / 0.9801 GB, free: 2.68 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004483/0.1553, allocations: 347 kB / 0.9804 GB, free: 2.32 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1553, allocations: 0 / 0.9804 GB, free: 2.32 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.1555, allocations: 241.4 kB / 0.9807 GB, free: 2.062 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005802/0.1561, allocations: 211.4 kB / 0.9809 GB, free: 1.863 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.1576, allocations: 0.8965 MB / 0.9817 GB, free: 0.9219 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.81e-05/0.1577, allocations: 133.1 kB / 0.9819 GB, free: 0.7695 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001892/0.1579, allocations: 71.23 kB / 0.9819 GB, free: 0.7031 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.651e-05/0.1579, allocations: 28.5 kB / 0.982 GB, free: 0.6758 MB / 0.8855 GB Notification: Performance of SimCode: time 7.72e-07/0.1579, allocations: 4 kB / 0.982 GB, free: 0.6719 MB / 0.8855 GB Notification: Performance of Templates: time 0.01137/0.1693, allocations: 10.25 MB / 0.992 GB, free: 6.645 MB / 0.9011 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.192221386358142]