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.001061/0.001061, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009136/0.0009136, allocations: 161 kB / 24.16 MB, free: 336 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.9681/0.9681, allocations: 177.2 MB / 204.6 MB, free: 5.215 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.803/1.803, allocations: 377.9 MB / 0.624 GB, free: 8.363 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.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.353e-06/1.353e-06, allocations: 1.094 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.308e-05/1.443e-05, allocations: 5.406 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1364/0.1364, allocations: 147.4 MB / 0.904 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003703/0.1401, allocations: 2.824 MB / 0.9067 GB, free: 20 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003836/0.1405, allocations: 31.86 kB / 0.9068 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.141, allocations: 178.5 kB / 0.9069 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.1423, allocations: 0.7538 MB / 0.9077 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008773/0.1431, allocations: 0.5572 MB / 0.9082 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001676/0.1448, allocations: 1.532 MB / 0.9097 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004689/0.1453, allocations: 391 kB / 0.9101 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.1465, allocations: 0.8401 MB / 0.9109 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005345/0.1471, allocations: 418.7 kB / 0.9113 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 6.544e-05/0.1471, allocations: 52 kB / 0.9114 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004982/0.1476, allocations: 339.1 kB / 0.9117 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.1478, allocations: 259.3 kB / 0.9119 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.148, allocations: 239.5 kB / 0.9122 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007688/0.1488, allocations: 0.7126 MB / 0.9129 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1488, allocations: 0 / 0.9129 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1488, allocations: 0 / 0.9129 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.1488, allocations: 4 kB / 0.9129 GB, free: 9.746 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0008586/0.1496, allocations: 0.7796 MB / 0.9136 GB, free: 8.938 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.1497, allocations: 8.031 kB / 0.9136 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006388/0.1503, allocations: 220.4 kB / 0.9138 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/0.1508, allocations: 398.5 kB / 0.9142 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.1508, allocations: 41.11 kB / 0.9143 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.657e-05/0.1509, allocations: 48 kB / 0.9143 GB, free: 8.215 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.1512, allocations: 0.5139 MB / 0.9148 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1512, allocations: 0 / 0.9148 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.1513, allocations: 16 kB / 0.9148 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.1513, allocations: 17 kB / 0.9148 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.1515, allocations: 130.9 kB / 0.915 GB, free: 7.473 MB / 0.8698 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.001139/0.1526, allocations: 0.8965 MB / 0.9158 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.1528, allocations: 192.3 kB / 0.916 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.169e-05/0.1529, allocations: 72.17 kB / 0.9161 GB, free: 6.281 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.587e-05/0.153, allocations: 23.97 kB / 0.9161 GB, free: 6.258 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.153, allocations: 42.5 kB / 0.9162 GB, free: 6.207 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 1.502e-06/0.153, allocations: 4 kB / 0.9162 GB, free: 6.203 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.0008672/0.1539, allocations: 0.5053 MB / 0.9167 GB, free: 5.664 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.1539, allocations: 55.41 kB / 0.9167 GB, free: 5.598 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.1541, allocations: 315.3 kB / 0.917 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.1541, allocations: 33.7 kB / 0.917 GB, free: 5.238 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.99e-05/0.1542, allocations: 233.4 kB / 0.9173 GB, free: 5.008 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.311e-05/0.1542, allocations: 126.9 kB / 0.9174 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.051e-05/0.1543, allocations: 69.62 kB / 0.9174 GB, free: 4.809 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1545, allocations: 350.7 kB / 0.9178 GB, free: 4.457 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-05/0.1545, allocations: 34.81 kB / 0.9178 GB, free: 4.422 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.1546, allocations: 156.9 kB / 0.918 GB, free: 4.234 MB / 0.8698 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.0002998/0.1549, allocations: 271.9 kB / 0.9182 GB, free: 3.949 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1549, allocations: 4 kB / 0.9182 GB, free: 3.945 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001944/0.1551, allocations: 181.3 kB / 0.9184 GB, free: 3.762 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.1551, allocations: 4 kB / 0.9184 GB, free: 3.758 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.1551, allocations: 7.938 kB / 0.9184 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1551, allocations: 0 / 0.9184 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.1553, allocations: 71.91 kB / 0.9185 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1553, allocations: 8.188 kB / 0.9185 GB, free: 3.672 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.1554, allocations: 11.98 kB / 0.9185 GB, free: 3.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.1555, allocations: 12 kB / 0.9185 GB, free: 3.648 MB / 0.8698 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.0001098/0.1556, allocations: 134.8 kB / 0.9186 GB, free: 3.508 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.1556, allocations: 39.95 kB / 0.9187 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.654e-05/0.1557, allocations: 56.12 kB / 0.9187 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1557, allocations: 4 kB / 0.9187 GB, free: 3.406 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.1557, allocations: 0 / 0.9187 GB, free: 3.406 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001541/0.1558, allocations: 217.7 kB / 0.9189 GB, free: 3.164 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008404/0.1567, allocations: 0.7683 MB / 0.9197 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1567, allocations: 4 kB / 0.9197 GB, free: 2.301 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.1568, allocations: 72.41 kB / 0.9198 GB, free: 2.23 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1568, allocations: 8 kB / 0.9198 GB, free: 2.223 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.1569, allocations: 12 kB / 0.9198 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1569, allocations: 7.984 kB / 0.9198 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/0.1569, allocations: 11.88 kB / 0.9198 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.1572, allocations: 491.5 kB / 0.9203 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.159e-05/0.1573, allocations: 67.67 kB / 0.9203 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.1573, allocations: 12 kB / 0.9203 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.1575, allocations: 23.97 kB / 0.9204 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.1575, allocations: 31.89 kB / 0.9204 GB, free: 1.496 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.1576, allocations: 15.98 kB / 0.9204 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.767e-05/0.1577, allocations: 124.7 kB / 0.9205 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1577, allocations: 3.938 kB / 0.9205 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003123/0.158, allocations: 147.9 kB / 0.9207 GB, free: 1.207 MB / 0.8698 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.0001765/0.1581, allocations: 124.2 kB / 0.9208 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.1583, allocations: 156.5 kB / 0.9209 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.1584, allocations: 4 kB / 0.921 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.034e-05/0.1584, allocations: 97.73 kB / 0.921 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006784/0.1591, allocations: 298 kB / 0.9213 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1602, allocations: 0.9452 MB / 0.9223 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.59e-05/0.1603, allocations: 141.7 kB / 0.9224 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000224/0.1605, allocations: 72.23 kB / 0.9225 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006569/0.1612, allocations: 251 kB / 0.9227 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of SimCode: time 6.61e-07/0.1612, allocations: 8 kB / 0.9227 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of Templates: time 0.01197/0.1731, allocations: 10.43 MB / 0.9329 GB, free: 4.879 MB / 0.8855 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.283907123375684]