Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.001027/0.001027, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001029/0.001029, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9433/0.9433, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.82/1.82, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|C_flow.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|C_flow.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.186e-05/3.374e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1391/0.1391, allocations: 150.8 MB / 0.9343 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.006314/0.1454, allocations: 3.814 MB / 0.9381 GB, free: 1.395 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.1468, allocations: 59.5 kB / 0.9381 GB, free: 1.336 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0009629/0.1477, allocations: 285.9 kB / 0.9384 GB, free: 1.055 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002536/0.1503, allocations: 1.061 MB / 0.9394 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.1523, allocations: 0.9858 MB / 0.9404 GB, free: 15 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.003104/0.1554, allocations: 2.538 MB / 0.9429 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.1564, allocations: 0.7437 MB / 0.9436 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002364/0.1588, allocations: 1.383 MB / 0.945 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009327/0.1597, allocations: 0.7673 MB / 0.9457 GB, free: 9.566 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.1599, allocations: 104 kB / 0.9458 GB, free: 9.465 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.1609, allocations: 0.6236 MB / 0.9464 GB, free: 8.84 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003991/0.1613, allocations: 0.5259 MB / 0.9469 GB, free: 8.312 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0004332/0.1617, allocations: 447 kB / 0.9474 GB, free: 7.875 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.1634, allocations: 1.336 MB / 0.9487 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1634, allocations: 0 / 0.9487 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1634, allocations: 0 / 0.9487 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.002e-05/0.1634, allocations: 4 kB / 0.9487 GB, free: 6.531 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001611/0.165, allocations: 1.48 MB / 0.9501 GB, free: 5.012 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.165, allocations: 8.031 kB / 0.9501 GB, free: 5.004 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.1661, allocations: 407.4 kB / 0.9505 GB, free: 4.605 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009684/0.1671, allocations: 0.7376 MB / 0.9512 GB, free: 3.844 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.619e-05/0.1671, allocations: 70.12 kB / 0.9513 GB, free: 3.773 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.213e-05/0.1672, allocations: 88 kB / 0.9514 GB, free: 3.688 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.1683, allocations: 1.156 MB / 0.9525 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.1684, allocations: 3.938 kB / 0.9525 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.834e-05/0.1684, allocations: 36 kB / 0.9525 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/0.1685, allocations: 34 kB / 0.9526 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005446/0.169, allocations: 351.6 kB / 0.9529 GB, free: 1.961 MB / 0.9011 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.00364/0.1726, allocations: 3.363 MB / 0.9562 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.1731, allocations: 203.2 kB / 0.9564 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.1732, allocations: 95.64 kB / 0.9565 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.1733, allocations: 23.98 kB / 0.9565 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.1734, allocations: 45.38 kB / 0.9565 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=36): time 3.096e-06/0.1734, allocations: 4 kB / 0.9565 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of matching and sorting (n=38): time 0.001618/0.175, allocations: 0.8511 MB / 0.9574 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.175, allocations: 59.34 kB / 0.9574 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005853/0.1756, allocations: 0.6907 MB / 0.9581 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.1756, allocations: 37.7 kB / 0.9581 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000268/0.1759, allocations: 0.5687 MB / 0.9587 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.939e-05/0.176, allocations: 154.7 kB / 0.9588 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.1761, allocations: 123.9 kB / 0.959 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1763, allocations: 0.5625 MB / 0.9595 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.1764, allocations: 73.25 kB / 0.9596 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.1767, allocations: 386 kB / 0.96 GB, free: 10.4 MB / 0.9167 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.0006868/0.1774, allocations: 0.5707 MB / 0.9605 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1774, allocations: 4 kB / 0.9605 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000575/0.178, allocations: 472.3 kB / 0.961 GB, free: 9.25 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.178, allocations: 11.94 kB / 0.961 GB, free: 9.238 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.178, allocations: 8.719 kB / 0.961 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.178, allocations: 8 kB / 0.961 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.1783, allocations: 143.8 kB / 0.9611 GB, free: 9.082 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.1783, allocations: 11.94 kB / 0.9611 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.1787, allocations: 35.97 kB / 0.9612 GB, free: 9.035 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.1787, allocations: 32 kB / 0.9612 GB, free: 9.004 MB / 0.9167 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: 25 * 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 (74): * Single equations (assignments): 74 * 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.0001823/0.1789, allocations: 192.4 kB / 0.9614 GB, free: 8.805 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.019e-05/0.179, allocations: 95.47 kB / 0.9615 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.476e-05/0.1791, allocations: 86.92 kB / 0.9616 GB, free: 8.621 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1791, allocations: 8 kB / 0.9616 GB, free: 8.613 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1791, allocations: 0 / 0.9616 GB, free: 8.613 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000336/0.1794, allocations: 0.5128 MB / 0.9621 GB, free: 8.016 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.1808, allocations: 1.215 MB / 0.9633 GB, free: 6.691 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.1808, allocations: 4 kB / 0.9633 GB, free: 6.688 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.181, allocations: 83.91 kB / 0.9633 GB, free: 6.605 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.181, allocations: 7.984 kB / 0.9633 GB, free: 6.598 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.181, allocations: 12 kB / 0.9634 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.181, allocations: 8.438 kB / 0.9634 GB, free: 6.578 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.181, allocations: 11.94 kB / 0.9634 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.1816, allocations: 0.6239 MB / 0.964 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.1817, allocations: 143.3 kB / 0.9641 GB, free: 5.715 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.854e-05/0.1818, allocations: 15.94 kB / 0.9641 GB, free: 5.699 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.182, allocations: 24.59 kB / 0.9642 GB, free: 5.676 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.1821, allocations: 43.81 kB / 0.9642 GB, free: 5.633 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.1821, allocations: 31.98 kB / 0.9642 GB, free: 5.602 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003101/0.1824, allocations: 430.9 kB / 0.9646 GB, free: 5.184 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1824, allocations: 0 / 0.9646 GB, free: 5.184 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005553/0.183, allocations: 251.9 kB / 0.9649 GB, free: 4.938 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.0002713/0.1833, allocations: 173.3 kB / 0.9651 GB, free: 4.762 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004243/0.1837, allocations: 288.4 kB / 0.9653 GB, free: 4.477 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1837, allocations: 4 kB / 0.9653 GB, free: 4.473 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.1838, allocations: 114.3 kB / 0.9654 GB, free: 4.359 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.1849, allocations: 451.7 kB / 0.9659 GB, free: 3.93 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.1871, allocations: 1.626 MB / 0.9675 GB, free: 2.195 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.1873, allocations: 242.9 kB / 0.9677 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004445/0.1877, allocations: 186.3 kB / 0.9679 GB, free: 1.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.1878, allocations: 60.48 kB / 0.9679 GB, free: 1.691 MB / 0.9167 GB Notification: Performance of SimCode: time 2.404e-06/0.1878, allocations: 0 / 0.9679 GB, free: 1.691 MB / 0.9167 GB Notification: Performance of Templates: time 0.02095/0.2088, allocations: 16.53 MB / 0.9841 GB, free: 1.551 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.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.574257722124457]