Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007156/0.0007156, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000891/0.001607, 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.0006621/0.0006621, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008489/0.001511, 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.9381/0.9381, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08124/1.019, allocations: 53.65 MB / 243.2 MB, free: 15.61 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.806/1.806, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4713/2.277, allocations: 123.3 MB / 0.728 GB, free: 5.848 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.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_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_12_Buildings.Examples.Tutorial.SpaceCooling.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.624e-06/1.624e-06, allocations: 0 / 0.7293 GB, free: 4.59 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.853e-05, allocations: 8.641 kB / 0.7293 GB, free: 4.582 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1611/0.1611, allocations: 146.9 MB / 0.8728 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002519/0.1637, allocations: 2.357 MB / 0.8751 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/0.1639, allocations: 27.75 kB / 0.8751 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.1642, allocations: 131.1 kB / 0.8752 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008192/0.165, allocations: 0.6371 MB / 0.8759 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.1655, allocations: 315.2 kB / 0.8762 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000732/0.1662, allocations: 0.9427 MB / 0.8771 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004701/0.1667, allocations: 255.2 kB / 0.8773 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007561/0.1674, allocations: 0.6282 MB / 0.8779 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.1677, allocations: 243.2 kB / 0.8782 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.1677, allocations: 32 kB / 0.8782 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.168, allocations: 291.1 kB / 0.8785 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.964e-05/0.1681, allocations: 119.7 kB / 0.8786 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1682, allocations: 127.8 kB / 0.8787 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004787/0.1687, allocations: 414.7 kB / 0.8791 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.708e-05/0.1687, allocations: 3.938 kB / 0.8791 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1687, allocations: 0 / 0.8791 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.1688, allocations: 3.938 kB / 0.8791 GB, free: 10.84 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007526/0.1695, allocations: 0.6745 MB / 0.8798 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.1695, allocations: 12.03 kB / 0.8798 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005406/0.1701, allocations: 241.6 kB / 0.88 GB, free: 9.871 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.1704, allocations: 308.4 kB / 0.8803 GB, free: 9.547 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.1704, allocations: 20.62 kB / 0.8803 GB, free: 9.523 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.1705, allocations: 28 kB / 0.8804 GB, free: 9.496 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.1707, allocations: 304.3 kB / 0.8807 GB, free: 9.164 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1707, allocations: 0 / 0.8807 GB, free: 9.164 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.1708, allocations: 8 kB / 0.8807 GB, free: 9.156 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.1708, allocations: 12.5 kB / 0.8807 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.1709, allocations: 73.44 kB / 0.8807 GB, free: 9.074 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.0007923/0.1717, allocations: 0.6094 MB / 0.8813 GB, free: 8.441 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.1719, allocations: 117.2 kB / 0.8815 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/0.1719, allocations: 48.77 kB / 0.8815 GB, free: 8.266 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.1719, allocations: 4 kB / 0.8815 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.172, allocations: 34.5 kB / 0.8815 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.172, allocations: 4 kB / 0.8815 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.0004106/0.1724, allocations: 187.7 kB / 0.8817 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.1724, allocations: 55.41 kB / 0.8818 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.1726, allocations: 262.9 kB / 0.882 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1726, allocations: 33.7 kB / 0.8821 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/0.1726, allocations: 165.2 kB / 0.8822 GB, free: 7.484 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.1727, allocations: 75.38 kB / 0.8823 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/0.1727, allocations: 41.69 kB / 0.8823 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.1728, allocations: 342.7 kB / 0.8827 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.101e-05/0.1729, allocations: 22.81 kB / 0.8827 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.423e-05/0.1729, allocations: 73.98 kB / 0.8827 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.801e-05/0.173, allocations: 115.5 kB / 0.8829 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.173, allocations: 3.938 kB / 0.8829 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000169/0.1732, allocations: 137.2 kB / 0.883 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1732, allocations: 4 kB / 0.883 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1732, allocations: 8.188 kB / 0.883 GB, free: 6.609 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1732, allocations: 4 kB / 0.883 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.1734, allocations: 51.91 kB / 0.8831 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1734, allocations: 4 kB / 0.8831 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.1735, allocations: 15.89 kB / 0.8831 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.1735, allocations: 4 kB / 0.8831 GB, free: 6.531 MB / 0.8542 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 8.527e-05/0.1736, allocations: 132.5 kB / 0.8832 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.1736, allocations: 27.95 kB / 0.8832 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.777e-05/0.1737, allocations: 38.3 kB / 0.8833 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1737, allocations: 8 kB / 0.8833 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1737, allocations: 0 / 0.8833 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1737, allocations: 0 / 0.8833 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.1739, allocations: 197.6 kB / 0.8835 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1739, allocations: 0 / 0.8835 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.1741, allocations: 43.91 kB / 0.8835 GB, free: 6.059 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.1742, allocations: 51.67 kB / 0.8836 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001632/0.1743, allocations: 46.48 kB / 0.8836 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1744, allocations: 8 kB / 0.8836 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000663/0.175, allocations: 1.227 MB / 0.8848 GB, free: 4.625 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.175, allocations: 3.938 kB / 0.8848 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.1752, allocations: 278.7 kB / 0.8851 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1753, allocations: 3.938 kB / 0.8851 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1754, allocations: 8 kB / 0.8851 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/0.1754, allocations: 11.97 kB / 0.8851 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.1754, allocations: 8 kB / 0.8851 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.875e-05/0.1755, allocations: 100.6 kB / 0.8852 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.1755, allocations: 0 / 0.8852 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002104/0.1757, allocations: 107.8 kB / 0.8853 GB, free: 4.094 MB / 0.8542 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.0001139/0.1758, allocations: 84.42 kB / 0.8854 GB, free: 4.004 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.1759, allocations: 91.23 kB / 0.8855 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/0.1759, allocations: 8 kB / 0.8855 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.1761, allocations: 175.3 kB / 0.8856 GB, free: 3.719 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.1765, allocations: 234.9 kB / 0.8859 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.1789, allocations: 0.6048 MB / 0.8865 GB, free: 2.855 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.456e-05/0.1789, allocations: 109.5 kB / 0.8866 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001205/0.179, allocations: 46.95 kB / 0.8866 GB, free: 2.684 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.1793, allocations: 169.2 kB / 0.8868 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of SimCode: time 8.92e-07/0.1793, allocations: 4 kB / 0.8868 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of Templates: time 0.008647/0.1879, allocations: 7.604 MB / 0.8942 GB, free: 11.12 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.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: 4.990538025274873]