Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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.001512/0.001512, allocations: 107.1 kB / 20.44 MB, free: 1.324 MB / 14.72 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.001665/0.001665, allocations: 196.5 kB / 23.72 MB, free: 4.492 MB / 14.72 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 1.344/1.344, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.906/0.906, allocations: 120.6 MB / 434.5 MB, free: 0.668 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 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(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.91 kB / 0.6087 GB, free: 8.66 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1417, allocations: 85.87 MB / 0.6926 GB, free: 2.578 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002319/0.144, allocations: 1.365 MB / 0.6939 GB, free: 1.203 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0008943/0.1449, allocations: 0.5185 MB / 0.6944 GB, free: 0.6836 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.034e-05/0.1449, allocations: 0 / 0.6944 GB, free: 0.6836 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 7.656e-05/0.145, allocations: 11.92 kB / 0.6944 GB, free: 0.6719 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.1453, allocations: 59.72 kB / 0.6945 GB, free: 0.6133 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001023/0.1454, allocations: 47.83 kB / 0.6946 GB, free: 0.5664 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.1456, allocations: 195.5 kB / 0.6947 GB, free: 384 kB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.1456, allocations: 8.172 kB / 0.6947 GB, free: 376 kB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.1458, allocations: 83.75 kB / 0.6948 GB, free: 292 kB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.146, allocations: 99.67 kB / 0.6949 GB, free: 192 kB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.146, allocations: 8 kB / 0.6949 GB, free: 184 kB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1461, allocations: 31.98 kB / 0.695 GB, free: 152 kB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 9.681e-05/0.1462, allocations: 67.84 kB / 0.695 GB, free: 84 kB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 7.863e-05/0.1463, allocations: 67.7 kB / 0.6951 GB, free: 16 kB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.1465, allocations: 143.4 kB / 0.6952 GB, free: 15.88 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1465, allocations: 4 kB / 0.6952 GB, free: 15.87 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1465, allocations: 0 / 0.6952 GB, free: 15.87 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.1465, allocations: 4 kB / 0.6952 GB, free: 15.87 MB / 0.5295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007248/0.1472, allocations: 397.9 kB / 0.6956 GB, free: 15.45 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.1473, allocations: 8.031 kB / 0.6956 GB, free: 15.44 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.1473, allocations: 20.84 kB / 0.6956 GB, free: 15.42 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.1475, allocations: 158 kB / 0.6958 GB, free: 15.24 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.1476, allocations: 12.23 kB / 0.6958 GB, free: 15.23 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.1476, allocations: 19.95 kB / 0.6958 GB, free: 15.21 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.1479, allocations: 171.4 kB / 0.696 GB, free: 15.04 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1479, allocations: 0 / 0.696 GB, free: 15.04 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.1479, allocations: 4 kB / 0.696 GB, free: 15.03 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1479, allocations: 8 kB / 0.696 GB, free: 15.02 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.1482, allocations: 144.6 kB / 0.6961 GB, free: 14.88 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.1485, allocations: 206.1 kB / 0.6963 GB, free: 14.65 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009107/0.1494, allocations: 346.7 kB / 0.6967 GB, free: 14.3 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.1495, allocations: 112.8 kB / 0.6968 GB, free: 14.19 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.1497, allocations: 15.92 kB / 0.6968 GB, free: 14.18 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.1497, allocations: 38.5 kB / 0.6968 GB, free: 14.13 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=28): time 1.422e-06/0.1497, allocations: 4 kB / 0.6968 GB, free: 14.12 MB / 0.5295 GB Notification: Performance of matching and sorting (n=28): time 0.0006373/0.1503, allocations: 378.8 kB / 0.6972 GB, free: 13.75 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.1504, allocations: 55.41 kB / 0.6972 GB, free: 13.68 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.1505, allocations: 132.5 kB / 0.6974 GB, free: 13.55 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.1505, allocations: 29.7 kB / 0.6974 GB, free: 13.51 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.1506, allocations: 88.64 kB / 0.6975 GB, free: 13.42 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.1507, allocations: 119 kB / 0.6976 GB, free: 13.3 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.929e-05/0.1508, allocations: 58.03 kB / 0.6976 GB, free: 13.24 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1509, allocations: 334.8 kB / 0.698 GB, free: 12.9 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.1511, allocations: 120.6 kB / 0.6981 GB, free: 12.79 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.1513, allocations: 137 kB / 0.6982 GB, free: 12.65 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.1517, allocations: 286.2 kB / 0.6985 GB, free: 12.37 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1517, allocations: 0 / 0.6985 GB, free: 12.37 MB / 0.5295 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005405/0.1522, allocations: 353.9 kB / 0.6988 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1523, allocations: 8 kB / 0.6988 GB, free: 12.01 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1523, allocations: 3.984 kB / 0.6988 GB, free: 12.01 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1523, allocations: 0 / 0.6988 GB, free: 12.01 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.1526, allocations: 75.89 kB / 0.6989 GB, free: 11.93 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1526, allocations: 0 / 0.6989 GB, free: 11.93 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.1527, allocations: 23.83 kB / 0.6989 GB, free: 11.91 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.1527, allocations: 8 kB / 0.6989 GB, free: 11.9 MB / 0.5295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (39): * Single equations (assignments): 39 * 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 0.0001234/0.1528, allocations: 141.7 kB / 0.6991 GB, free: 11.75 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.1529, allocations: 19.89 kB / 0.6991 GB, free: 11.73 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006705/0.1535, allocations: 399.2 kB / 0.6995 GB, free: 11.33 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1535, allocations: 4 kB / 0.6995 GB, free: 11.33 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1535, allocations: 0 / 0.6995 GB, free: 11.33 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1535, allocations: 3.984 kB / 0.6995 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.1538, allocations: 241 kB / 0.6997 GB, free: 11.06 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1538, allocations: 4 kB / 0.6997 GB, free: 11.05 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.1542, allocations: 83.91 kB / 0.6998 GB, free: 10.97 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1542, allocations: 4 kB / 0.6998 GB, free: 10.97 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.1543, allocations: 11.98 kB / 0.6998 GB, free: 10.96 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1543, allocations: 4 kB / 0.6998 GB, free: 10.95 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1543, allocations: 3.984 kB / 0.6998 GB, free: 10.95 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007724/0.155, allocations: 0.5262 MB / 0.7003 GB, free: 10.41 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.1552, allocations: 51.73 kB / 0.7004 GB, free: 10.36 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.1552, allocations: 11.98 kB / 0.7004 GB, free: 10.34 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1553, allocations: 12 kB / 0.7004 GB, free: 10.33 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.1553, allocations: 23.95 kB / 0.7004 GB, free: 10.31 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.1554, allocations: 8 kB / 0.7004 GB, free: 10.3 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 7.637e-05/0.1554, allocations: 111.2 kB / 0.7005 GB, free: 10.19 MB / 0.5295 GB Notification: Performance of sort global known variables: time 6e-08/0.1554, allocations: 0 / 0.7005 GB, free: 10.19 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.000269/0.1557, allocations: 64 kB / 0.7006 GB, free: 10.13 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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 Backend phase and start with SimCode phase: time 0.0001492/0.1559, allocations: 119.1 kB / 0.7007 GB, free: 10 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0004746/0.1563, allocations: 287.7 kB / 0.701 GB, free: 9.723 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1563, allocations: 0 / 0.701 GB, free: 9.723 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.1566, allocations: 164.8 kB / 0.7011 GB, free: 9.562 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.1568, allocations: 38.73 kB / 0.7012 GB, free: 9.527 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.1581, allocations: 0.8641 MB / 0.702 GB, free: 8.641 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.1582, allocations: 132.7 kB / 0.7022 GB, free: 8.48 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0002011/0.1584, allocations: 89.8 kB / 0.7022 GB, free: 8.391 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.946e-05/0.1585, allocations: 35.42 kB / 0.7023 GB, free: 8.355 MB / 0.5295 GB Notification: Performance of SimCode: time 2.91e-07/0.1585, allocations: 0 / 0.7023 GB, free: 8.355 MB / 0.5295 GB Notification: Performance of Templates: time 0.006703/0.1652, allocations: 3.221 MB / 0.7054 GB, free: 5.168 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",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.974961241707206]