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.001206/0.001206, allocations: 75.75 kB / 20.67 MB, free: 3.895 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.001433/0.001433, allocations: 170.8 kB / 23.95 MB, free: 0.6133 MB / 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 0.9102/0.9102, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.6131/0.6131, allocations: 88.06 MB / 348.7 MB, free: 14.38 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.543e-06/1.543e-06, allocations: 0 / 0.5251 GB, free: 1.906 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.018e-05, allocations: 2.281 kB / 0.5251 GB, free: 1.902 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001865/0.001896, allocations: 1.373 MB / 0.5264 GB, free: 0.5195 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007559/0.002652, allocations: 0.5224 MB / 0.527 GB, free: 15.99 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.0027, allocations: 0 / 0.527 GB, free: 15.99 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 9.192e-05/0.002792, allocations: 7.922 kB / 0.527 GB, free: 15.98 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.003127, allocations: 67.53 kB / 0.527 GB, free: 15.92 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.221e-05/0.00321, allocations: 47.75 kB / 0.5271 GB, free: 15.88 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.00355, allocations: 0.5498 MB / 0.5276 GB, free: 15.32 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.003598, allocations: 8.188 kB / 0.5276 GB, free: 15.32 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003157/0.003913, allocations: 259.7 kB / 0.5279 GB, free: 15.06 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002786/0.004192, allocations: 267.5 kB / 0.5281 GB, free: 14.8 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 4.896e-05/0.004241, allocations: 28 kB / 0.5281 GB, free: 14.77 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.004362, allocations: 59.91 kB / 0.5282 GB, free: 14.71 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.004548, allocations: 247.5 kB / 0.5284 GB, free: 14.47 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.004683, allocations: 191.5 kB / 0.5286 GB, free: 14.29 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.005043, allocations: 482.5 kB / 0.5291 GB, free: 13.81 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.005049, allocations: 0 / 0.5291 GB, free: 13.81 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.553e-06/0.00505, allocations: 4 kB / 0.5291 GB, free: 13.81 MB / 458.8 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.005057, allocations: 0 / 0.5291 GB, free: 13.81 MB / 458.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.001103/0.00616, allocations: 0.7474 MB / 0.5298 GB, free: 13.03 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.006207, allocations: 8.031 kB / 0.5298 GB, free: 13.02 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.84e-05/0.006296, allocations: 48.66 kB / 0.5299 GB, free: 12.98 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.006648, allocations: 269 kB / 0.5301 GB, free: 12.69 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.006672, allocations: 33.38 kB / 0.5302 GB, free: 12.66 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.309e-05/0.006755, allocations: 67.83 kB / 0.5302 GB, free: 12.59 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006532/0.007408, allocations: 0.584 MB / 0.5308 GB, free: 12 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.007421, allocations: 3.938 kB / 0.5308 GB, free: 12 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.007459, allocations: 16 kB / 0.5308 GB, free: 11.98 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.007469, allocations: 8 kB / 0.5308 GB, free: 11.97 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006532/0.008122, allocations: 0.5894 MB / 0.5314 GB, free: 11.38 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.008688, allocations: 492.4 kB / 0.5319 GB, free: 10.87 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.01059, allocations: 1.318 MB / 0.5332 GB, free: 9.535 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004317/0.01102, allocations: 431.6 kB / 0.5336 GB, free: 9.113 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001776/0.0112, allocations: 20.92 kB / 0.5336 GB, free: 9.094 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.01123, allocations: 47.56 kB / 0.5336 GB, free: 9.039 MB / 458.8 MB Notification: Performance of pre-optimization done (n=103): time 4.779e-06/0.01124, allocations: 4 kB / 0.5336 GB, free: 9.035 MB / 458.8 MB Notification: Performance of matching and sorting (n=103): time 0.001656/0.01289, allocations: 1.351 MB / 0.535 GB, free: 7.68 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.01295, allocations: 60.41 kB / 0.535 GB, free: 7.609 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.01311, allocations: 179.3 kB / 0.5352 GB, free: 7.426 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.01316, allocations: 45.7 kB / 0.5352 GB, free: 7.375 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.01322, allocations: 102.1 kB / 0.5353 GB, free: 7.273 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.01347, allocations: 424.4 kB / 0.5357 GB, free: 6.855 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.01365, allocations: 199 kB / 0.5359 GB, free: 6.656 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.01377, allocations: 370.8 kB / 0.5363 GB, free: 6.285 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005052/0.01428, allocations: 470.3 kB / 0.5367 GB, free: 5.824 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.01478, allocations: 491.5 kB / 0.5372 GB, free: 5.344 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.01582, allocations: 1.044 MB / 0.5382 GB, free: 4.297 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.01582, allocations: 0 / 0.5382 GB, free: 4.297 MB / 458.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001304/0.01713, allocations: 1.254 MB / 0.5394 GB, free: 3.035 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.01715, allocations: 7.125 kB / 0.5394 GB, free: 3.031 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.01716, allocations: 0 / 0.5394 GB, free: 3.031 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.01718, allocations: 4 kB / 0.5394 GB, free: 3.027 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005723/0.01775, allocations: 267.7 kB / 0.5397 GB, free: 2.766 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.01776, allocations: 4 kB / 0.5397 GB, free: 2.762 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.01794, allocations: 83.36 kB / 0.5398 GB, free: 2.68 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.01798, allocations: 43.92 kB / 0.5398 GB, free: 2.637 MB / 458.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.0001818/0.01817, allocations: 209.5 kB / 0.54 GB, free: 2.422 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-05/0.01823, allocations: 47.7 kB / 0.5401 GB, free: 2.375 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.01971, allocations: 1.396 MB / 0.5414 GB, free: 0.9727 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.01972, allocations: 16 kB / 0.5414 GB, free: 0.957 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.01973, allocations: 0 / 0.5414 GB, free: 0.957 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.01974, allocations: 11.91 kB / 0.5415 GB, free: 0.9453 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005817/0.02032, allocations: 0.5866 MB / 0.542 GB, free: 340 kB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.02033, allocations: 0 / 0.542 GB, free: 340 kB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007723/0.0211, allocations: 311.6 kB / 0.5423 GB, free: 28 kB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.02111, allocations: 7.938 kB / 0.5423 GB, free: 20 kB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.003e-05/0.02119, allocations: 43.97 kB / 0.5424 GB, free: 15.98 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.02119, allocations: 4 kB / 0.5424 GB, free: 15.97 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.02119, allocations: 4 kB / 0.5424 GB, free: 15.97 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.02303, allocations: 1.852 MB / 0.5442 GB, free: 14.09 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.02326, allocations: 171.1 kB / 0.5444 GB, free: 13.92 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.014e-05/0.02333, allocations: 47.91 kB / 0.5444 GB, free: 13.88 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.0235, allocations: 24 kB / 0.5444 GB, free: 13.85 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.515e-05/0.0236, allocations: 85.14 kB / 0.5445 GB, free: 13.77 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/0.02364, allocations: 39.98 kB / 0.5445 GB, free: 13.73 MB / 474.8 MB Notification: Performance of sorting global known variables: time 8.151e-05/0.02372, allocations: 135.2 kB / 0.5447 GB, free: 13.6 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.02372, allocations: 0 / 0.5447 GB, free: 13.6 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0004031/0.02412, allocations: 235.9 kB / 0.5449 GB, free: 13.37 MB / 474.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.0002453/0.02437, allocations: 164.8 kB / 0.5451 GB, free: 13.2 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.02559, allocations: 1.089 MB / 0.5461 GB, free: 12.11 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.02559, allocations: 0 / 0.5461 GB, free: 12.11 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005543/0.02615, allocations: 0.6085 MB / 0.5467 GB, free: 11.5 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.02649, allocations: 101 kB / 0.5468 GB, free: 11.41 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.02879, allocations: 2.325 MB / 0.5491 GB, free: 9.043 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.02898, allocations: 323.5 kB / 0.5494 GB, free: 8.699 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.0004546/0.02943, allocations: 364.8 kB / 0.5497 GB, free: 8.344 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.02963, allocations: 92.47 kB / 0.5498 GB, free: 8.254 MB / 474.8 MB Notification: Performance of SimCode: time 1.663e-06/0.02963, allocations: 0 / 0.5498 GB, free: 8.254 MB / 474.8 MB Notification: Performance of Templates: time 0.01119/0.04082, allocations: 9.883 MB / 0.5595 GB, free: 14.46 MB / 490.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: 10.29060873016715]