Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00127/0.00127, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001676/0.001676, 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.932/0.932, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.862/1.862, allocations: 377.9 MB / 0.624 GB, free: 8.391 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.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_12_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_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.812 GB, free: 284 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.381e-05, allocations: 3.297 kB / 0.812 GB, free: 280 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1329/0.1329, allocations: 148.1 MB / 0.9566 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.005757/0.1387, allocations: 3.796 MB / 0.9603 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009523/0.1396, allocations: 55.56 kB / 0.9603 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006623/0.1403, allocations: 289.8 kB / 0.9606 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.142, allocations: 1.061 MB / 0.9617 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.1438, allocations: 0.9896 MB / 0.9626 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002469/0.1462, allocations: 2.527 MB / 0.9651 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009958/0.1472, allocations: 0.7475 MB / 0.9658 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002635/0.1499, allocations: 1.379 MB / 0.9672 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.151, allocations: 0.7517 MB / 0.9679 GB, free: 140 kB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.1511, allocations: 104 kB / 0.968 GB, free: 36 kB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.1523, allocations: 0.6275 MB / 0.9686 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0005935/0.1529, allocations: 0.5221 MB / 0.9691 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0004432/0.1533, allocations: 451 kB / 0.9695 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.003731/0.157, allocations: 1.336 MB / 0.9709 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1571, allocations: 0 / 0.9709 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1571, allocations: 0 / 0.9709 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.177e-05/0.1571, allocations: 0 / 0.9709 GB, free: 13.1 MB / 0.8855 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.001616/0.1587, allocations: 1.487 MB / 0.9723 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1587, allocations: 8.031 kB / 0.9723 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.1597, allocations: 403.5 kB / 0.9727 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000802/0.1605, allocations: 0.7103 MB / 0.9734 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/0.1606, allocations: 78 kB / 0.9735 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.311e-05/0.1607, allocations: 92 kB / 0.9736 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008996/0.1616, allocations: 1.092 MB / 0.9746 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.1616, allocations: 4 kB / 0.9746 GB, free: 9.016 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-05/0.1617, allocations: 36 kB / 0.9747 GB, free: 8.98 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/0.1617, allocations: 37.98 kB / 0.9747 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003733/0.1621, allocations: 293.5 kB / 0.975 GB, free: 8.656 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.003044/0.1651, allocations: 3.366 MB / 0.9783 GB, free: 5.191 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.1654, allocations: 187.2 kB / 0.9784 GB, free: 4.996 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.352e-05/0.1655, allocations: 87.06 kB / 0.9785 GB, free: 4.91 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.1656, allocations: 35.98 kB / 0.9786 GB, free: 4.875 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.1656, allocations: 49.19 kB / 0.9786 GB, free: 4.816 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 2.495e-06/0.1656, allocations: 0 / 0.9786 GB, free: 4.816 MB / 0.8855 GB Notification: Performance of matching and sorting (n=38): time 0.001148/0.1668, allocations: 0.6758 MB / 0.9793 GB, free: 4.105 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.1668, allocations: 59.41 kB / 0.9793 GB, free: 4.035 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005109/0.1673, allocations: 0.6708 MB / 0.98 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.1674, allocations: 37.64 kB / 0.98 GB, free: 3.305 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.1676, allocations: 0.5802 MB / 0.9806 GB, free: 2.715 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.81e-05/0.1677, allocations: 146.8 kB / 0.9807 GB, free: 2.57 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.1679, allocations: 131.8 kB / 0.9808 GB, free: 2.434 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.1681, allocations: 0.5702 MB / 0.9814 GB, free: 1.852 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.925e-05/0.1682, allocations: 53.27 kB / 0.9815 GB, free: 1.797 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.1684, allocations: 370 kB / 0.9818 GB, free: 1.32 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.0005337/0.1689, allocations: 0.5284 MB / 0.9823 GB, free: 0.6836 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1689, allocations: 0 / 0.9823 GB, free: 0.6836 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000486/0.1694, allocations: 440.8 kB / 0.9827 GB, free: 252 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.1694, allocations: 11.92 kB / 0.9828 GB, free: 240 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.1694, allocations: 12.03 kB / 0.9828 GB, free: 228 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1695, allocations: 8 kB / 0.9828 GB, free: 220 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.1698, allocations: 143.8 kB / 0.9829 GB, free: 76 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.1698, allocations: 8 kB / 0.9829 GB, free: 68 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.1701, allocations: 35.97 kB / 0.983 GB, free: 32 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.1701, allocations: 20 kB / 0.983 GB, free: 12 kB / 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: 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.0002019/0.1703, allocations: 202.4 kB / 0.9832 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.757e-05/0.1704, allocations: 95.53 kB / 0.9833 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.606e-05/0.1705, allocations: 86.91 kB / 0.9833 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1705, allocations: 4 kB / 0.9833 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1705, allocations: 0 / 0.9833 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002954/0.1708, allocations: 0.4933 MB / 0.9838 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.1719, allocations: 1.048 MB / 0.9848 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1719, allocations: 4 kB / 0.9849 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.1721, allocations: 87.83 kB / 0.9849 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.1721, allocations: 8.5 kB / 0.9849 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.1722, allocations: 16 kB / 0.985 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.1722, allocations: 4 kB / 0.985 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1722, allocations: 4 kB / 0.985 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.1727, allocations: 0.608 MB / 0.9856 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.1729, allocations: 127.4 kB / 0.9857 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.686e-05/0.1729, allocations: 20 kB / 0.9857 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.1732, allocations: 31.91 kB / 0.9857 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.1732, allocations: 39.83 kB / 0.9858 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.021e-05/0.1733, allocations: 31.92 kB / 0.9858 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002606/0.1735, allocations: 398.8 kB / 0.9862 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1735, allocations: 0 / 0.9862 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005961/0.1741, allocations: 251.9 kB / 0.9864 GB, free: 12.2 MB / 0.9011 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.0002537/0.1744, allocations: 174.9 kB / 0.9866 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003448/0.1747, allocations: 252.6 kB / 0.9868 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1747, allocations: 3.938 kB / 0.9868 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.1748, allocations: 111.9 kB / 0.9869 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.1759, allocations: 443.9 kB / 0.9874 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.1778, allocations: 1.626 MB / 0.9889 GB, free: 9.488 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.178, allocations: 242.9 kB / 0.9892 GB, free: 9.23 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003862/0.1784, allocations: 134.4 kB / 0.9893 GB, free: 9.094 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006675/0.1791, allocations: 433.8 kB / 0.9897 GB, free: 8.668 MB / 0.9011 GB Notification: Performance of SimCode: time 6.41e-07/0.1791, allocations: 0 / 0.9897 GB, free: 8.668 MB / 0.9011 GB Notification: Performance of Templates: time 0.01965/0.1987, allocations: 16.82 MB / 1.006 GB, free: 8.297 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.377123489975929]