Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.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.0008465/0.0008465, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001081/0.001928, 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.0008501/0.0008501, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009126/0.001763, 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.9426/0.9426, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09293/1.036, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.842/1.842, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5918/2.434, allocations: 123.3 MB / 0.728 GB, free: 5.828 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.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.Boiler.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7293 GB, free: 4.574 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.882e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.566 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.155/0.1551, allocations: 147.4 MB / 0.8733 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004835/0.1599, allocations: 2.978 MB / 0.8762 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006255/0.1605, allocations: 23.81 kB / 0.8762 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007314/0.1613, allocations: 218.6 kB / 0.8764 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001775/0.163, allocations: 0.7537 MB / 0.8772 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.1644, allocations: 410.8 kB / 0.8776 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001258/0.1656, allocations: 1.118 MB / 0.8786 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007645/0.1664, allocations: 301.2 kB / 0.8789 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.1675, allocations: 0.7338 MB / 0.8797 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000426/0.168, allocations: 295.1 kB / 0.8799 GB, free: 9.988 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.671e-05/0.168, allocations: 47.94 kB / 0.88 GB, free: 9.941 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006447/0.1687, allocations: 335.1 kB / 0.8803 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.1688, allocations: 151.5 kB / 0.8804 GB, free: 9.465 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.169, allocations: 151.7 kB / 0.8806 GB, free: 9.316 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0008253/0.1698, allocations: 0.5373 MB / 0.8811 GB, free: 8.777 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-05/0.1698, allocations: 0 / 0.8811 GB, free: 8.777 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1698, allocations: 7.875 kB / 0.8811 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.726e-05/0.1698, allocations: 0 / 0.8811 GB, free: 8.77 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001055/0.1709, allocations: 0.8725 MB / 0.882 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.1709, allocations: 12.03 kB / 0.882 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006286/0.1716, allocations: 241.6 kB / 0.8822 GB, free: 7.605 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000502/0.1721, allocations: 378.5 kB / 0.8826 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.1721, allocations: 28.78 kB / 0.8826 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.1721, allocations: 28 kB / 0.8826 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.1725, allocations: 347.3 kB / 0.883 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.1725, allocations: 4 kB / 0.883 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.1725, allocations: 12 kB / 0.883 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.1725, allocations: 12.64 kB / 0.883 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.1727, allocations: 89.98 kB / 0.8831 GB, free: 6.656 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.001022/0.1737, allocations: 0.6787 MB / 0.8837 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.1739, allocations: 172.4 kB / 0.8839 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.315e-05/0.174, allocations: 45.28 kB / 0.8839 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.174, allocations: 7.938 kB / 0.884 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.1742, allocations: 216.9 kB / 0.8842 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=26): time 1.924e-06/0.1742, allocations: 0 / 0.8842 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29): time 0.001444/0.1756, allocations: 0.6781 MB / 0.8848 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.1757, allocations: 51.41 kB / 0.8849 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.1759, allocations: 374.1 kB / 0.8852 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.176, allocations: 33.7 kB / 0.8853 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.677e-05/0.1761, allocations: 201.4 kB / 0.8854 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.782e-05/0.1761, allocations: 111 kB / 0.8856 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.082e-05/0.1762, allocations: 70.05 kB / 0.8856 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004019/0.1766, allocations: 358.7 kB / 0.886 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.405e-05/0.1767, allocations: 39.56 kB / 0.886 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.513e-05/0.1768, allocations: 106 kB / 0.8861 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.1769, allocations: 165.5 kB / 0.8863 GB, free: 3.195 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1769, allocations: 0 / 0.8863 GB, free: 3.195 MB / 0.8542 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003558/0.1773, allocations: 256.3 kB / 0.8865 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1773, allocations: 12.16 kB / 0.8865 GB, free: 2.922 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1773, allocations: 0 / 0.8865 GB, free: 2.922 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002467/0.1776, allocations: 87.59 kB / 0.8866 GB, free: 2.832 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.1777, allocations: 75.91 kB / 0.8867 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.1789, allocations: 1.557 MB / 0.8882 GB, free: 1.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.179, allocations: 8 kB / 0.8882 GB, free: 1.098 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.1791, allocations: 16.03 kB / 0.8882 GB, free: 1.082 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.1792, allocations: 132.5 kB / 0.8883 GB, free: 0.9414 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.1792, allocations: 39.95 kB / 0.8884 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003465/0.1796, allocations: 230.3 kB / 0.8886 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1796, allocations: 7.938 kB / 0.8886 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1796, allocations: 7.938 kB / 0.8886 GB, free: 0.6484 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1796, allocations: 0 / 0.8886 GB, free: 0.6484 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006897/0.1803, allocations: 0.5699 MB / 0.8892 GB, free: 52 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1803, allocations: 0 / 0.8892 GB, free: 52 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.1806, allocations: 102.8 kB / 0.8893 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/0.1807, allocations: 55.66 kB / 0.8893 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001896/0.1809, allocations: 75.61 kB / 0.8894 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1809, allocations: 11.98 kB / 0.8894 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007162/0.1816, allocations: 1.267 MB / 0.8906 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1816, allocations: 0 / 0.8906 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007616/0.1824, allocations: 402 kB / 0.891 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.1824, allocations: 8 kB / 0.891 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.1826, allocations: 11.98 kB / 0.891 GB, free: 14 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.1826, allocations: 27.89 kB / 0.8911 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.1826, allocations: 4 kB / 0.8911 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001254/0.1828, allocations: 156.6 kB / 0.8912 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.1828, allocations: 4 kB / 0.8912 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003601/0.1831, allocations: 124 kB / 0.8913 GB, free: 13.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001485/0.1846, allocations: 0.5608 MB / 0.8919 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004057/0.185, allocations: 290.5 kB / 0.8922 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/0.185, allocations: 8 kB / 0.8922 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.1852, allocations: 199.8 kB / 0.8924 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006235/0.1858, allocations: 295.7 kB / 0.8927 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/0.1889, allocations: 0.8364 MB / 0.8935 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.838e-05/0.189, allocations: 129.2 kB / 0.8936 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002569/0.1893, allocations: 72.28 kB / 0.8937 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.1896, allocations: 197.2 kB / 0.8939 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of SimCode: time 1.513e-06/0.1896, allocations: 0 / 0.8939 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of Templates: time 0.0141/0.2037, allocations: 10.85 MB / 0.9044 GB, free: 0.7109 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_12_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.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.516129728406668]