Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.001157/0.001157, allocations: 76.81 kB / 20.75 MB, free: 3.734 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.001372/0.001372, allocations: 161 kB / 24.17 MB, free: 324 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 1.015/1.015, allocations: 177.2 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.988/1.988, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.7601 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.556e-05, allocations: 4.844 kB / 0.7601 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1378/0.1378, allocations: 150.4 MB / 0.9069 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.00673/0.1445, allocations: 3.904 MB / 0.9107 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.1456, allocations: 63.5 kB / 0.9108 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007058/0.1463, allocations: 281.9 kB / 0.9111 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002171/0.1485, allocations: 1.064 MB / 0.9121 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.1502, allocations: 0.9818 MB / 0.9131 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002339/0.1526, allocations: 2.565 MB / 0.9156 GB, free: 6.922 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.1538, allocations: 0.8276 MB / 0.9164 GB, free: 6.086 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.1555, allocations: 1.41 MB / 0.9178 GB, free: 4.711 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007825/0.1563, allocations: 0.7439 MB / 0.9185 GB, free: 3.965 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.1564, allocations: 116 kB / 0.9186 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.1577, allocations: 0.6703 MB / 0.9193 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003753/0.158, allocations: 0.5415 MB / 0.9198 GB, free: 2.637 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004556/0.1585, allocations: 463 kB / 0.9202 GB, free: 2.184 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.1601, allocations: 1.398 MB / 0.9216 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1601, allocations: 0 / 0.9216 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1601, allocations: 0 / 0.9216 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.1601, allocations: 0 / 0.9216 GB, free: 0.7812 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001406/0.1615, allocations: 1.351 MB / 0.9229 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1615, allocations: 8.031 kB / 0.9229 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.1629, allocations: 483.9 kB / 0.9234 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007876/0.1637, allocations: 0.6485 MB / 0.924 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.72e-05/0.1637, allocations: 74.11 kB / 0.9241 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.1638, allocations: 92 kB / 0.9242 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009102/0.1647, allocations: 1.077 MB / 0.9252 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.1648, allocations: 0 / 0.9252 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.528e-05/0.1648, allocations: 40 kB / 0.9253 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.141e-05/0.1649, allocations: 45.98 kB / 0.9253 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004327/0.1653, allocations: 296.6 kB / 0.9256 GB, free: 12.51 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003019/0.1683, allocations: 2.342 MB / 0.9279 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004195/0.1687, allocations: 318.7 kB / 0.9282 GB, free: 9.77 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.1689, allocations: 109.5 kB / 0.9283 GB, free: 9.66 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.123e-05/0.169, allocations: 31.98 kB / 0.9283 GB, free: 9.629 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.169, allocations: 39.28 kB / 0.9284 GB, free: 9.582 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=43): time 1.984e-06/0.169, allocations: 0 / 0.9284 GB, free: 9.582 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45): time 0.001356/0.1704, allocations: 0.7189 MB / 0.9291 GB, free: 8.832 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.1704, allocations: 59.41 kB / 0.9291 GB, free: 8.762 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004903/0.1709, allocations: 0.5467 MB / 0.9296 GB, free: 8.203 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.1709, allocations: 41.69 kB / 0.9297 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.1711, allocations: 429 kB / 0.9301 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.917e-05/0.1712, allocations: 166.5 kB / 0.9303 GB, free: 7.562 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.1713, allocations: 114.2 kB / 0.9304 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1715, allocations: 386.6 kB / 0.9307 GB, free: 7.059 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.1716, allocations: 68.11 kB / 0.9308 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.1718, allocations: 258.8 kB / 0.931 GB, free: 6.676 MB / 0.8855 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006137/0.1724, allocations: 498.2 kB / 0.9315 GB, free: 6.141 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1724, allocations: 4 kB / 0.9315 GB, free: 6.137 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000433/0.1729, allocations: 338.1 kB / 0.9318 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1729, allocations: 11.94 kB / 0.9319 GB, free: 5.785 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.1729, allocations: 4.5 kB / 0.9319 GB, free: 5.781 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.1729, allocations: 15.94 kB / 0.9319 GB, free: 5.766 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.1733, allocations: 163.8 kB / 0.932 GB, free: 5.605 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.1734, allocations: 11.94 kB / 0.932 GB, free: 5.594 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.1737, allocations: 43.97 kB / 0.9321 GB, free: 5.551 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/0.1737, allocations: 19.98 kB / 0.9321 GB, free: 5.531 MB / 0.8855 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.1739, allocations: 148.5 kB / 0.9322 GB, free: 5.375 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-05/0.174, allocations: 67.92 kB / 0.9323 GB, free: 5.309 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.1741, allocations: 79.14 kB / 0.9324 GB, free: 5.227 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1741, allocations: 7.938 kB / 0.9324 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1741, allocations: 4 kB / 0.9324 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000654/0.1748, allocations: 0.4957 MB / 0.9329 GB, free: 4.633 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.1762, allocations: 1.059 MB / 0.9339 GB, free: 3.496 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.1762, allocations: 4 kB / 0.9339 GB, free: 3.492 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.1766, allocations: 159 kB / 0.9341 GB, free: 3.336 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.1766, allocations: 7.938 kB / 0.9341 GB, free: 3.328 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.1766, allocations: 15.98 kB / 0.9341 GB, free: 3.312 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.1767, allocations: 8 kB / 0.9341 GB, free: 3.305 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.1767, allocations: 4 kB / 0.9341 GB, free: 3.301 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000561/0.1772, allocations: 0.5903 MB / 0.9347 GB, free: 2.641 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.1774, allocations: 103.5 kB / 0.9348 GB, free: 2.539 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.224e-05/0.1774, allocations: 15.98 kB / 0.9348 GB, free: 2.523 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.1778, allocations: 43.97 kB / 0.9348 GB, free: 2.48 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.1778, allocations: 43.81 kB / 0.9349 GB, free: 2.438 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/0.1779, allocations: 19.98 kB / 0.9349 GB, free: 2.418 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001854/0.1781, allocations: 260.5 kB / 0.9351 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1781, allocations: 0 / 0.9351 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005383/0.1786, allocations: 267.9 kB / 0.9354 GB, free: 1.902 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002617/0.1789, allocations: 160.1 kB / 0.9356 GB, free: 1.738 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00039/0.1793, allocations: 260.5 kB / 0.9358 GB, free: 1.48 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.1793, allocations: 12 kB / 0.9358 GB, free: 1.469 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.1794, allocations: 138.1 kB / 0.9359 GB, free: 1.332 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.1805, allocations: 494.4 kB / 0.9364 GB, free: 0.8633 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.183, allocations: 1.728 MB / 0.9381 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.1832, allocations: 235.1 kB / 0.9383 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004784/0.1837, allocations: 142.4 kB / 0.9385 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007833/0.1844, allocations: 384.9 kB / 0.9388 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of SimCode: time 1.623e-06/0.1844, allocations: 0 / 0.9388 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of Templates: time 0.02411/0.2085, allocations: 19.54 MB / 0.9579 GB, free: 11.25 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.734374336898327]