Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.001406/0.001406, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.001617/0.001617, allocations: 177 kB / 24.09 MB, free: 412 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.9862/0.9862, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.827/1.827, 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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.397e-05, allocations: 4.984 kB / 0.812 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1406/0.1406, allocations: 145.3 MB / 0.9539 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004387/0.145, allocations: 2.768 MB / 0.9566 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006374/0.1456, allocations: 31.69 kB / 0.9567 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005758/0.1462, allocations: 182.7 kB / 0.9568 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.1476, allocations: 0.7498 MB / 0.9576 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.1489, allocations: 0.5534 MB / 0.9581 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001535/0.1504, allocations: 1.548 MB / 0.9596 GB, free: 9.77 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005694/0.151, allocations: 390.4 kB / 0.96 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/0.1525, allocations: 0.8193 MB / 0.9608 GB, free: 8.582 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006087/0.1531, allocations: 438.7 kB / 0.9612 GB, free: 8.152 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 7.715e-05/0.1532, allocations: 56 kB / 0.9613 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006161/0.1538, allocations: 359 kB / 0.9616 GB, free: 7.746 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.154, allocations: 255.3 kB / 0.9618 GB, free: 7.496 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.1542, allocations: 243.5 kB / 0.9621 GB, free: 7.258 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.1552, allocations: 0.6971 MB / 0.9628 GB, free: 6.559 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1553, allocations: 0 / 0.9628 GB, free: 6.559 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1553, allocations: 0 / 0.9628 GB, free: 6.559 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.1553, allocations: 0 / 0.9628 GB, free: 6.559 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.000967/0.1562, allocations: 0.9316 MB / 0.9637 GB, free: 5.586 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1563, allocations: 8.031 kB / 0.9637 GB, free: 5.578 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006721/0.1569, allocations: 220.1 kB / 0.9639 GB, free: 5.363 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.1575, allocations: 457 kB / 0.9643 GB, free: 4.895 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.1575, allocations: 37.12 kB / 0.9644 GB, free: 4.855 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.567e-05/0.1576, allocations: 44 kB / 0.9644 GB, free: 4.812 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/0.1579, allocations: 0.4956 MB / 0.9649 GB, free: 4.246 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.158, allocations: 4 kB / 0.9649 GB, free: 4.242 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.158, allocations: 16 kB / 0.9649 GB, free: 4.227 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.158, allocations: 16.94 kB / 0.9649 GB, free: 4.211 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.1582, allocations: 142.9 kB / 0.9651 GB, free: 4.074 MB / 0.9167 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.001356/0.1595, allocations: 1.134 MB / 0.9662 GB, free: 2.898 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.1597, allocations: 163.1 kB / 0.9663 GB, free: 2.727 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.623e-05/0.1598, allocations: 77 kB / 0.9664 GB, free: 2.648 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.453e-05/0.1599, allocations: 23.98 kB / 0.9664 GB, free: 2.625 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1599, allocations: 41.39 kB / 0.9665 GB, free: 2.574 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=31): time 1.753e-06/0.1599, allocations: 0 / 0.9665 GB, free: 2.574 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33): time 0.0009208/0.1609, allocations: 0.5645 MB / 0.967 GB, free: 1.973 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.1609, allocations: 51.41 kB / 0.9671 GB, free: 1.91 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.1611, allocations: 382.5 kB / 0.9674 GB, free: 1.52 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.1611, allocations: 33.7 kB / 0.9674 GB, free: 1.48 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.1613, allocations: 319.2 kB / 0.9678 GB, free: 1.164 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/0.1613, allocations: 122.9 kB / 0.9679 GB, free: 1.043 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.484e-05/0.1614, allocations: 79.25 kB / 0.9679 GB, free: 0.957 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002842/0.1617, allocations: 0.5273 MB / 0.9685 GB, free: 428 kB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.277e-05/0.1618, allocations: 35.97 kB / 0.9685 GB, free: 392 kB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.1619, allocations: 180.9 kB / 0.9687 GB, free: 168 kB / 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: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.1622, allocations: 301.5 kB / 0.969 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1622, allocations: 4 kB / 0.969 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002503/0.1625, allocations: 245 kB / 0.9692 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1625, allocations: 7.938 kB / 0.9692 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.1625, allocations: 4 kB / 0.9692 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1625, allocations: 4 kB / 0.9692 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.1627, allocations: 75.84 kB / 0.9693 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.1627, allocations: 0 / 0.9693 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.1628, allocations: 15.89 kB / 0.9693 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.1628, allocations: 12 kB / 0.9693 GB, free: 15.47 MB / 0.9323 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0001249/0.163, allocations: 183.4 kB / 0.9695 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.163, allocations: 59.7 kB / 0.9695 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.887e-05/0.1631, allocations: 56.19 kB / 0.9696 GB, free: 15.17 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1631, allocations: 4 kB / 0.9696 GB, free: 15.17 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1631, allocations: 0 / 0.9696 GB, free: 15.17 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001905/0.1633, allocations: 253.7 kB / 0.9698 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008065/0.1641, allocations: 0.8438 MB / 0.9707 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.1641, allocations: 4 kB / 0.9707 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.1643, allocations: 71.84 kB / 0.9707 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1643, allocations: 8 kB / 0.9707 GB, free: 13.87 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.1643, allocations: 12 kB / 0.9708 GB, free: 13.86 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.1643, allocations: 15.98 kB / 0.9708 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.1643, allocations: 8.375 kB / 0.9708 GB, free: 13.83 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.1647, allocations: 0.5376 MB / 0.9713 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.1648, allocations: 75.67 kB / 0.9714 GB, free: 13.13 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.1648, allocations: 11.98 kB / 0.9714 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.165, allocations: 19.94 kB / 0.9714 GB, free: 13.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.165, allocations: 35.89 kB / 0.9714 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.1651, allocations: 19.94 kB / 0.9715 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003873/0.1655, allocations: 243 kB / 0.9717 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1655, allocations: 4 kB / 0.9717 GB, free: 12.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000369/0.1658, allocations: 144 kB / 0.9718 GB, free: 12.66 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.0002004/0.166, allocations: 139.1 kB / 0.972 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002306/0.1663, allocations: 163.3 kB / 0.9721 GB, free: 12.35 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1663, allocations: 4.375 kB / 0.9721 GB, free: 12.35 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 8.264e-05/0.1663, allocations: 96.23 kB / 0.9722 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00074/0.1671, allocations: 293.2 kB / 0.9725 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.1683, allocations: 1.005 MB / 0.9735 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.1684, allocations: 153.7 kB / 0.9736 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002253/0.1686, allocations: 76.23 kB / 0.9737 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004298/0.169, allocations: 298 kB / 0.974 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of SimCode: time 8.92e-07/0.169, allocations: 0 / 0.974 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of Templates: time 0.01265/0.1817, allocations: 10.43 MB / 0.9842 GB, free: 192 kB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.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.3883714051917195]