Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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.002588/0.002588, allocations: 91.61 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.002172/0.002172, allocations: 166.1 kB / 24.28 MB, free: 152 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.685/1.685, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.9799/0.9799, allocations: 88.08 MB / 349.1 MB, free: 14.28 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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 452.5 MB, free: 32.08 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.937e-05, allocations: 2.312 kB / 452.5 MB, free: 32.07 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002195/0.002224, allocations: 1.398 MB / 453.9 MB, free: 31.11 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008554/0.003079, allocations: 0.5368 MB / 454.4 MB, free: 30.77 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.003126, allocations: 3.031 kB / 454.4 MB, free: 30.77 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.01e-05/0.003216, allocations: 7.266 kB / 454.5 MB, free: 30.77 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.003541, allocations: 58.7 kB / 454.5 MB, free: 30.74 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001034/0.003644, allocations: 45.55 kB / 454.6 MB, free: 30.71 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.003894, allocations: 331.7 kB / 454.9 MB, free: 30.61 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.003934, allocations: 11 kB / 454.9 MB, free: 30.61 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.004173, allocations: 158 kB / 455 MB, free: 30.56 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.004407, allocations: 148.2 kB / 455.2 MB, free: 30.52 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 5.313e-05/0.00446, allocations: 16.53 kB / 455.2 MB, free: 30.52 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.004582, allocations: 39.31 kB / 455.2 MB, free: 30.52 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.004726, allocations: 130.3 kB / 455.4 MB, free: 30.46 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.00484, allocations: 99.52 kB / 455.5 MB, free: 30.43 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.005129, allocations: 273 kB / 455.7 MB, free: 30.35 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.005137, allocations: 0 / 455.7 MB, free: 30.35 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.263e-06/0.005138, allocations: 0 / 455.7 MB, free: 30.35 MB / 410.8 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.005148, allocations: 0 / 455.7 MB, free: 30.35 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001038/0.006187, allocations: 0.6182 MB / 456.4 MB, free: 29.88 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.006232, allocations: 11.59 kB / 456.4 MB, free: 29.88 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.00634, allocations: 43.73 kB / 456.4 MB, free: 29.86 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.006616, allocations: 188.5 kB / 456.6 MB, free: 29.7 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.006633, allocations: 17.03 kB / 456.6 MB, free: 29.7 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.859e-05/0.006692, allocations: 36.38 kB / 456.6 MB, free: 29.68 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.007043, allocations: 208.2 kB / 456.8 MB, free: 29.61 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.007056, allocations: 3.938 kB / 456.9 MB, free: 29.61 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.007085, allocations: 6.875 kB / 456.9 MB, free: 29.6 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.007091, allocations: 5.719 kB / 456.9 MB, free: 29.6 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/0.007407, allocations: 171.9 kB / 457 MB, free: 29.58 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.007738, allocations: 242.7 kB / 457.3 MB, free: 29.37 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.009277, allocations: 0.4962 MB / 457.8 MB, free: 29.24 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.00949, allocations: 127.6 kB / 457.9 MB, free: 29.2 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.009644, allocations: 20.44 kB / 457.9 MB, free: 29.2 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.009665, allocations: 40.83 kB / 458 MB, free: 29.15 MB / 410.8 MB Notification: Performance of pre-optimization done (n=53): time 2.204e-06/0.009667, allocations: 11.09 kB / 458 MB, free: 29.14 MB / 410.8 MB Notification: Performance of matching and sorting (n=53): time 0.0008612/0.01053, allocations: 464.7 kB / 458.4 MB, free: 29.01 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.01056, allocations: 57.62 kB / 458.5 MB, free: 28.95 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.01066, allocations: 203.8 kB / 458.7 MB, free: 28.77 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.01069, allocations: 32.83 kB / 458.7 MB, free: 28.73 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.01074, allocations: 146.1 kB / 458.8 MB, free: 28.59 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.01087, allocations: 227.8 kB / 459.1 MB, free: 28.41 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.01102, allocations: 119.2 kB / 459.2 MB, free: 28.35 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.01114, allocations: 0.5203 MB / 459.7 MB, free: 27.84 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.01136, allocations: 109.8 kB / 459.8 MB, free: 27.82 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.01157, allocations: 117.2 kB / 459.9 MB, free: 27.8 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/0.01205, allocations: 311.7 kB / 460.2 MB, free: 27.7 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01205, allocations: 0 / 460.2 MB, free: 27.7 MB / 410.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000679/0.01273, allocations: 432.1 kB / 460.7 MB, free: 27.56 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.01275, allocations: 5.438 kB / 460.7 MB, free: 27.56 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.01276, allocations: 0 / 460.7 MB, free: 27.56 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.01278, allocations: 2.656 kB / 460.7 MB, free: 27.56 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005364/0.01331, allocations: 138.8 kB / 460.8 MB, free: 27.55 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.01332, allocations: 6.625 kB / 460.8 MB, free: 27.54 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.01352, allocations: 43.53 kB / 460.8 MB, free: 27.51 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.01356, allocations: 17.34 kB / 460.9 MB, free: 27.51 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 (74): * Single equations (assignments): 74 * 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.0001117/0.01367, allocations: 190.3 kB / 461 MB, free: 27.32 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.222e-05/0.01375, allocations: 45.25 kB / 461.1 MB, free: 27.3 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000973/0.01472, allocations: 0.5411 MB / 461.6 MB, free: 27.1 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.01473, allocations: 5.75 kB / 461.6 MB, free: 27.1 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01473, allocations: 0 / 461.6 MB, free: 27.1 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.01474, allocations: 3.328 kB / 461.6 MB, free: 27.1 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.0151, allocations: 315.2 kB / 461.9 MB, free: 26.85 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.0151, allocations: 0 / 461.9 MB, free: 26.85 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007193/0.01582, allocations: 155.4 kB / 462.1 MB, free: 26.84 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.01582, allocations: 2.938 kB / 462.1 MB, free: 26.84 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.138e-05/0.01588, allocations: 23.28 kB / 462.1 MB, free: 26.83 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.01588, allocations: 10.84 kB / 462.1 MB, free: 26.82 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01588, allocations: 0 / 462.1 MB, free: 26.82 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.01688, allocations: 0.7184 MB / 462.9 MB, free: 26.55 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/0.01709, allocations: 91.3 kB / 462.9 MB, free: 26.52 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.216e-05/0.01715, allocations: 16.97 kB / 463 MB, free: 26.51 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.01734, allocations: 15.03 kB / 463 MB, free: 26.5 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/0.01743, allocations: 48.94 kB / 463 MB, free: 26.49 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.01746, allocations: 18.44 kB / 463 MB, free: 26.49 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.265e-05/0.01753, allocations: 152.6 kB / 463.2 MB, free: 26.36 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01753, allocations: 4 kB / 463.2 MB, free: 26.36 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003507/0.01788, allocations: 124.5 kB / 463.3 MB, free: 26.34 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.0002186/0.0181, allocations: 129.8 kB / 463.4 MB, free: 26.24 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0006203/0.01872, allocations: 386.2 kB / 463.8 MB, free: 26.16 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.01872, allocations: 0 / 463.8 MB, free: 26.16 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003192/0.01904, allocations: 249.9 kB / 464.1 MB, free: 26.1 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.01937, allocations: 58.97 kB / 464.1 MB, free: 26.07 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.02086, allocations: 1.096 MB / 465.2 MB, free: 25.38 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.02101, allocations: 190.4 kB / 465.4 MB, free: 25.3 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0003156/0.02133, allocations: 145.9 kB / 465.5 MB, free: 25.27 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.02148, allocations: 49 kB / 465.6 MB, free: 25.26 MB / 410.8 MB Notification: Performance of SimCode: time 9.82e-07/0.02148, allocations: 0 / 465.6 MB, free: 25.26 MB / 410.8 MB Notification: Performance of Templates: time 0.01022/0.0317, allocations: 5.357 MB / 471 MB, free: 24.66 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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: 8.185136893996969]