Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.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.001111/0.001111, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001549/0.00266, allocations: 440 kB / 10.41 MB, free: 284 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.001078/0.001078, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001402/0.00248, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9815/0.9815, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08503/1.067, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.461/2.461, allocations: 447.1 MB / 0.675 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2487/2.709, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.8189 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.401e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1442/0.1442, allocations: 147 MB / 0.9624 GB, free: 15 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003139/0.1474, allocations: 2.361 MB / 0.9647 GB, free: 12.63 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003171/0.1477, allocations: 23.81 kB / 0.9647 GB, free: 12.61 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.1481, allocations: 139.1 kB / 0.9649 GB, free: 12.47 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.1492, allocations: 0.6215 MB / 0.9655 GB, free: 11.84 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.1497, allocations: 327.2 kB / 0.9658 GB, free: 11.52 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000963/0.1506, allocations: 0.9466 MB / 0.9667 GB, free: 10.57 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005407/0.1512, allocations: 260.4 kB / 0.967 GB, free: 10.33 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009897/0.1522, allocations: 0.6097 MB / 0.9676 GB, free: 9.734 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003824/0.1526, allocations: 251.2 kB / 0.9678 GB, free: 9.488 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.262e-05/0.1526, allocations: 32 kB / 0.9678 GB, free: 9.457 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004397/0.153, allocations: 291.1 kB / 0.9681 GB, free: 9.172 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1531, allocations: 119.6 kB / 0.9682 GB, free: 9.055 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.1533, allocations: 127.8 kB / 0.9683 GB, free: 8.93 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005374/0.1538, allocations: 422.5 kB / 0.9687 GB, free: 8.516 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/0.1538, allocations: 4 kB / 0.9688 GB, free: 8.512 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1538, allocations: 0 / 0.9688 GB, free: 8.512 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.1538, allocations: 0 / 0.9688 GB, free: 8.512 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007769/0.1546, allocations: 0.6784 MB / 0.9694 GB, free: 7.805 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1546, allocations: 12.02 kB / 0.9694 GB, free: 7.793 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006002/0.1552, allocations: 237.6 kB / 0.9697 GB, free: 7.543 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.1556, allocations: 300.4 kB / 0.9699 GB, free: 7.219 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.1557, allocations: 24.62 kB / 0.97 GB, free: 7.195 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.1557, allocations: 27.94 kB / 0.97 GB, free: 7.168 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.1559, allocations: 300.3 kB / 0.9703 GB, free: 6.836 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1559, allocations: 7.938 kB / 0.9703 GB, free: 6.828 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.156, allocations: 12 kB / 0.9703 GB, free: 6.816 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.156, allocations: 8.5 kB / 0.9703 GB, free: 6.809 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.1561, allocations: 89.38 kB / 0.9704 GB, free: 6.719 MB / 0.948 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.0007729/0.1569, allocations: 0.6172 MB / 0.971 GB, free: 6.086 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.1571, allocations: 109.3 kB / 0.9711 GB, free: 5.969 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.1571, allocations: 44.77 kB / 0.9711 GB, free: 5.922 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.1571, allocations: 4 kB / 0.9711 GB, free: 5.918 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1571, allocations: 42.5 kB / 0.9712 GB, free: 5.867 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.1571, allocations: 0 / 0.9712 GB, free: 5.867 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0003983/0.1575, allocations: 187.7 kB / 0.9714 GB, free: 5.676 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.1576, allocations: 59.34 kB / 0.9714 GB, free: 5.605 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.1577, allocations: 258.9 kB / 0.9717 GB, free: 5.34 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1577, allocations: 33.7 kB / 0.9717 GB, free: 5.301 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.1578, allocations: 173.2 kB / 0.9719 GB, free: 5.129 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.1578, allocations: 75.31 kB / 0.9719 GB, free: 5.055 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.1579, allocations: 45.69 kB / 0.972 GB, free: 5.004 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.855e-05/0.158, allocations: 342.7 kB / 0.9723 GB, free: 4.66 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.863e-05/0.158, allocations: 22.83 kB / 0.9723 GB, free: 4.637 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.247e-05/0.158, allocations: 69.97 kB / 0.9724 GB, free: 4.547 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.1581, allocations: 121.8 kB / 0.9725 GB, free: 4.406 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1582, allocations: 8 kB / 0.9725 GB, free: 4.398 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001436/0.1583, allocations: 132.3 kB / 0.9726 GB, free: 4.262 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.1583, allocations: 4 kB / 0.9726 GB, free: 4.258 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1583, allocations: 4 kB / 0.9727 GB, free: 4.254 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.1583, allocations: 0 / 0.9727 GB, free: 4.254 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.1584, allocations: 55.91 kB / 0.9727 GB, free: 4.199 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1585, allocations: 4 kB / 0.9727 GB, free: 4.195 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.1586, allocations: 20.08 kB / 0.9727 GB, free: 4.176 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1586, allocations: 12 kB / 0.9727 GB, free: 4.164 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.543e-05/0.1587, allocations: 124.5 kB / 0.9729 GB, free: 4.031 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.1587, allocations: 27.97 kB / 0.9729 GB, free: 4.004 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.1587, allocations: 38.23 kB / 0.9729 GB, free: 3.965 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1587, allocations: 0 / 0.9729 GB, free: 3.965 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1587, allocations: 4 kB / 0.9729 GB, free: 3.961 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1587, allocations: 0 / 0.9729 GB, free: 3.961 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.159, allocations: 201.6 kB / 0.9731 GB, free: 3.746 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.159, allocations: 0 / 0.9731 GB, free: 3.746 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.1591, allocations: 47.91 kB / 0.9732 GB, free: 3.699 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.97e-05/0.1592, allocations: 39.73 kB / 0.9732 GB, free: 3.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001587/0.1593, allocations: 50.48 kB / 0.9732 GB, free: 3.605 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1593, allocations: 0 / 0.9732 GB, free: 3.605 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006418/0.16, allocations: 1.234 MB / 0.9745 GB, free: 2.273 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.16, allocations: 3.938 kB / 0.9745 GB, free: 2.27 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.1602, allocations: 271.2 kB / 0.9747 GB, free: 1.984 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.1602, allocations: 7.938 kB / 0.9747 GB, free: 1.977 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.1603, allocations: 8 kB / 0.9747 GB, free: 1.969 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.1604, allocations: 11.97 kB / 0.9747 GB, free: 1.957 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.1604, allocations: 4 kB / 0.9747 GB, free: 1.953 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.759e-05/0.1604, allocations: 108.6 kB / 0.9748 GB, free: 1.844 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1604, allocations: 0 / 0.9748 GB, free: 1.844 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002288/0.1607, allocations: 107.8 kB / 0.975 GB, free: 1.738 MB / 0.948 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.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001266/0.1608, allocations: 80.42 kB / 0.975 GB, free: 1.652 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001328/0.1609, allocations: 99.66 kB / 0.9751 GB, free: 1.555 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.1609, allocations: 7.938 kB / 0.9751 GB, free: 1.547 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.1611, allocations: 185.7 kB / 0.9753 GB, free: 1.352 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008133/0.1619, allocations: 1.265 MB / 0.9765 GB, free: 15.85 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.1643, allocations: 0.5853 MB / 0.9771 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.178e-05/0.1643, allocations: 109.5 kB / 0.9772 GB, free: 15.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001428/0.1645, allocations: 42.95 kB / 0.9773 GB, free: 15.06 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.1647, allocations: 169.1 kB / 0.9774 GB, free: 14.89 MB / 0.9636 GB Notification: Performance of SimCode: time 6.51e-07/0.1647, allocations: 0 / 0.9774 GB, free: 14.89 MB / 0.9636 GB Notification: Performance of Templates: time 0.00878/0.1735, allocations: 7.746 MB / 0.985 GB, free: 7.359 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.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.556855966337025]