Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.00161/0.00161, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001929/0.001929, allocations: 166.2 kB / 24.27 MB, free: 148 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.481/1.481, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.092/1.092, allocations: 88.07 MB / 349.1 MB, free: 14.24 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_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 452.5 MB, free: 32.16 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.153e-05/3.317e-05, allocations: 6.859 kB / 452.5 MB, free: 32.16 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002366/0.002399, allocations: 1.377 MB / 453.9 MB, free: 31.21 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008443/0.003244, allocations: 0.5216 MB / 454.4 MB, free: 30.88 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.978e-05/0.003293, allocations: 0 / 454.4 MB, free: 30.88 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.003402, allocations: 7.312 kB / 454.4 MB, free: 30.87 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.003708, allocations: 58.62 kB / 454.5 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.003829, allocations: 54.59 kB / 454.5 MB, free: 30.82 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000367/0.004196, allocations: 0.5495 MB / 455.1 MB, free: 30.66 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.004236, allocations: 10.09 kB / 455.1 MB, free: 30.66 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003267/0.004563, allocations: 269.4 kB / 455.3 MB, free: 30.57 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003407/0.004904, allocations: 262.9 kB / 455.6 MB, free: 30.51 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 6.857e-05/0.004972, allocations: 30.12 kB / 455.6 MB, free: 30.51 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.005117, allocations: 53.94 kB / 455.7 MB, free: 30.5 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.005358, allocations: 249.3 kB / 455.9 MB, free: 30.41 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.005546, allocations: 189.3 kB / 456.1 MB, free: 30.35 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003945/0.00594, allocations: 477.4 kB / 456.6 MB, free: 30.22 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.005944, allocations: 0 / 456.6 MB, free: 30.22 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005945, allocations: 3.188 kB / 456.6 MB, free: 30.22 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.005952, allocations: 0 / 456.6 MB, free: 30.22 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.0016/0.007552, allocations: 0.7561 MB / 457.3 MB, free: 29.77 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.007591, allocations: 11.66 kB / 457.3 MB, free: 29.77 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.007758, allocations: 81.47 kB / 457.4 MB, free: 29.73 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.008114, allocations: 261.1 kB / 457.7 MB, free: 29.56 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.008138, allocations: 28.78 kB / 457.7 MB, free: 29.55 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.008253, allocations: 67.36 kB / 457.8 MB, free: 29.52 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007758/0.009029, allocations: 0.5835 MB / 458.4 MB, free: 29.34 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.009042, allocations: 4 kB / 458.4 MB, free: 29.34 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/0.009095, allocations: 18.53 kB / 458.4 MB, free: 29.32 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.009105, allocations: 10.12 kB / 458.4 MB, free: 29.32 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007604/0.009866, allocations: 0.5832 MB / 459 MB, free: 29.2 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006124/0.01048, allocations: 493.3 kB / 459.4 MB, free: 28.93 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00291/0.01339, allocations: 1.325 MB / 460.8 MB, free: 28.58 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005163/0.0139, allocations: 433.6 kB / 461.2 MB, free: 28.45 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.01408, allocations: 32.41 kB / 461.2 MB, free: 28.45 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.01411, allocations: 41.53 kB / 461.3 MB, free: 28.4 MB / 410.8 MB Notification: Performance of pre-optimization done (n=103): time 2.946e-06/0.01412, allocations: 0 / 461.3 MB, free: 28.4 MB / 410.8 MB Notification: Performance of matching and sorting (n=103): time 0.001858/0.01598, allocations: 1.381 MB / 462.7 MB, free: 27.99 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.01601, allocations: 67.22 kB / 462.7 MB, free: 27.92 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.01614, allocations: 177.3 kB / 462.9 MB, free: 27.8 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.01619, allocations: 40.64 kB / 462.9 MB, free: 27.76 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.004e-05/0.01623, allocations: 111.2 kB / 463 MB, free: 27.66 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.01644, allocations: 424 kB / 463.5 MB, free: 27.32 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.01667, allocations: 201.3 kB / 463.6 MB, free: 27.23 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.971e-05/0.01675, allocations: 368.1 kB / 464 MB, free: 26.89 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005835/0.01733, allocations: 470.7 kB / 464.5 MB, free: 26.78 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000575/0.0179, allocations: 489.8 kB / 464.9 MB, free: 26.66 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.01917, allocations: 1.048 MB / 466 MB, free: 26.31 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.01917, allocations: 0 / 466 MB, free: 26.31 MB / 410.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001554/0.02072, allocations: 1.287 MB / 467.3 MB, free: 25.89 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.02074, allocations: 9.25 kB / 467.3 MB, free: 25.89 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.02075, allocations: 0 / 467.3 MB, free: 25.89 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.02078, allocations: 5.25 kB / 467.3 MB, free: 25.89 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009721/0.02175, allocations: 265.5 kB / 467.6 MB, free: 25.87 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.02176, allocations: 9.188 kB / 467.6 MB, free: 25.87 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.02211, allocations: 83.91 kB / 467.6 MB, free: 25.8 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.644e-05/0.02217, allocations: 37.53 kB / 467.7 MB, free: 25.79 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.0002076/0.02238, allocations: 208.5 kB / 467.9 MB, free: 25.64 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.02251, allocations: 80.75 kB / 468 MB, free: 25.6 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/0.02444, allocations: 1.389 MB / 469.4 MB, free: 25.1 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.02445, allocations: 12.94 kB / 469.4 MB, free: 25.1 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.02446, allocations: 6.344 kB / 469.4 MB, free: 25.1 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.02447, allocations: 10.08 kB / 469.4 MB, free: 25.1 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006533/0.02513, allocations: 0.5885 MB / 470 MB, free: 24.77 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.02513, allocations: 0 / 470 MB, free: 24.77 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/0.02645, allocations: 305.4 kB / 470.3 MB, free: 24.75 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/0.02646, allocations: 8.531 kB / 470.3 MB, free: 24.75 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.012e-05/0.02654, allocations: 50.94 kB / 470.3 MB, free: 24.73 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.02654, allocations: 5.188 kB / 470.3 MB, free: 24.73 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.02655, allocations: 0 / 470.3 MB, free: 24.73 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/0.02909, allocations: 1.905 MB / 472.2 MB, free: 24.06 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/0.02943, allocations: 174 kB / 472.4 MB, free: 24 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.02954, allocations: 49.55 kB / 472.5 MB, free: 23.97 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.02987, allocations: 21.5 kB / 472.5 MB, free: 23.96 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.03003, allocations: 89.09 kB / 472.6 MB, free: 23.95 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.016e-05/0.03011, allocations: 43.34 kB / 472.6 MB, free: 23.94 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.667e-05/0.0302, allocations: 126.8 kB / 472.7 MB, free: 23.85 MB / 410.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0302, allocations: 0.9062 kB / 472.7 MB, free: 23.85 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0005383/0.03074, allocations: 230 kB / 473 MB, free: 23.82 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.000243/0.03098, allocations: 159 kB / 473.1 MB, free: 23.69 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.03263, allocations: 1.086 MB / 474.2 MB, free: 23.43 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.03264, allocations: 0 / 474.2 MB, free: 23.43 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000856/0.03349, allocations: 0.6052 MB / 474.8 MB, free: 23.27 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.03399, allocations: 117.5 kB / 474.9 MB, free: 23.21 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.03712, allocations: 2.353 MB / 477.3 MB, free: 21.97 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.0374, allocations: 327.6 kB / 477.6 MB, free: 21.88 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0007586/0.03816, allocations: 365.8 kB / 477.9 MB, free: 21.81 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.03846, allocations: 93.08 kB / 478 MB, free: 21.79 MB / 410.8 MB Notification: Performance of SimCode: time 7.81e-07/0.03846, allocations: 0 / 478 MB, free: 21.79 MB / 410.8 MB Notification: Performance of Templates: time 0.01855/0.057, allocations: 9.926 MB / 488 MB, free: 19.64 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_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_noopt_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: 16.76070262095891]