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.002244/0.002244, allocations: 91.62 kB / 20.96 MB, free: 3.461 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.002551/0.002551, allocations: 161.3 kB / 24.27 MB, free: 156 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.596/1.596, allocations: 177.1 MB / 204.6 MB, free: 5.617 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 0.9378/0.9378, allocations: 88.08 MB / 349.1 MB, free: 14.25 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.803e-06/1.803e-06, allocations: 0 / 452.5 MB, free: 32.16 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.841e-05, allocations: 2.312 kB / 452.5 MB, free: 32.15 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001904/0.001932, allocations: 1.395 MB / 453.9 MB, free: 31.19 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007599/0.002692, allocations: 0.5356 MB / 454.4 MB, free: 30.85 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.002737, allocations: 0 / 454.4 MB, free: 30.85 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.94e-05/0.002816, allocations: 13.88 kB / 454.5 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.003099, allocations: 58.86 kB / 454.5 MB, free: 30.81 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.865e-05/0.003198, allocations: 44.45 kB / 454.6 MB, free: 30.79 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003617/0.003559, allocations: 0.5531 MB / 455.1 MB, free: 30.63 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.003595, allocations: 13.97 kB / 455.1 MB, free: 30.62 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002906/0.003886, allocations: 268.8 kB / 455.4 MB, free: 30.54 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.004197, allocations: 268.1 kB / 455.7 MB, free: 30.47 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 7.615e-05/0.004273, allocations: 29.22 kB / 455.7 MB, free: 30.47 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.004437, allocations: 52.78 kB / 455.7 MB, free: 30.47 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.004638, allocations: 252.8 kB / 456 MB, free: 30.38 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.004818, allocations: 180.5 kB / 456.2 MB, free: 30.32 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.005214, allocations: 484.9 kB / 456.6 MB, free: 30.19 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.005218, allocations: 4 kB / 456.6 MB, free: 30.18 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005219, allocations: 0 / 456.6 MB, free: 30.18 MB / 410.8 MB Notification: Performance of Transformations before backend: time 8.465e-06/0.005228, allocations: 2.656 kB / 456.6 MB, free: 30.18 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.001511/0.006739, allocations: 0.8615 MB / 457.5 MB, free: 29.62 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.006771, allocations: 8.688 kB / 457.5 MB, free: 29.62 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.006922, allocations: 83.86 kB / 457.6 MB, free: 29.59 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.007348, allocations: 264 kB / 457.8 MB, free: 29.4 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.007371, allocations: 27.56 kB / 457.9 MB, free: 29.39 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.959e-05/0.00746, allocations: 65.64 kB / 457.9 MB, free: 29.36 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005669/0.008027, allocations: 387.6 kB / 458.3 MB, free: 29.25 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.008042, allocations: 4 kB / 458.3 MB, free: 29.25 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.745e-05/0.008089, allocations: 18.59 kB / 458.3 MB, free: 29.23 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.008097, allocations: 11.5 kB / 458.3 MB, free: 29.23 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005715/0.008669, allocations: 362 kB / 458.7 MB, free: 29.19 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004995/0.009168, allocations: 379.2 kB / 459.1 MB, free: 28.91 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002735/0.0119, allocations: 0.9686 MB / 460 MB, free: 28.66 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004146/0.01232, allocations: 233 kB / 460.3 MB, free: 28.61 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/0.0125, allocations: 32.05 kB / 460.3 MB, free: 28.61 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.01252, allocations: 48.17 kB / 460.3 MB, free: 28.55 MB / 410.8 MB Notification: Performance of pre-optimization done (n=103): time 2.645e-06/0.01252, allocations: 3.938 kB / 460.3 MB, free: 28.55 MB / 410.8 MB Notification: Performance of matching and sorting (n=103): time 0.001489/0.01401, allocations: 0.858 MB / 461.2 MB, free: 28.33 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.01405, allocations: 64.06 kB / 461.3 MB, free: 28.27 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.01416, allocations: 232.2 kB / 461.5 MB, free: 28.08 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.0142, allocations: 43.58 kB / 461.5 MB, free: 28.04 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.01426, allocations: 158 kB / 461.7 MB, free: 27.89 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.01448, allocations: 440.4 kB / 462.1 MB, free: 27.54 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.01472, allocations: 210.1 kB / 462.3 MB, free: 27.43 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.01484, allocations: 0.5548 MB / 462.9 MB, free: 26.91 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004043/0.01525, allocations: 211.1 kB / 463.1 MB, free: 26.88 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004002/0.01565, allocations: 232.2 kB / 463.3 MB, free: 26.84 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008766/0.01653, allocations: 0.5788 MB / 463.9 MB, free: 26.65 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.01653, allocations: 0 / 463.9 MB, free: 26.65 MB / 410.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001182/0.01771, allocations: 0.7933 MB / 464.7 MB, free: 26.42 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.01773, allocations: 9.062 kB / 464.7 MB, free: 26.41 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.01773, allocations: 0 / 464.7 MB, free: 26.41 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.01775, allocations: 5.531 kB / 464.7 MB, free: 26.41 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009826/0.01874, allocations: 271.8 kB / 465 MB, free: 26.39 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.01875, allocations: 6.844 kB / 465 MB, free: 26.39 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.01911, allocations: 73.91 kB / 465 MB, free: 26.33 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.993e-05/0.01919, allocations: 46.53 kB / 465.1 MB, free: 26.32 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.0001732/0.01937, allocations: 204.9 kB / 465.3 MB, free: 26.11 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.01951, allocations: 86.47 kB / 465.4 MB, free: 26.07 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.02122, allocations: 1.024 MB / 466.4 MB, free: 25.71 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.02123, allocations: 19.69 kB / 466.4 MB, free: 25.71 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.02123, allocations: 4 kB / 466.4 MB, free: 25.71 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.02124, allocations: 6.703 kB / 466.4 MB, free: 25.71 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005518/0.0218, allocations: 494 kB / 466.9 MB, free: 25.36 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.0218, allocations: 0 / 466.9 MB, free: 25.36 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/0.02316, allocations: 302.6 kB / 467.2 MB, free: 25.34 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.02317, allocations: 6.562 kB / 467.2 MB, free: 25.34 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-05/0.02326, allocations: 48.27 kB / 467.3 MB, free: 25.32 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.02327, allocations: 5.25 kB / 467.3 MB, free: 25.32 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.02327, allocations: 0 / 467.3 MB, free: 25.32 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.0251, allocations: 1.334 MB / 468.6 MB, free: 24.87 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003653/0.02546, allocations: 168 kB / 468.8 MB, free: 24.81 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.02557, allocations: 39.45 kB / 468.8 MB, free: 24.79 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.02591, allocations: 25.38 kB / 468.8 MB, free: 24.77 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.02606, allocations: 83.45 kB / 468.9 MB, free: 24.76 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.715e-05/0.02613, allocations: 44.73 kB / 469 MB, free: 24.75 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.233e-05/0.0262, allocations: 169.2 kB / 469.1 MB, free: 24.62 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.0262, allocations: 0 / 469.1 MB, free: 24.62 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0004845/0.02669, allocations: 234.9 kB / 469.3 MB, free: 24.58 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.000231/0.02692, allocations: 158.7 kB / 469.5 MB, free: 24.45 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.02807, allocations: 0.7297 MB / 470.2 MB, free: 24.31 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02807, allocations: 0 / 470.2 MB, free: 24.31 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005692/0.02864, allocations: 468.1 kB / 470.7 MB, free: 24.21 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.02907, allocations: 110.3 kB / 470.8 MB, free: 24.15 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.0318, allocations: 2.026 MB / 472.8 MB, free: 22.93 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.03208, allocations: 307.9 kB / 473.1 MB, free: 22.83 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0006369/0.03271, allocations: 310.6 kB / 473.4 MB, free: 22.77 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.03301, allocations: 89.53 kB / 473.5 MB, free: 22.75 MB / 410.8 MB Notification: Performance of SimCode: time 8.82e-07/0.03301, allocations: 0 / 473.5 MB, free: 22.75 MB / 410.8 MB Notification: Performance of Templates: time 0.01684/0.04985, allocations: 9.929 MB / 483.4 MB, free: 21.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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 240] 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.400353675941005]