Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.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.00108/0.00108, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001727/0.002807, allocations: 449.8 kB / 10.44 MB, free: 252 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.001086/0.001086, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001583/0.002669, allocations: 479.5 kB / 11.83 MB, free: 2.344 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.8817/0.8817, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09213/0.9739, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.72/1.72, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4872/2.207, allocations: 123.3 MB / 0.7283 GB, free: 5.75 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.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.7296 GB, free: 4.453 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.252e-05, allocations: 4.281 kB / 0.7296 GB, free: 4.449 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.133/0.133, allocations: 136.7 MB / 0.8631 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.007727/0.1408, allocations: 7.141 MB / 0.8701 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004535/0.1412, allocations: 23.81 kB / 0.8701 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004974/0.1417, allocations: 202.5 kB / 0.8703 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.00283/0.1445, allocations: 1.065 MB / 0.8713 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00393/0.1485, allocations: 1.224 MB / 0.8725 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001751/0.1502, allocations: 1.375 MB / 0.8739 GB, free: 432 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005525/0.1508, allocations: 378.9 kB / 0.8742 GB, free: 48 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.1524, allocations: 0.9481 MB / 0.8752 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001815/0.1542, allocations: 0.9668 MB / 0.8761 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.407e-05/0.1543, allocations: 52 kB / 0.8762 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.1561, allocations: 1.299 MB / 0.8774 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.1562, allocations: 127.5 kB / 0.8775 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.1564, allocations: 211.6 kB / 0.8778 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.1576, allocations: 1.079 MB / 0.8788 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.164e-05/0.1576, allocations: 0 / 0.8788 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1576, allocations: 0 / 0.8788 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.596e-05/0.1576, allocations: 0 / 0.8788 GB, free: 11.36 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001449/0.1591, allocations: 1.112 MB / 0.8799 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.1591, allocations: 8.031 kB / 0.8799 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005949/0.1597, allocations: 232.2 kB / 0.8801 GB, free: 9.969 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.1601, allocations: 321.2 kB / 0.8804 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.1601, allocations: 49.69 kB / 0.8805 GB, free: 9.578 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.739e-05/0.1601, allocations: 52.38 kB / 0.8805 GB, free: 9.527 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005704/0.1607, allocations: 0.8305 MB / 0.8813 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.1607, allocations: 7.875 kB / 0.8813 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.1608, allocations: 28 kB / 0.8814 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.1608, allocations: 16 kB / 0.8814 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.161, allocations: 203.2 kB / 0.8816 GB, free: 8.316 MB / 0.8542 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.001561/0.1626, allocations: 1.916 MB / 0.8834 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.1628, allocations: 150.5 kB / 0.8836 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.223e-05/0.1629, allocations: 68.77 kB / 0.8837 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002413/0.1653, allocations: 1.376 MB / 0.885 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.1653, allocations: 38.56 kB / 0.885 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=36): time 1.874e-06/0.1653, allocations: 0 / 0.885 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of matching and sorting (n=52): time 0.01755/0.1828, allocations: 8.059 MB / 0.8929 GB, free: 12.62 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.1829, allocations: 63.91 kB / 0.893 GB, free: 12.54 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.1831, allocations: 311.3 kB / 0.8933 GB, free: 12.23 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.1831, allocations: 33.7 kB / 0.8933 GB, free: 12.19 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.1832, allocations: 281.2 kB / 0.8936 GB, free: 11.91 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 8.843e-05/0.1833, allocations: 182.4 kB / 0.8937 GB, free: 11.73 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.1834, allocations: 110.2 kB / 0.8938 GB, free: 11.62 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.1835, allocations: 358.7 kB / 0.8942 GB, free: 11.26 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.1836, allocations: 85.28 kB / 0.8943 GB, free: 11.18 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.1838, allocations: 297.4 kB / 0.8946 GB, free: 10.82 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.1841, allocations: 348.5 kB / 0.8949 GB, free: 10.43 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1841, allocations: 0 / 0.8949 GB, free: 10.43 MB / 0.8699 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005666/0.1846, allocations: 439.5 kB / 0.8953 GB, free: 9.988 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1846, allocations: 11.94 kB / 0.8953 GB, free: 9.977 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1846, allocations: 4 kB / 0.8953 GB, free: 9.973 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002573/0.1849, allocations: 105.9 kB / 0.8954 GB, free: 9.863 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.1852, allocations: 143.8 kB / 0.8956 GB, free: 9.723 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.1866, allocations: 2.763 MB / 0.8983 GB, free: 6.789 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.1868, allocations: 31.98 kB / 0.8983 GB, free: 6.758 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.1869, allocations: 15.98 kB / 0.8983 GB, free: 6.742 MB / 0.8699 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (65): * Single equations (assignments): 63 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.187, allocations: 148.5 kB / 0.8984 GB, free: 6.586 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.1871, allocations: 83.47 kB / 0.8985 GB, free: 6.504 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005854/0.1877, allocations: 482.6 kB / 0.899 GB, free: 6.02 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1877, allocations: 11.94 kB / 0.899 GB, free: 6.008 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.1877, allocations: 0 / 0.899 GB, free: 6.008 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1877, allocations: 3.984 kB / 0.899 GB, free: 6.004 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.189, allocations: 0.8705 MB / 0.8998 GB, free: 5.062 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.189, allocations: 4 kB / 0.8999 GB, free: 5.059 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.1893, allocations: 123.8 kB / 0.9 GB, free: 4.938 MB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.1893, allocations: 39.66 kB / 0.9 GB, free: 4.898 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001373/0.1895, allocations: 73.03 kB / 0.9001 GB, free: 4.824 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.1895, allocations: 12 kB / 0.9001 GB, free: 4.812 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006729/0.1901, allocations: 1.383 MB / 0.9014 GB, free: 3.344 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1902, allocations: 15.86 kB / 0.9015 GB, free: 3.328 MB / 0.8699 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005837/0.1907, allocations: 0.577 MB / 0.902 GB, free: 2.695 MB / 0.8699 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.1908, allocations: 15.94 kB / 0.902 GB, free: 2.68 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.191, allocations: 23.98 kB / 0.9021 GB, free: 2.656 MB / 0.8699 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.191, allocations: 43.88 kB / 0.9021 GB, free: 2.613 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.191, allocations: 15.98 kB / 0.9021 GB, free: 2.598 MB / 0.8699 GB Notification: Performance of sorting global known variables: time 8.733e-05/0.1911, allocations: 132.7 kB / 0.9022 GB, free: 2.469 MB / 0.8699 GB Notification: Performance of sort global known variables: time 7e-08/0.1911, allocations: 0 / 0.9022 GB, free: 2.469 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.001606/0.1927, allocations: 0.7652 MB / 0.903 GB, free: 1.703 MB / 0.8699 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.VWat,volSte.VWat) * 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 (46): * Single equations (assignments): 45 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002023/0.1947, allocations: 0.4897 MB / 0.9035 GB, free: 1.203 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.0005792/0.1953, allocations: 0.5518 MB / 0.904 GB, free: 0.625 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/0.1953, allocations: 9.125 kB / 0.904 GB, free: 0.6172 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.0002622/0.1956, allocations: 300 kB / 0.9043 GB, free: 316 kB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000872/0.1965, allocations: 1.136 MB / 0.9054 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006264/0.2027, allocations: 1.03 MB / 0.9064 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.2031, allocations: 142 kB / 0.9065 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000248/0.2033, allocations: 113.1 kB / 0.9067 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/0.2037, allocations: 249 kB / 0.9069 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of SimCode: time 8.31e-07/0.2037, allocations: 0 / 0.9069 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of Templates: time 0.0393/0.243, allocations: 38.26 MB / 0.9443 GB, free: 7.543 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.552094756625593]