Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.001023/0.001023, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009502/0.0009502, allocations: 165 kB / 23.02 MB, free: 1.555 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 1.013/1.013, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.103/2.103, allocations: 429.5 MB / 0.6732 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.554e-05, allocations: 9.422 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1492/0.1492, allocations: 151.2 MB / 1.026 GB, free: 14.64 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005258/0.1545, allocations: 3.879 MB / 1.03 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004015/0.1549, allocations: 51.56 kB / 1.03 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007064/0.1556, allocations: 305.8 kB / 1.03 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.1571, allocations: 1.177 MB / 1.031 GB, free: 9.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.1582, allocations: 0.9043 MB / 1.032 GB, free: 8.324 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002244/0.1605, allocations: 2.966 MB / 1.035 GB, free: 5.344 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007389/0.1612, allocations: 0.771 MB / 1.036 GB, free: 4.559 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.1625, allocations: 1.356 MB / 1.037 GB, free: 3.199 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.1636, allocations: 0.8765 MB / 1.038 GB, free: 2.336 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.1638, allocations: 108 kB / 1.038 GB, free: 2.23 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007563/0.1645, allocations: 490.8 kB / 1.038 GB, free: 1.75 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003819/0.1649, allocations: 0.4986 MB / 1.039 GB, free: 1.25 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004355/0.1654, allocations: 490.9 kB / 1.039 GB, free: 0.7695 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.1666, allocations: 1.242 MB / 1.041 GB, free: 15.52 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1667, allocations: 4 kB / 1.041 GB, free: 15.52 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.625e-06/0.1667, allocations: 0 / 1.041 GB, free: 15.52 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.1667, allocations: 4 kB / 1.041 GB, free: 15.52 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.001687/0.1684, allocations: 1.511 MB / 1.042 GB, free: 13.96 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.1684, allocations: 8.031 kB / 1.042 GB, free: 13.96 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.1696, allocations: 431.4 kB / 1.042 GB, free: 13.54 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000868/0.1704, allocations: 0.795 MB / 1.043 GB, free: 12.71 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.1705, allocations: 70.12 kB / 1.043 GB, free: 12.64 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-05/0.1706, allocations: 95.94 kB / 1.043 GB, free: 12.55 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008787/0.1715, allocations: 1.045 MB / 1.044 GB, free: 11.37 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.1715, allocations: 0 / 1.044 GB, free: 11.37 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.1716, allocations: 39.98 kB / 1.044 GB, free: 11.33 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.1716, allocations: 41.98 kB / 1.044 GB, free: 11.29 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005447/0.1722, allocations: 347.7 kB / 1.045 GB, free: 10.95 MB / 1.01 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.002543/0.1747, allocations: 2.202 MB / 1.047 GB, free: 8.703 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/0.1751, allocations: 301.3 kB / 1.047 GB, free: 8.395 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.1752, allocations: 134.1 kB / 1.047 GB, free: 8.262 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 9.075e-05/0.1753, allocations: 28.42 kB / 1.047 GB, free: 8.234 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.1753, allocations: 49.88 kB / 1.047 GB, free: 8.176 MB / 1.01 GB Notification: Performance of pre-optimization done (n=47): time 1.653e-06/0.1753, allocations: 0 / 1.047 GB, free: 8.176 MB / 1.01 GB Notification: Performance of matching and sorting (n=49): time 0.00184/0.1772, allocations: 1.103 MB / 1.049 GB, free: 7.031 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.1772, allocations: 55.91 kB / 1.049 GB, free: 6.965 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004587/0.1777, allocations: 0.6244 MB / 1.049 GB, free: 6.324 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.1777, allocations: 37.7 kB / 1.049 GB, free: 6.281 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.178, allocations: 0.5378 MB / 1.05 GB, free: 5.734 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.1781, allocations: 182.4 kB / 1.05 GB, free: 5.555 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.1782, allocations: 116 kB / 1.05 GB, free: 5.434 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1783, allocations: 0.5586 MB / 1.051 GB, free: 4.863 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.1785, allocations: 89.25 kB / 1.051 GB, free: 4.777 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.1787, allocations: 286.6 kB / 1.051 GB, free: 4.434 MB / 1.01 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.000711/0.1794, allocations: 0.5557 MB / 1.051 GB, free: 3.828 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1794, allocations: 0 / 1.051 GB, free: 3.828 MB / 1.01 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005979/0.18, allocations: 492.2 kB / 1.052 GB, free: 3.332 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.18, allocations: 4 kB / 1.052 GB, free: 3.328 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1801, allocations: 4 kB / 1.052 GB, free: 3.324 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001705/0.1802, allocations: 63.69 kB / 1.052 GB, free: 3.254 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.1805, allocations: 135.8 kB / 1.052 GB, free: 3.121 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5944/0.7749, allocations: 3.614 MB / 1.056 GB, free: 76.06 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006779/0.7756, allocations: 22.14 kB / 1.056 GB, free: 76.06 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/0.7756, allocations: 21.36 kB / 1.056 GB, free: 76.06 MB / 1.01 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: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003348/0.7759, allocations: 194.6 kB / 1.056 GB, free: 75.9 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.7761, allocations: 102.4 kB / 1.056 GB, free: 75.9 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.657e-05/0.7762, allocations: 86.73 kB / 1.056 GB, free: 75.89 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.7762, allocations: 5.719 kB / 1.056 GB, free: 75.89 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.7762, allocations: 0 / 1.056 GB, free: 75.89 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000494/0.7767, allocations: 0.5909 MB / 1.057 GB, free: 75.44 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.7782, allocations: 1.289 MB / 1.058 GB, free: 74.99 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.7782, allocations: 11.88 kB / 1.058 GB, free: 74.99 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/0.7785, allocations: 115.9 kB / 1.058 GB, free: 74.99 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001393/0.7786, allocations: 51.56 kB / 1.058 GB, free: 74.98 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.7787, allocations: 9.688 kB / 1.058 GB, free: 74.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007675/0.7794, allocations: 1.878 MB / 1.06 GB, free: 73.26 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7794, allocations: 2.812 kB / 1.06 GB, free: 73.26 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006478/0.7801, allocations: 0.7152 MB / 1.061 GB, free: 72.91 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.7803, allocations: 141.3 kB / 1.061 GB, free: 72.91 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/0.7803, allocations: 16.3 kB / 1.061 GB, free: 72.91 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.7806, allocations: 28.17 kB / 1.061 GB, free: 72.91 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.034e-05/0.7807, allocations: 47.77 kB / 1.061 GB, free: 72.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.7808, allocations: 33.53 kB / 1.061 GB, free: 72.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002859/0.7811, allocations: 404.1 kB / 1.061 GB, free: 72.76 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.7811, allocations: 1.156 kB / 1.061 GB, free: 72.76 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006446/0.7817, allocations: 281.2 kB / 1.062 GB, free: 72.76 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002702/0.782, allocations: 152.7 kB / 1.062 GB, free: 72.67 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006544/0.7826, allocations: 0.6492 MB / 1.062 GB, free: 72.32 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.7826, allocations: 3.125 kB / 1.062 GB, free: 72.32 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.7829, allocations: 351.5 kB / 1.063 GB, free: 72.13 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.7841, allocations: 0.5092 MB / 1.063 GB, free: 72.11 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.7862, allocations: 1.614 MB / 1.065 GB, free: 71.27 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.7863, allocations: 234.4 kB / 1.065 GB, free: 71.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004543/0.7868, allocations: 164.8 kB / 1.065 GB, free: 71.18 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.7869, allocations: 65.44 kB / 1.065 GB, free: 71.17 MB / 1.01 GB Notification: Performance of SimCode: time 1.372e-06/0.7869, allocations: 0.6562 kB / 1.065 GB, free: 71.17 MB / 1.01 GB Notification: Performance of Templates: time 0.02343/0.8104, allocations: 18.14 MB / 1.083 GB, free: 69.65 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.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: 6.795386293902993]