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.0007361/0.0007361, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009197/0.001656, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001101/0.001101, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009999/0.002101, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9253/0.9253, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08334/1.009, allocations: 53.63 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.828/1.828, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4974/2.325, allocations: 123.3 MB / 0.728 GB, free: 5.797 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.643e-06/1.643e-06, allocations: 0 / 0.7294 GB, free: 4.473 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.137e-06/1.078e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.469 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1374/0.1374, allocations: 150.9 MB / 0.8767 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006666/0.1441, allocations: 3.982 MB / 0.8806 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.1452, allocations: 55.5 kB / 0.8807 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007801/0.146, allocations: 301.7 kB / 0.881 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.1484, allocations: 1.177 MB / 0.8821 GB, free: 7.707 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.15, allocations: 0.879 MB / 0.883 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003179/0.1532, allocations: 2.982 MB / 0.8859 GB, free: 3.836 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001544/0.1548, allocations: 0.8113 MB / 0.8867 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.1572, allocations: 1.667 MB / 0.8883 GB, free: 1.391 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.1583, allocations: 0.8101 MB / 0.8891 GB, free: 0.5781 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.1585, allocations: 104 kB / 0.8892 GB, free: 488 kB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008251/0.1593, allocations: 415.1 kB / 0.8896 GB, free: 72 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003253/0.1596, allocations: 426.9 kB / 0.89 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004617/0.1601, allocations: 395.4 kB / 0.8904 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.1615, allocations: 1.106 MB / 0.8915 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.475e-05/0.1615, allocations: 4 kB / 0.8915 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.063e-06/0.1615, allocations: 0 / 0.8915 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.031e-05/0.1615, allocations: 0 / 0.8915 GB, free: 14.15 MB / 0.8698 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.001627/0.1632, allocations: 1.597 MB / 0.893 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1632, allocations: 8.031 kB / 0.893 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.1643, allocations: 461.1 kB / 0.8935 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008612/0.1651, allocations: 0.6448 MB / 0.8941 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.1651, allocations: 70.12 kB / 0.8942 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.192e-05/0.1652, allocations: 92 kB / 0.8942 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007893/0.166, allocations: 0.9817 MB / 0.8952 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.166, allocations: 0 / 0.8952 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.422e-05/0.1661, allocations: 36 kB / 0.8952 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-05/0.1661, allocations: 37.98 kB / 0.8953 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.1665, allocations: 245.8 kB / 0.8955 GB, free: 9.801 MB / 0.8698 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.002515/0.169, allocations: 1.809 MB / 0.8973 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.1693, allocations: 296.7 kB / 0.8976 GB, free: 7.648 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.1694, allocations: 101.1 kB / 0.8977 GB, free: 7.547 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.1695, allocations: 40.45 kB / 0.8977 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1695, allocations: 47 kB / 0.8977 GB, free: 7.453 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 2.205e-06/0.1695, allocations: 0 / 0.8977 GB, free: 7.453 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49): time 0.001496/0.171, allocations: 0.8162 MB / 0.8985 GB, free: 6.598 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.171, allocations: 59.84 kB / 0.8986 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.1714, allocations: 0.5428 MB / 0.8991 GB, free: 5.977 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.1714, allocations: 41.7 kB / 0.8992 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.1716, allocations: 401.2 kB / 0.8995 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.252e-05/0.1717, allocations: 186.4 kB / 0.8997 GB, free: 5.348 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.1718, allocations: 114.2 kB / 0.8998 GB, free: 5.23 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.172, allocations: 386.6 kB / 0.9002 GB, free: 4.844 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.843e-05/0.1721, allocations: 60.11 kB / 0.9003 GB, free: 4.781 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.1722, allocations: 216.7 kB / 0.9005 GB, free: 4.523 MB / 0.8698 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.0004839/0.1727, allocations: 444.5 kB / 0.9009 GB, free: 4.051 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1727, allocations: 0 / 0.9009 GB, free: 4.051 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0003816/0.1731, allocations: 341.6 kB / 0.9012 GB, free: 3.703 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1731, allocations: 8 kB / 0.9012 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1731, allocations: 7.984 kB / 0.9012 GB, free: 3.688 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001707/0.1733, allocations: 74.09 kB / 0.9013 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.1736, allocations: 156.1 kB / 0.9015 GB, free: 3.453 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.1752, allocations: 2.494 MB / 0.9039 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.1755, allocations: 16 kB / 0.9039 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.1755, allocations: 23.98 kB / 0.9039 GB, free: 0.7305 MB / 0.8698 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.000198/0.1757, allocations: 144.5 kB / 0.9041 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.013e-05/0.1758, allocations: 71.89 kB / 0.9041 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.355e-05/0.1759, allocations: 87.36 kB / 0.9042 GB, free: 424 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1759, allocations: 4 kB / 0.9042 GB, free: 420 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1759, allocations: 0 / 0.9042 GB, free: 420 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003306/0.1762, allocations: 0.5082 MB / 0.9047 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.1773, allocations: 0.9823 MB / 0.9057 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.1773, allocations: 7.984 kB / 0.9057 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.1777, allocations: 142.7 kB / 0.9058 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.1778, allocations: 103.5 kB / 0.9059 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/0.1779, allocations: 59.83 kB / 0.906 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.1779, allocations: 19.92 kB / 0.906 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008451/0.1788, allocations: 1.297 MB / 0.9073 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1788, allocations: 4 kB / 0.9073 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/0.1793, allocations: 0.5902 MB / 0.9078 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.918e-05/0.1794, allocations: 12 kB / 0.9079 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.1796, allocations: 26.83 kB / 0.9079 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.365e-05/0.1797, allocations: 47.86 kB / 0.9079 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.1797, allocations: 19.98 kB / 0.9079 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001847/0.1799, allocations: 256.6 kB / 0.9082 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.1799, allocations: 0 / 0.9082 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005822/0.1805, allocations: 284 kB / 0.9085 GB, free: 11.73 MB / 0.8855 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.0002442/0.1808, allocations: 132.1 kB / 0.9086 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000492/0.1812, allocations: 0.4897 MB / 0.9091 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.299e-05/0.1813, allocations: 15.98 kB / 0.9091 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.1815, allocations: 252.1 kB / 0.9093 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.1826, allocations: 0.6113 MB / 0.9099 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005664/0.1883, allocations: 1.619 MB / 0.9115 GB, free: 8.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.1884, allocations: 231.7 kB / 0.9117 GB, free: 8.25 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005121/0.189, allocations: 130.4 kB / 0.9118 GB, free: 8.117 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006836/0.1896, allocations: 393 kB / 0.9122 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of SimCode: time 1.563e-06/0.1896, allocations: 0 / 0.9122 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of Templates: time 0.02382/0.2135, allocations: 20.61 MB / 0.9323 GB, free: 3.582 MB / 0.9011 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.ref.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.445322069339454]