Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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.001551/0.001551, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001538/0.001538, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 18.57 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.519/1.519, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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 1.002/1.002, allocations: 88.07 MB / 349.1 MB, free: 14.23 MB / 330.7 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_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 452.5 MB, free: 32.17 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.254e-05, allocations: 4.969 kB / 452.5 MB, free: 32.17 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002146/0.002178, allocations: 1.375 MB / 453.9 MB, free: 31.22 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007714/0.00295, allocations: 0.52 MB / 454.4 MB, free: 30.89 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.644e-05/0.002996, allocations: 3.938 kB / 454.4 MB, free: 30.89 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.0031, allocations: 7.266 kB / 454.4 MB, free: 30.88 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.003408, allocations: 60.53 kB / 454.5 MB, free: 30.86 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001061/0.003514, allocations: 48.2 kB / 454.5 MB, free: 30.83 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003722/0.003886, allocations: 0.5523 MB / 455.1 MB, free: 30.67 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.982e-05/0.003926, allocations: 5.969 kB / 455.1 MB, free: 30.67 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.004221, allocations: 269.2 kB / 455.3 MB, free: 30.59 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003337/0.004555, allocations: 268.3 kB / 455.6 MB, free: 30.52 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 6.817e-05/0.004623, allocations: 28.81 kB / 455.6 MB, free: 30.52 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.004759, allocations: 53.66 kB / 455.7 MB, free: 30.52 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.004951, allocations: 249.5 kB / 455.9 MB, free: 30.42 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.005123, allocations: 182.3 kB / 456.1 MB, free: 30.36 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003805/0.005503, allocations: 490.5 kB / 456.6 MB, free: 30.23 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.005506, allocations: 0 / 456.6 MB, free: 30.23 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005507, allocations: 0 / 456.6 MB, free: 30.23 MB / 410.8 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.005515, allocations: 4 kB / 456.6 MB, free: 30.23 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001556/0.007072, allocations: 0.7448 MB / 457.3 MB, free: 29.79 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.007114, allocations: 14 kB / 457.4 MB, free: 29.79 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.007295, allocations: 81.66 kB / 457.4 MB, free: 29.75 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.007668, allocations: 259.4 kB / 457.7 MB, free: 29.57 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.007696, allocations: 32.81 kB / 457.7 MB, free: 29.56 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.007802, allocations: 69.78 kB / 457.8 MB, free: 29.52 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008059/0.008608, allocations: 0.5837 MB / 458.4 MB, free: 29.35 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.008623, allocations: 6.312 kB / 458.4 MB, free: 29.35 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.261e-05/0.008676, allocations: 14.84 kB / 458.4 MB, free: 29.34 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.008686, allocations: 8.469 kB / 458.4 MB, free: 29.34 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007109/0.009396, allocations: 0.5766 MB / 459 MB, free: 29.21 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000586/0.009982, allocations: 495.5 kB / 459.5 MB, free: 28.95 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002905/0.01289, allocations: 1.327 MB / 460.8 MB, free: 28.59 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005291/0.01342, allocations: 432.1 kB / 461.2 MB, free: 28.47 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.01359, allocations: 32.33 kB / 461.2 MB, free: 28.46 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.01361, allocations: 45.25 kB / 461.3 MB, free: 28.41 MB / 410.8 MB Notification: Performance of pre-optimization done (n=103): time 2.124e-06/0.01361, allocations: 0 / 461.3 MB, free: 28.41 MB / 410.8 MB Notification: Performance of matching and sorting (n=103): time 0.001912/0.01552, allocations: 1.378 MB / 462.7 MB, free: 28 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.01555, allocations: 68.09 kB / 462.7 MB, free: 27.94 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.01567, allocations: 173.1 kB / 462.9 MB, free: 27.82 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.01571, allocations: 40.64 kB / 462.9 MB, free: 27.78 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.01575, allocations: 111.4 kB / 463 MB, free: 27.68 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.01596, allocations: 421.7 kB / 463.5 MB, free: 27.34 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.01618, allocations: 205.2 kB / 463.7 MB, free: 27.25 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.01626, allocations: 372.2 kB / 464 MB, free: 26.91 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005913/0.01685, allocations: 470.2 kB / 464.5 MB, free: 26.8 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005975/0.01745, allocations: 488.4 kB / 465 MB, free: 26.67 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.01878, allocations: 1.042 MB / 466 MB, free: 26.33 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.01878, allocations: 4 kB / 466 MB, free: 26.32 MB / 410.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00168/0.02046, allocations: 1.288 MB / 467.3 MB, free: 25.91 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.02048, allocations: 5.062 kB / 467.3 MB, free: 25.91 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.02049, allocations: 2.469 kB / 467.3 MB, free: 25.91 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.02051, allocations: 2.812 kB / 467.3 MB, free: 25.91 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009865/0.0215, allocations: 275.2 kB / 467.6 MB, free: 25.88 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.02152, allocations: 10.23 kB / 467.6 MB, free: 25.88 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.02185, allocations: 75.41 kB / 467.7 MB, free: 25.82 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-05/0.02192, allocations: 37.62 kB / 467.7 MB, free: 25.81 MB / 410.8 MB 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 (144): * Single equations (assignments): 144 * 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.000197/0.02211, allocations: 205.4 kB / 467.9 MB, free: 25.66 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.02224, allocations: 89.66 kB / 468 MB, free: 25.61 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/0.02418, allocations: 1.386 MB / 469.4 MB, free: 25.12 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.02419, allocations: 13.34 kB / 469.4 MB, free: 25.12 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.0242, allocations: 0 / 469.4 MB, free: 25.12 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.02421, allocations: 12.55 kB / 469.4 MB, free: 25.12 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006621/0.02487, allocations: 0.5885 MB / 470 MB, free: 24.79 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.02488, allocations: 0 / 470 MB, free: 24.79 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/0.02623, allocations: 311 kB / 470.3 MB, free: 24.77 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.02624, allocations: 10.59 kB / 470.3 MB, free: 24.76 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.879e-05/0.02632, allocations: 51.28 kB / 470.3 MB, free: 24.74 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.02633, allocations: 5.531 kB / 470.3 MB, free: 24.74 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.02633, allocations: 0 / 470.3 MB, free: 24.74 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.029, allocations: 1.901 MB / 472.2 MB, free: 24.07 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003375/0.02934, allocations: 170.5 kB / 472.4 MB, free: 24.02 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.02944, allocations: 43.84 kB / 472.5 MB, free: 24 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/0.02976, allocations: 23.78 kB / 472.5 MB, free: 23.98 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.02991, allocations: 88.94 kB / 472.6 MB, free: 23.97 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.335e-05/0.02998, allocations: 39.11 kB / 472.6 MB, free: 23.96 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.799e-05/0.03007, allocations: 130.9 kB / 472.7 MB, free: 23.88 MB / 410.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03007, allocations: 0 / 472.7 MB, free: 23.88 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0005839/0.03065, allocations: 234.9 kB / 473 MB, free: 23.84 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * 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.0002666/0.03092, allocations: 167 kB / 473.1 MB, free: 23.7 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.03256, allocations: 1.089 MB / 474.2 MB, free: 23.44 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.03256, allocations: 0 / 474.2 MB, free: 23.44 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008329/0.03339, allocations: 0.5992 MB / 474.8 MB, free: 23.28 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.03389, allocations: 113.7 kB / 474.9 MB, free: 23.23 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.0371, allocations: 2.358 MB / 477.3 MB, free: 21.98 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.03736, allocations: 314.9 kB / 477.6 MB, free: 21.89 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0007413/0.0381, allocations: 368.6 kB / 478 MB, free: 21.83 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/0.03842, allocations: 88.83 kB / 478 MB, free: 21.81 MB / 410.8 MB Notification: Performance of SimCode: time 8.42e-07/0.03842, allocations: 0 / 478 MB, free: 21.81 MB / 410.8 MB Notification: Performance of Templates: time 0.01674/0.05516, allocations: 9.937 MB / 488 MB, free: 19.6 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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: 13.587818844011053]