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.0009019/0.0009019, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001208/0.001208, 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.989/0.989, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.828/1.828, allocations: 377.8 MB / 0.6236 GB, free: 8.578 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.282e-06/1.282e-06, allocations: 0 / 0.8115 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.639e-05, allocations: 2.859 kB / 0.8115 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1367/0.1368, allocations: 150.9 MB / 0.9589 GB, free: 9.293 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.005266/0.142, allocations: 3.815 MB / 0.9626 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000698/0.1427, allocations: 51.56 kB / 0.9626 GB, free: 5.422 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006678/0.1434, allocations: 293.8 kB / 0.9629 GB, free: 5.133 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.1452, allocations: 1.057 MB / 0.9639 GB, free: 4.07 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.1467, allocations: 0.9825 MB / 0.9649 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002376/0.1491, allocations: 2.53 MB / 0.9674 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009099/0.15, allocations: 0.7513 MB / 0.9681 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001947/0.152, allocations: 1.387 MB / 0.9695 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009593/0.1529, allocations: 0.7517 MB / 0.9702 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.1531, allocations: 100 kB / 0.9703 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008825/0.154, allocations: 0.6236 MB / 0.9709 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003535/0.1543, allocations: 0.5221 MB / 0.9714 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003813/0.1547, allocations: 451 kB / 0.9718 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.1561, allocations: 1.343 MB / 0.9732 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1561, allocations: 0 / 0.9732 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1561, allocations: 0 / 0.9732 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.805e-05/0.1561, allocations: 0 / 0.9732 GB, free: 10.64 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.001507/0.1576, allocations: 1.484 MB / 0.9746 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.1577, allocations: 12.02 kB / 0.9746 GB, free: 9.102 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.1587, allocations: 395.5 kB / 0.975 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000824/0.1595, allocations: 0.7376 MB / 0.9757 GB, free: 7.949 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.1596, allocations: 74.11 kB / 0.9758 GB, free: 7.879 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.152e-05/0.1596, allocations: 88 kB / 0.9759 GB, free: 7.793 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.1607, allocations: 1.156 MB / 0.977 GB, free: 6.48 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.1607, allocations: 0 / 0.977 GB, free: 6.48 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.919e-05/0.1608, allocations: 36 kB / 0.977 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/0.1608, allocations: 34 kB / 0.9771 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005501/0.1614, allocations: 355.5 kB / 0.9774 GB, free: 6.062 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.002954/0.1643, allocations: 3.371 MB / 0.9807 GB, free: 2.594 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.1646, allocations: 207.2 kB / 0.9809 GB, free: 2.379 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.1647, allocations: 103.1 kB / 0.981 GB, free: 2.277 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.853e-05/0.1648, allocations: 19.98 kB / 0.981 GB, free: 2.258 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.1649, allocations: 53.25 kB / 0.9811 GB, free: 2.195 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 1.603e-06/0.1649, allocations: 0 / 0.9811 GB, free: 2.195 MB / 0.8855 GB Notification: Performance of matching and sorting (n=38): time 0.001315/0.1662, allocations: 0.8505 MB / 0.9819 GB, free: 1.309 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.1662, allocations: 55.41 kB / 0.9819 GB, free: 1.242 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005922/0.1668, allocations: 0.6829 MB / 0.9826 GB, free: 0.5469 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.1668, allocations: 33.7 kB / 0.9826 GB, free: 0.5078 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.1671, allocations: 0.5766 MB / 0.9832 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.418e-05/0.1672, allocations: 146.8 kB / 0.9833 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.1673, allocations: 127.9 kB / 0.9835 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1675, allocations: 0.5586 MB / 0.984 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.1676, allocations: 85.12 kB / 0.9841 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.1679, allocations: 378.1 kB / 0.9845 GB, free: 14.5 MB / 0.9011 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.0006356/0.1685, allocations: 0.5854 MB / 0.985 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1685, allocations: 4 kB / 0.985 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005686/0.1691, allocations: 480.1 kB / 0.9855 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1691, allocations: 11.75 kB / 0.9855 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1691, allocations: 4 kB / 0.9855 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1691, allocations: 8.719 kB / 0.9855 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.1695, allocations: 147.8 kB / 0.9856 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.1695, allocations: 11.94 kB / 0.9857 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.1699, allocations: 39.92 kB / 0.9857 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.1699, allocations: 28 kB / 0.9857 GB, free: 13.09 MB / 0.9011 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.0001657/0.1701, allocations: 196.4 kB / 0.9859 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-05/0.1701, allocations: 99.47 kB / 0.986 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.477e-05/0.1702, allocations: 79 kB / 0.9861 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1702, allocations: 4 kB / 0.9861 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1702, allocations: 0 / 0.9861 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003197/0.1705, allocations: 0.5164 MB / 0.9866 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.1717, allocations: 1.214 MB / 0.9878 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1717, allocations: 4 kB / 0.9878 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.1719, allocations: 83.89 kB / 0.9879 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1719, allocations: 4 kB / 0.9879 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.172, allocations: 19.98 kB / 0.9879 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.172, allocations: 12.02 kB / 0.9879 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/0.172, allocations: 12.36 kB / 0.9879 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005193/0.1725, allocations: 0.6304 MB / 0.9885 GB, free: 9.926 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.1727, allocations: 131.5 kB / 0.9886 GB, free: 9.797 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-05/0.1727, allocations: 19.94 kB / 0.9887 GB, free: 9.777 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/0.173, allocations: 27.97 kB / 0.9887 GB, free: 9.75 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.1731, allocations: 35.83 kB / 0.9887 GB, free: 9.715 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/0.1731, allocations: 27.98 kB / 0.9888 GB, free: 9.688 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003258/0.1734, allocations: 427 kB / 0.9892 GB, free: 9.277 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.1734, allocations: 4 kB / 0.9892 GB, free: 9.273 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004858/0.1739, allocations: 251.9 kB / 0.9894 GB, free: 9.027 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.0002416/0.1742, allocations: 170.9 kB / 0.9896 GB, free: 8.852 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003984/0.1746, allocations: 280.9 kB / 0.9898 GB, free: 8.574 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1746, allocations: 0 / 0.9898 GB, free: 8.574 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1747, allocations: 113 kB / 0.9899 GB, free: 8.461 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.1758, allocations: 470.2 kB / 0.9904 GB, free: 8.008 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.1775, allocations: 1.62 MB / 0.992 GB, free: 6.277 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.1777, allocations: 238.9 kB / 0.9922 GB, free: 6.023 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004626/0.1782, allocations: 182.3 kB / 0.9924 GB, free: 5.84 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.1783, allocations: 60.5 kB / 0.9924 GB, free: 5.781 MB / 0.9011 GB Notification: Performance of SimCode: time 6.11e-07/0.1783, allocations: 4 kB / 0.9924 GB, free: 5.777 MB / 0.9011 GB Notification: Performance of Templates: time 0.02079/0.1991, allocations: 16.52 MB / 1.009 GB, free: 5.656 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.594246095046401]