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.001907/0.001907, allocations: 83.67 kB / 20.96 MB, free: 3.32 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.002004/0.002004, allocations: 162.2 kB / 24.27 MB, free: 12 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.605/1.605, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.045/1.045, allocations: 88.07 MB / 349.1 MB, free: 14.22 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 2.325e-06/2.325e-06, allocations: 0 / 452.5 MB, free: 32.12 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.746e-05/3.979e-05, allocations: 2.312 kB / 452.5 MB, free: 32.11 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001995/0.002034, allocations: 1.407 MB / 453.9 MB, free: 31.14 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007859/0.00282, allocations: 0.5345 MB / 454.4 MB, free: 30.8 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.002864, allocations: 0 / 454.4 MB, free: 30.8 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.464e-05/0.002949, allocations: 17.16 kB / 454.5 MB, free: 30.79 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.003254, allocations: 53.8 kB / 454.5 MB, free: 30.77 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000104/0.003358, allocations: 48.94 kB / 454.6 MB, free: 30.74 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003745/0.003733, allocations: 0.5487 MB / 455.1 MB, free: 30.59 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.003773, allocations: 12.98 kB / 455.1 MB, free: 30.58 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.004088, allocations: 269.2 kB / 455.4 MB, free: 30.5 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003265/0.004415, allocations: 263.3 kB / 455.6 MB, free: 30.43 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 8.082e-05/0.004496, allocations: 28.16 kB / 455.7 MB, free: 30.43 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.004659, allocations: 60.25 kB / 455.7 MB, free: 30.43 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002072/0.004867, allocations: 242.9 kB / 456 MB, free: 30.34 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.005067, allocations: 190.4 kB / 456.2 MB, free: 30.27 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004196/0.005487, allocations: 491 kB / 456.6 MB, free: 30.14 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.00549, allocations: 0 / 456.6 MB, free: 30.14 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005491, allocations: 0 / 456.6 MB, free: 30.14 MB / 410.8 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.005498, allocations: 3.938 kB / 456.6 MB, free: 30.13 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.001576/0.007074, allocations: 0.8578 MB / 457.5 MB, free: 29.58 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.007108, allocations: 15.19 kB / 457.5 MB, free: 29.57 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.007261, allocations: 79.94 kB / 457.6 MB, free: 29.54 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004292/0.007691, allocations: 253.2 kB / 457.8 MB, free: 29.36 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.007714, allocations: 30.66 kB / 457.9 MB, free: 29.35 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.19e-05/0.007806, allocations: 64.89 kB / 457.9 MB, free: 29.32 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006066/0.008413, allocations: 387.2 kB / 458.3 MB, free: 29.21 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.008428, allocations: 5.969 kB / 458.3 MB, free: 29.21 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/0.008475, allocations: 19 kB / 458.3 MB, free: 29.2 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.008483, allocations: 8.281 kB / 458.3 MB, free: 29.2 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005869/0.00907, allocations: 356 kB / 458.7 MB, free: 29.16 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005062/0.009576, allocations: 382.8 kB / 459.1 MB, free: 28.87 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002753/0.01233, allocations: 0.9812 MB / 460 MB, free: 28.62 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/0.0127, allocations: 233.9 kB / 460.3 MB, free: 28.56 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001762/0.01288, allocations: 31.73 kB / 460.3 MB, free: 28.55 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.0129, allocations: 48.17 kB / 460.3 MB, free: 28.5 MB / 410.8 MB Notification: Performance of pre-optimization done (n=103): time 2.274e-06/0.0129, allocations: 3.938 kB / 460.4 MB, free: 28.5 MB / 410.8 MB Notification: Performance of matching and sorting (n=103): time 0.001466/0.01437, allocations: 0.8589 MB / 461.2 MB, free: 28.28 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.0144, allocations: 63 kB / 461.3 MB, free: 28.22 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.01451, allocations: 226.6 kB / 461.5 MB, free: 28.04 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.01455, allocations: 40.58 kB / 461.5 MB, free: 27.99 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.01459, allocations: 157.9 kB / 461.7 MB, free: 27.84 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/0.01483, allocations: 443.3 kB / 462.1 MB, free: 27.5 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.01507, allocations: 210.8 kB / 462.3 MB, free: 27.39 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.0152, allocations: 0.5579 MB / 462.9 MB, free: 26.86 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.0156, allocations: 213.2 kB / 463.1 MB, free: 26.84 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.01601, allocations: 229.2 kB / 463.3 MB, free: 26.8 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008875/0.0169, allocations: 0.5736 MB / 463.9 MB, free: 26.61 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.0169, allocations: 0 / 463.9 MB, free: 26.61 MB / 410.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001229/0.01813, allocations: 0.7978 MB / 464.7 MB, free: 26.37 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.01815, allocations: 8.406 kB / 464.7 MB, free: 26.37 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.01816, allocations: 0 / 464.7 MB, free: 26.37 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.01818, allocations: 5.812 kB / 464.7 MB, free: 26.37 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009937/0.01917, allocations: 271.3 kB / 465 MB, free: 26.35 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.01918, allocations: 9.312 kB / 465 MB, free: 26.34 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.01955, allocations: 77.25 kB / 465.1 MB, free: 26.28 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-05/0.01961, allocations: 41.72 kB / 465.1 MB, free: 26.27 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.0001866/0.0198, allocations: 203.7 kB / 465.3 MB, free: 26.07 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.01992, allocations: 85.78 kB / 465.4 MB, free: 26.03 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/0.02169, allocations: 1.03 MB / 466.4 MB, free: 25.67 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.02171, allocations: 13.12 kB / 466.4 MB, free: 25.67 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.02171, allocations: 0 / 466.4 MB, free: 25.67 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.02172, allocations: 6.797 kB / 466.4 MB, free: 25.67 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005693/0.02229, allocations: 493.8 kB / 466.9 MB, free: 25.32 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.0223, allocations: 0 / 466.9 MB, free: 25.32 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/0.02366, allocations: 306.4 kB / 467.2 MB, free: 25.3 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.02367, allocations: 13.19 kB / 467.2 MB, free: 25.29 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.037e-05/0.02375, allocations: 45.2 kB / 467.3 MB, free: 25.27 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.02376, allocations: 5.25 kB / 467.3 MB, free: 25.27 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.02376, allocations: 0 / 467.3 MB, free: 25.27 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.02554, allocations: 1.331 MB / 468.6 MB, free: 24.82 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003819/0.02592, allocations: 167 kB / 468.8 MB, free: 24.77 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.02603, allocations: 43.84 kB / 468.8 MB, free: 24.74 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.02639, allocations: 21.16 kB / 468.8 MB, free: 24.73 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.02655, allocations: 88.91 kB / 468.9 MB, free: 24.72 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.292e-05/0.02663, allocations: 42.31 kB / 469 MB, free: 24.71 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.611e-05/0.02671, allocations: 166.9 kB / 469.1 MB, free: 24.58 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02671, allocations: 0 / 469.1 MB, free: 24.58 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0005054/0.02722, allocations: 233.4 kB / 469.3 MB, free: 24.54 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.0002616/0.02748, allocations: 166.3 kB / 469.5 MB, free: 24.41 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.02865, allocations: 0.7189 MB / 470.2 MB, free: 24.27 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02865, allocations: 0 / 470.2 MB, free: 24.27 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005876/0.02924, allocations: 474.1 kB / 470.7 MB, free: 24.17 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.02968, allocations: 107.5 kB / 470.8 MB, free: 24.11 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.03267, allocations: 2.028 MB / 472.8 MB, free: 22.89 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.03297, allocations: 304.6 kB / 473.1 MB, free: 22.79 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0007017/0.03367, allocations: 305.7 kB / 473.4 MB, free: 22.73 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/0.03398, allocations: 89.42 kB / 473.5 MB, free: 22.71 MB / 410.8 MB Notification: Performance of SimCode: time 1.252e-06/0.03398, allocations: 4 kB / 473.5 MB, free: 22.71 MB / 410.8 MB Notification: Performance of Templates: time 0.01962/0.0536, allocations: 9.925 MB / 483.4 MB, free: 21.57 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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 240] 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: 17.06703299493529]