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.0009524/0.0009524, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001069/0.001069, allocations: 161 kB / 23.82 MB, free: 0.7539 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.028/1.028, 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.9/1.9, allocations: 377.9 MB / 0.6236 GB, free: 8.586 MB / 0.5886 GB " [Timeout remaining time 177] 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.734e-06/1.734e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.099e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1459/0.1459, allocations: 151.2 MB / 0.9592 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.007441/0.1533, allocations: 3.866 MB / 0.9629 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.1547, allocations: 55.56 kB / 0.963 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008325/0.1555, allocations: 305.7 kB / 0.9633 GB, free: 5.883 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002459/0.1579, allocations: 1.177 MB / 0.9644 GB, free: 4.699 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.1599, allocations: 0.9081 MB / 0.9653 GB, free: 3.789 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.003315/0.1633, allocations: 2.984 MB / 0.9682 GB, free: 0.7969 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.1643, allocations: 0.7786 MB / 0.969 GB, free: 0 / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.1662, allocations: 1.356 MB / 0.9703 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.1678, allocations: 0.8788 MB / 0.9712 GB, free: 13.78 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.1679, allocations: 108 kB / 0.9713 GB, free: 13.67 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.169, allocations: 486.8 kB / 0.9717 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004407/0.1695, allocations: 0.4986 MB / 0.9722 GB, free: 12.7 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0005434/0.17, allocations: 494.9 kB / 0.9727 GB, free: 12.21 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.1717, allocations: 1.25 MB / 0.9739 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1717, allocations: 0 / 0.9739 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1717, allocations: 0 / 0.9739 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.1718, allocations: 0 / 0.9739 GB, free: 10.96 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.001922/0.1737, allocations: 1.519 MB / 0.9754 GB, free: 9.398 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1737, allocations: 8.031 kB / 0.9754 GB, free: 9.391 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.1753, allocations: 427.4 kB / 0.9758 GB, free: 8.973 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.1765, allocations: 0.8027 MB / 0.9766 GB, free: 8.145 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.709e-05/0.1766, allocations: 70.12 kB / 0.9767 GB, free: 8.074 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.1767, allocations: 91.98 kB / 0.9768 GB, free: 7.984 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.1779, allocations: 1.049 MB / 0.9778 GB, free: 6.801 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1779, allocations: 4 kB / 0.9778 GB, free: 6.797 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6e-05/0.178, allocations: 36 kB / 0.9778 GB, free: 6.762 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-05/0.178, allocations: 30 kB / 0.9778 GB, free: 6.734 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005723/0.1786, allocations: 363.7 kB / 0.9782 GB, free: 6.379 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.003111/0.1817, allocations: 2.198 MB / 0.9803 GB, free: 4.133 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003926/0.1821, allocations: 299.2 kB / 0.9806 GB, free: 3.832 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.1822, allocations: 130.8 kB / 0.9808 GB, free: 3.703 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.1824, allocations: 28.48 kB / 0.9808 GB, free: 3.672 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.1824, allocations: 45.89 kB / 0.9808 GB, free: 3.617 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 3.095e-06/0.1824, allocations: 0 / 0.9808 GB, free: 3.617 MB / 0.9323 GB Notification: Performance of matching and sorting (n=49): time 0.002166/0.1846, allocations: 1.115 MB / 0.9819 GB, free: 2.461 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.1846, allocations: 55.91 kB / 0.982 GB, free: 2.395 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005248/0.1851, allocations: 0.6283 MB / 0.9826 GB, free: 1.75 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.1852, allocations: 33.7 kB / 0.9826 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.1854, allocations: 0.5417 MB / 0.9831 GB, free: 1.16 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.1856, allocations: 182.4 kB / 0.9833 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.1857, allocations: 116 kB / 0.9834 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1859, allocations: 0.5625 MB / 0.984 GB, free: 292 kB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.186, allocations: 81.27 kB / 0.984 GB, free: 212 kB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.1863, allocations: 286.6 kB / 0.9843 GB, free: 15.86 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.0007718/0.187, allocations: 0.563 MB / 0.9849 GB, free: 15.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1871, allocations: 4 kB / 0.9849 GB, free: 15.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007846/0.1878, allocations: 484.2 kB / 0.9853 GB, free: 14.76 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1879, allocations: 7.984 kB / 0.9853 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1879, allocations: 4 kB / 0.9853 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000191/0.1881, allocations: 67.62 kB / 0.9854 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.1884, allocations: 123.9 kB / 0.9855 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.1905, allocations: 3.62 MB / 0.9891 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004465/0.191, allocations: 23.98 kB / 0.9891 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/0.191, allocations: 20 kB / 0.9891 GB, free: 10.64 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.0002658/0.1913, allocations: 196.5 kB / 0.9893 GB, free: 10.43 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.1914, allocations: 103.5 kB / 0.9894 GB, free: 10.33 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.434e-05/0.1915, allocations: 87.36 kB / 0.9895 GB, free: 10.24 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1915, allocations: 4 kB / 0.9895 GB, free: 10.24 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1915, allocations: 0 / 0.9895 GB, free: 10.24 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004941/0.192, allocations: 0.5893 MB / 0.9901 GB, free: 9.562 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.1935, allocations: 1.303 MB / 0.9913 GB, free: 8.156 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.1935, allocations: 4.188 kB / 0.9913 GB, free: 8.152 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/0.1938, allocations: 115.9 kB / 0.9914 GB, free: 8.039 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000123/0.1939, allocations: 52.06 kB / 0.9915 GB, free: 7.984 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.1939, allocations: 8 kB / 0.9915 GB, free: 7.977 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.1951, allocations: 1.874 MB / 0.9933 GB, free: 5.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1951, allocations: 7.938 kB / 0.9933 GB, free: 5.973 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006898/0.1958, allocations: 0.7095 MB / 0.994 GB, free: 5.184 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.196, allocations: 143.3 kB / 0.9942 GB, free: 5.043 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.1961, allocations: 19.98 kB / 0.9942 GB, free: 5.023 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/0.1964, allocations: 31.02 kB / 0.9942 GB, free: 4.996 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/0.1965, allocations: 47.81 kB / 0.9943 GB, free: 4.949 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.1965, allocations: 27.98 kB / 0.9943 GB, free: 4.922 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003151/0.1968, allocations: 411 kB / 0.9947 GB, free: 4.527 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1968, allocations: 0 / 0.9947 GB, free: 4.527 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000613/0.1974, allocations: 276 kB / 0.9949 GB, free: 4.258 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.0002517/0.1977, allocations: 159 kB / 0.9951 GB, free: 4.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006993/0.1984, allocations: 0.6516 MB / 0.9957 GB, free: 3.398 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1984, allocations: 4.188 kB / 0.9957 GB, free: 3.395 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.1986, allocations: 346 kB / 0.9961 GB, free: 3.035 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.1999, allocations: 0.5047 MB / 0.9966 GB, free: 2.543 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.2021, allocations: 1.608 MB / 0.9981 GB, free: 0.8359 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.2023, allocations: 231.8 kB / 0.9984 GB, free: 0.5898 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004847/0.2028, allocations: 174.3 kB / 0.9985 GB, free: 424 kB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.2029, allocations: 68.48 kB / 0.9986 GB, free: 356 kB / 0.948 GB Notification: Performance of SimCode: time 1.874e-06/0.2029, allocations: 0 / 0.9986 GB, free: 356 kB / 0.948 GB Notification: Performance of Templates: time 0.0218/0.2247, allocations: 18.18 MB / 1.016 GB, free: 14.63 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.962032723706216]