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.001105/0.001105, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001231/0.001231, allocations: 164.2 kB / 24.86 MB, free: 8.891 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.9924/0.9924, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.919/1.919, allocations: 377.9 MB / 0.6247 GB, free: 8.383 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.232e-06/1.232e-06, allocations: 0 / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.587e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1318/0.1318, allocations: 145.3 MB / 0.9547 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003826/0.1356, allocations: 2.771 MB / 0.9574 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004045/0.1361, allocations: 35.69 kB / 0.9574 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005998/0.1367, allocations: 182.6 kB / 0.9576 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.1379, allocations: 0.7498 MB / 0.9583 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009172/0.1388, allocations: 0.5573 MB / 0.9589 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001374/0.1402, allocations: 1.543 MB / 0.9604 GB, free: 9.809 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000478/0.1407, allocations: 394.3 kB / 0.9608 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004712/0.1454, allocations: 0.8266 MB / 0.9616 GB, free: 8.613 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009009/0.1463, allocations: 446.6 kB / 0.962 GB, free: 8.176 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.1464, allocations: 56 kB / 0.962 GB, free: 8.121 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008199/0.1472, allocations: 351 kB / 0.9624 GB, free: 7.777 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002909/0.1475, allocations: 255.3 kB / 0.9626 GB, free: 7.527 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000371/0.1479, allocations: 247.4 kB / 0.9629 GB, free: 7.285 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.1491, allocations: 0.6971 MB / 0.9635 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1491, allocations: 0 / 0.9635 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1491, allocations: 0 / 0.9635 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.1491, allocations: 0 / 0.9635 GB, free: 6.586 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.001224/0.1503, allocations: 0.9277 MB / 0.9644 GB, free: 5.617 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1504, allocations: 12.03 kB / 0.9645 GB, free: 5.605 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000789/0.1512, allocations: 216.1 kB / 0.9647 GB, free: 5.395 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004973/0.1517, allocations: 465 kB / 0.9651 GB, free: 4.918 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.1517, allocations: 33.12 kB / 0.9651 GB, free: 4.883 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.903e-05/0.1517, allocations: 44 kB / 0.9652 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.1521, allocations: 0.4917 MB / 0.9657 GB, free: 4.277 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1521, allocations: 3.938 kB / 0.9657 GB, free: 4.273 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.1522, allocations: 24 kB / 0.9657 GB, free: 4.25 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.1522, allocations: 16.98 kB / 0.9657 GB, free: 4.234 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.1524, allocations: 142.9 kB / 0.9658 GB, free: 4.098 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.001343/0.1537, allocations: 1.112 MB / 0.9669 GB, free: 2.941 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.1539, allocations: 167.1 kB / 0.9671 GB, free: 2.766 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.36e-05/0.154, allocations: 84.94 kB / 0.9672 GB, free: 2.68 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.913e-05/0.1541, allocations: 19.98 kB / 0.9672 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1541, allocations: 41.39 kB / 0.9672 GB, free: 2.609 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/0.1541, allocations: 0 / 0.9672 GB, free: 2.609 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33): time 0.0008851/0.155, allocations: 0.5606 MB / 0.9678 GB, free: 2.012 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.155, allocations: 55.41 kB / 0.9678 GB, free: 1.945 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.1553, allocations: 382.5 kB / 0.9682 GB, free: 1.555 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.1553, allocations: 37.7 kB / 0.9682 GB, free: 1.512 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.1555, allocations: 307.2 kB / 0.9685 GB, free: 1.207 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.806e-05/0.1555, allocations: 122.9 kB / 0.9686 GB, free: 1.086 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.416e-05/0.1556, allocations: 87.22 kB / 0.9687 GB, free: 0.9922 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1558, allocations: 0.5273 MB / 0.9692 GB, free: 464 kB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.418e-05/0.1558, allocations: 31.97 kB / 0.9693 GB, free: 432 kB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.156, allocations: 176.9 kB / 0.9694 GB, free: 212 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.0003622/0.1563, allocations: 302.2 kB / 0.9697 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1563, allocations: 0 / 0.9697 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002769/0.1566, allocations: 245.2 kB / 0.97 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1566, allocations: 13.81 kB / 0.97 GB, free: 15.63 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1566, allocations: 11.92 kB / 0.97 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.1566, allocations: 0 / 0.97 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.1568, allocations: 63.92 kB / 0.97 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1568, allocations: 7.984 kB / 0.97 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.1571, allocations: 23.89 kB / 0.9701 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.1571, allocations: 8 kB / 0.9701 GB, free: 15.52 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.0001562/0.1573, allocations: 176.5 kB / 0.9702 GB, free: 15.33 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/0.1574, allocations: 51.77 kB / 0.9703 GB, free: 15.28 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.556e-05/0.1574, allocations: 64.17 kB / 0.9704 GB, free: 15.22 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1574, allocations: 0 / 0.9704 GB, free: 15.22 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1574, allocations: 4 kB / 0.9704 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00021/0.1576, allocations: 253.7 kB / 0.9706 GB, free: 14.94 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008441/0.1585, allocations: 0.8441 MB / 0.9714 GB, free: 13.99 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.1585, allocations: 7.938 kB / 0.9714 GB, free: 13.98 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.1587, allocations: 75.84 kB / 0.9715 GB, free: 13.91 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1587, allocations: 4 kB / 0.9715 GB, free: 13.91 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.1587, allocations: 12 kB / 0.9715 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1587, allocations: 4 kB / 0.9715 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.1587, allocations: 15.88 kB / 0.9715 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004273/0.1591, allocations: 0.534 MB / 0.9721 GB, free: 13.25 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.1593, allocations: 79.67 kB / 0.9721 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.1593, allocations: 15.98 kB / 0.9721 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.1595, allocations: 18.19 kB / 0.9722 GB, free: 13.14 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.1595, allocations: 31.89 kB / 0.9722 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.1596, allocations: 23.94 kB / 0.9722 GB, free: 13.09 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001258/0.1597, allocations: 243 kB / 0.9725 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.1597, allocations: 0 / 0.9725 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003587/0.1601, allocations: 140 kB / 0.9726 GB, free: 12.71 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.0002038/0.1603, allocations: 151.1 kB / 0.9727 GB, free: 12.55 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.1605, allocations: 163.3 kB / 0.9729 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1605, allocations: 0 / 0.9729 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 9.606e-05/0.1606, allocations: 101.4 kB / 0.973 GB, free: 12.29 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008246/0.1614, allocations: 286.9 kB / 0.9733 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1627, allocations: 1.013 MB / 0.9742 GB, free: 10.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.1628, allocations: 153.7 kB / 0.9744 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002223/0.163, allocations: 72.23 kB / 0.9745 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004522/0.1634, allocations: 294 kB / 0.9747 GB, free: 10.37 MB / 0.9323 GB Notification: Performance of SimCode: time 9.31e-07/0.1634, allocations: 0 / 0.9747 GB, free: 10.37 MB / 0.9323 GB Notification: Performance of Templates: time 0.01256/0.176, allocations: 10.57 MB / 0.9851 GB, free: 88 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.510213457979262]