Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009319/0.0009319, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009182/0.0009182, allocations: 165 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.9743/0.9743, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.769/1.769, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.649e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1318/0.1318, allocations: 151.1 MB / 0.9347 GB, free: 4.887 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.005329/0.1372, allocations: 3.862 MB / 0.9384 GB, free: 1.023 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006485/0.1378, allocations: 51.56 kB / 0.9385 GB, free: 0.9727 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0008171/0.1386, allocations: 313.7 kB / 0.9388 GB, free: 0.6641 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001704/0.1403, allocations: 1.185 MB / 0.9399 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1417, allocations: 0.9004 MB / 0.9408 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002484/0.1442, allocations: 2.993 MB / 0.9437 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000847/0.145, allocations: 0.7633 MB / 0.9445 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.1471, allocations: 1.527 MB / 0.946 GB, free: 9.293 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008841/0.148, allocations: 0.8647 MB / 0.9468 GB, free: 8.426 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.1481, allocations: 107.9 kB / 0.9469 GB, free: 8.32 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006673/0.1488, allocations: 407.1 kB / 0.9473 GB, free: 7.922 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003156/0.1491, allocations: 0.4986 MB / 0.9478 GB, free: 7.422 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003804/0.1495, allocations: 479 kB / 0.9483 GB, free: 6.953 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.1507, allocations: 1.203 MB / 0.9494 GB, free: 5.746 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1507, allocations: 0 / 0.9494 GB, free: 5.746 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1507, allocations: 3.938 kB / 0.9494 GB, free: 5.742 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.463e-05/0.1507, allocations: 0 / 0.9494 GB, free: 5.742 MB / 0.9011 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.001598/0.1523, allocations: 1.492 MB / 0.9509 GB, free: 4.211 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1524, allocations: 8.031 kB / 0.9509 GB, free: 4.203 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.1534, allocations: 411.3 kB / 0.9513 GB, free: 3.801 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008386/0.1543, allocations: 0.7813 MB / 0.9521 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/0.1543, allocations: 70.11 kB / 0.9521 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.791e-05/0.1544, allocations: 95.95 kB / 0.9522 GB, free: 2.828 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008947/0.1553, allocations: 0.9986 MB / 0.9532 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.1553, allocations: 0 / 0.9532 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.07e-05/0.1554, allocations: 36 kB / 0.9532 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/0.1554, allocations: 30 kB / 0.9532 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005404/0.156, allocations: 359.6 kB / 0.9536 GB, free: 1.293 MB / 0.9011 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.00278/0.1587, allocations: 2.198 MB / 0.9557 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.1591, allocations: 293.1 kB / 0.956 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.1593, allocations: 137.1 kB / 0.9561 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.1594, allocations: 24.48 kB / 0.9562 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.1595, allocations: 53.88 kB / 0.9562 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=47): time 1.724e-06/0.1595, allocations: 0 / 0.9562 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=49): time 0.001813/0.1613, allocations: 1.103 MB / 0.9573 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.1613, allocations: 55.91 kB / 0.9574 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/0.1618, allocations: 0.6244 MB / 0.958 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.1618, allocations: 37.7 kB / 0.958 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.1621, allocations: 0.5378 MB / 0.9585 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.1622, allocations: 178.4 kB / 0.9587 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.1623, allocations: 120 kB / 0.9588 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1625, allocations: 0.5664 MB / 0.9594 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.1626, allocations: 85.25 kB / 0.9594 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/0.1629, allocations: 282.6 kB / 0.9597 GB, free: 10.78 MB / 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006905/0.1636, allocations: 0.5513 MB / 0.9603 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1636, allocations: 0 / 0.9603 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005754/0.1642, allocations: 488.2 kB / 0.9607 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1642, allocations: 8.344 kB / 0.9607 GB, free: 9.676 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1642, allocations: 7.938 kB / 0.9607 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/0.1644, allocations: 63.33 kB / 0.9608 GB, free: 9.598 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.1647, allocations: 131.8 kB / 0.9609 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/0.1665, allocations: 3.623 MB / 0.9645 GB, free: 5.605 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.1668, allocations: 19.94 kB / 0.9645 GB, free: 5.586 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.1668, allocations: 28.08 kB / 0.9645 GB, free: 5.559 MB / 0.9167 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.0001806/0.167, allocations: 196.4 kB / 0.9647 GB, free: 5.355 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.996e-05/0.1671, allocations: 95.48 kB / 0.9648 GB, free: 5.262 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.768e-05/0.1672, allocations: 91.34 kB / 0.9649 GB, free: 5.164 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1672, allocations: 4 kB / 0.9649 GB, free: 5.16 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1672, allocations: 0 / 0.9649 GB, free: 5.16 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004409/0.1676, allocations: 0.5854 MB / 0.9654 GB, free: 4.484 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.169, allocations: 1.295 MB / 0.9667 GB, free: 3.086 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.169, allocations: 4 kB / 0.9667 GB, free: 3.082 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/0.1693, allocations: 116.2 kB / 0.9668 GB, free: 2.969 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001128/0.1694, allocations: 55.64 kB / 0.9669 GB, free: 2.91 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.1695, allocations: 12 kB / 0.9669 GB, free: 2.898 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008665/0.1703, allocations: 1.882 MB / 0.9687 GB, free: 0.8945 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.1703, allocations: 11.97 kB / 0.9687 GB, free: 0.8828 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006414/0.171, allocations: 0.7101 MB / 0.9694 GB, free: 104 kB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.1711, allocations: 143.5 kB / 0.9696 GB, free: 15.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/0.1712, allocations: 8 kB / 0.9696 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.1715, allocations: 23.98 kB / 0.9696 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.193e-05/0.1716, allocations: 51.86 kB / 0.9696 GB, free: 15.88 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/0.1716, allocations: 23.98 kB / 0.9697 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002872/0.1719, allocations: 411 kB / 0.9701 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1719, allocations: 0 / 0.9701 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005044/0.1724, allocations: 283.9 kB / 0.9703 GB, free: 15.18 MB / 0.9323 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.0002232/0.1726, allocations: 147 kB / 0.9705 GB, free: 15.03 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006381/0.1733, allocations: 0.6587 MB / 0.9711 GB, free: 14.33 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1733, allocations: 0 / 0.9711 GB, free: 14.33 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002488/0.1735, allocations: 343.8 kB / 0.9714 GB, free: 13.97 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.1747, allocations: 0.5148 MB / 0.9719 GB, free: 13.47 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.1766, allocations: 1.62 MB / 0.9735 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.1767, allocations: 231.8 kB / 0.9737 GB, free: 11.51 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003731/0.1771, allocations: 162.3 kB / 0.9739 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.1772, allocations: 60.5 kB / 0.974 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of SimCode: time 1.072e-06/0.1772, allocations: 0 / 0.974 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of Templates: time 0.02013/0.1974, allocations: 19.33 MB / 0.9928 GB, free: 8.387 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 5.650658745318651]