Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009865/0.0009865, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009279/0.0009279, allocations: 161 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.8983/0.8983, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.774/1.774, allocations: 377.8 MB / 0.6236 GB, free: 8.508 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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.049e-05, allocations: 8.781 kB / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1347/0.1347, allocations: 151.1 MB / 0.9592 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00594/0.1406, allocations: 3.883 MB / 0.9629 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.1417, allocations: 59.5 kB / 0.963 GB, free: 6.129 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007692/0.1425, allocations: 297.8 kB / 0.9633 GB, free: 5.836 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.1447, allocations: 1.177 MB / 0.9644 GB, free: 4.652 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.1463, allocations: 0.9158 MB / 0.9653 GB, free: 3.734 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.003122/0.1494, allocations: 2.982 MB / 0.9682 GB, free: 0.7422 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.1505, allocations: 0.7709 MB / 0.969 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002826/0.1534, allocations: 1.553 MB / 0.9705 GB, free: 14.43 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.1546, allocations: 0.8452 MB / 0.9713 GB, free: 13.58 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002312/0.1549, allocations: 108 kB / 0.9714 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000841/0.1557, allocations: 411 kB / 0.9718 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004184/0.1561, allocations: 0.4908 MB / 0.9723 GB, free: 12.58 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0006013/0.1567, allocations: 483 kB / 0.9728 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.1583, allocations: 1.207 MB / 0.9739 GB, free: 10.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1583, allocations: 0 / 0.9739 GB, free: 10.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1583, allocations: 3.938 kB / 0.974 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.193e-05/0.1583, allocations: 0 / 0.974 GB, free: 10.89 MB / 0.9323 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.001793/0.1601, allocations: 1.504 MB / 0.9754 GB, free: 9.352 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1601, allocations: 8.031 kB / 0.9754 GB, free: 9.344 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.1613, allocations: 407.3 kB / 0.9758 GB, free: 8.945 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009268/0.1623, allocations: 0.7736 MB / 0.9766 GB, free: 8.145 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/0.1623, allocations: 66.12 kB / 0.9766 GB, free: 8.082 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.745e-05/0.1624, allocations: 95.98 kB / 0.9767 GB, free: 7.988 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009815/0.1634, allocations: 0.9986 MB / 0.9777 GB, free: 6.867 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.1634, allocations: 4 kB / 0.9777 GB, free: 6.863 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/0.1635, allocations: 36 kB / 0.9777 GB, free: 6.828 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-05/0.1635, allocations: 37.92 kB / 0.9778 GB, free: 6.789 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005611/0.1641, allocations: 351.7 kB / 0.9781 GB, free: 6.449 MB / 0.9323 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.002974/0.167, allocations: 2.194 MB / 0.9803 GB, free: 4.203 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.1674, allocations: 299.1 kB / 0.9805 GB, free: 3.902 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.1676, allocations: 129.1 kB / 0.9807 GB, free: 3.773 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.1677, allocations: 28.48 kB / 0.9807 GB, free: 3.742 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.1677, allocations: 45.83 kB / 0.9807 GB, free: 3.688 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 2.574e-06/0.1677, allocations: 0 / 0.9807 GB, free: 3.688 MB / 0.9323 GB Notification: Performance of matching and sorting (n=49): time 0.002038/0.1698, allocations: 1.107 MB / 0.9818 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.1698, allocations: 59.91 kB / 0.9819 GB, free: 2.469 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004921/0.1703, allocations: 0.6206 MB / 0.9825 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.1703, allocations: 37.7 kB / 0.9825 GB, free: 1.789 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.1706, allocations: 0.5339 MB / 0.983 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.1707, allocations: 186.4 kB / 0.9832 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.1709, allocations: 115.9 kB / 0.9833 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.171, allocations: 0.5625 MB / 0.9839 GB, free: 376 kB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.1712, allocations: 89.27 kB / 0.984 GB, free: 288 kB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.1714, allocations: 286.6 kB / 0.9842 GB, free: 15.94 MB / 0.948 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.0007448/0.1722, allocations: 0.5591 MB / 0.9848 GB, free: 15.33 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1722, allocations: 3.938 kB / 0.9848 GB, free: 15.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006141/0.1728, allocations: 484.2 kB / 0.9852 GB, free: 14.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1728, allocations: 12.33 kB / 0.9853 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1728, allocations: 8 kB / 0.9853 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/0.173, allocations: 63.34 kB / 0.9853 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.1733, allocations: 131.8 kB / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.1753, allocations: 3.614 MB / 0.989 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.1757, allocations: 23.98 kB / 0.989 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/0.1757, allocations: 20.09 kB / 0.989 GB, free: 10.71 MB / 0.948 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.0002414/0.1759, allocations: 204.3 kB / 0.9892 GB, free: 10.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.1761, allocations: 103.5 kB / 0.9893 GB, free: 10.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.125e-05/0.1761, allocations: 83.36 kB / 0.9894 GB, free: 10.32 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1761, allocations: 4 kB / 0.9894 GB, free: 10.31 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1761, allocations: 0 / 0.9894 GB, free: 10.31 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000471/0.1766, allocations: 0.597 MB / 0.99 GB, free: 9.629 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.1781, allocations: 1.296 MB / 0.9912 GB, free: 8.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1781, allocations: 0 / 0.9912 GB, free: 8.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.1784, allocations: 116.2 kB / 0.9914 GB, free: 8.117 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/0.1785, allocations: 51.66 kB / 0.9914 GB, free: 8.062 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.1785, allocations: 12 kB / 0.9914 GB, free: 8.051 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009151/0.1795, allocations: 1.878 MB / 0.9933 GB, free: 6.051 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.1795, allocations: 11.88 kB / 0.9933 GB, free: 6.039 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000696/0.1802, allocations: 0.7212 MB / 0.994 GB, free: 5.238 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001972/0.1803, allocations: 135.5 kB / 0.9941 GB, free: 5.105 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.518e-05/0.1804, allocations: 16 kB / 0.9941 GB, free: 5.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.1807, allocations: 29.8 kB / 0.9941 GB, free: 5.062 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.048e-05/0.1808, allocations: 47.81 kB / 0.9942 GB, free: 5.016 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.1808, allocations: 27.98 kB / 0.9942 GB, free: 4.988 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003027/0.1811, allocations: 407 kB / 0.9946 GB, free: 4.594 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.1811, allocations: 4.031 kB / 0.9946 GB, free: 4.59 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005698/0.1817, allocations: 283.9 kB / 0.9949 GB, free: 4.312 MB / 0.948 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.0002495/0.182, allocations: 147.1 kB / 0.995 GB, free: 4.156 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000706/0.1827, allocations: 0.6551 MB / 0.9957 GB, free: 3.461 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.1827, allocations: 0 / 0.9957 GB, free: 3.461 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.1829, allocations: 339.5 kB / 0.996 GB, free: 3.109 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.1842, allocations: 0.5159 MB / 0.9965 GB, free: 2.609 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.1863, allocations: 1.596 MB / 0.998 GB, free: 0.9141 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.1865, allocations: 235.8 kB / 0.9983 GB, free: 0.6641 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004437/0.187, allocations: 166.3 kB / 0.9984 GB, free: 0.4961 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.1871, allocations: 60.48 kB / 0.9985 GB, free: 448 kB / 0.948 GB Notification: Performance of SimCode: time 1.152e-06/0.1871, allocations: 0 / 0.9985 GB, free: 448 kB / 0.948 GB Notification: Performance of Templates: time 0.02259/0.2097, allocations: 19.34 MB / 1.017 GB, free: 13.55 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.548513923306018]