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.001628/0.001628, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001555/0.003184, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009636/0.0009636, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001101/0.002065, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.036/1.036, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.112/1.148, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo): time 0.7718/0.7718, allocations: 88.07 MB / 332.1 MB, free: 14.16 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05835/0.8302, allocations: 32.92 MB / 365 MB, free: 13.44 MB / 362.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-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.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|time|u.[0-9,]+.|x.[0-9,]+.",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.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 366.3 MB, free: 12.12 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.742e-05, allocations: 5.688 kB / 366.3 MB, free: 12.12 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001929/0.001947, allocations: 1.473 MB / 367.8 MB, free: 10.63 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007317/0.002678, allocations: 0.5456 MB / 368.3 MB, free: 10.09 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.002715, allocations: 3.938 kB / 368.3 MB, free: 10.08 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 3.787e-05/0.002753, allocations: 11.92 kB / 368.4 MB, free: 10.07 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.002941, allocations: 59.61 kB / 368.4 MB, free: 10.01 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.523e-05/0.003026, allocations: 39.81 kB / 368.4 MB, free: 9.973 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.003477/0.006504, allocations: 0.5856 MB / 369 MB, free: 9.387 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.006543, allocations: 12.19 kB / 369 MB, free: 9.375 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000327/0.00687, allocations: 275.6 kB / 369.3 MB, free: 9.105 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003321/0.007202, allocations: 275.5 kB / 369.6 MB, free: 8.836 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 6.302e-05/0.007265, allocations: 28 kB / 369.6 MB, free: 8.809 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.007415, allocations: 55.92 kB / 369.7 MB, free: 8.754 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.007614, allocations: 187.6 kB / 369.8 MB, free: 8.57 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.007767, allocations: 123.8 kB / 370 MB, free: 8.449 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.008158, allocations: 406.6 kB / 370.4 MB, free: 8.051 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.303e-05/0.008171, allocations: 0 / 370.4 MB, free: 8.051 MB / 362.8 MB Notification: Performance of FrontEnd: time 5.81e-07/0.008171, allocations: 0 / 370.4 MB, free: 8.051 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.008186, allocations: 4 kB / 370.4 MB, free: 8.047 MB / 362.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.004211/0.0124, allocations: 0.8009 MB / 371.2 MB, free: 7.223 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.01243, allocations: 12.03 kB / 371.2 MB, free: 7.211 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.01255, allocations: 64.88 kB / 371.2 MB, free: 7.148 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.01283, allocations: 233 kB / 371.5 MB, free: 6.895 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.01286, allocations: 29.38 kB / 371.5 MB, free: 6.863 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.409e-05/0.01295, allocations: 71.81 kB / 371.6 MB, free: 6.793 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/0.01341, allocations: 349 kB / 371.9 MB, free: 6.441 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.01342, allocations: 0 / 371.9 MB, free: 6.441 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.01346, allocations: 16 kB / 371.9 MB, free: 6.426 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.01348, allocations: 12 kB / 371.9 MB, free: 6.414 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/0.01377, allocations: 166.9 kB / 372.1 MB, free: 6.254 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.01418, allocations: 283.2 kB / 372.4 MB, free: 5.957 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004734/0.01892, allocations: 0.8212 MB / 373.2 MB, free: 5.125 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/0.01917, allocations: 155.8 kB / 373.4 MB, free: 4.973 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.01928, allocations: 25 kB / 373.4 MB, free: 4.949 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.01931, allocations: 47.55 kB / 373.4 MB, free: 4.895 MB / 362.8 MB Notification: Performance of pre-optimization done (n=103): time 2.655e-06/0.01931, allocations: 0 / 373.4 MB, free: 4.895 MB / 362.8 MB Notification: Performance of matching and sorting (n=103): time 0.0008433/0.02016, allocations: 0.5368 MB / 374 MB, free: 4.348 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.02019, allocations: 68.41 kB / 374 MB, free: 4.27 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.02029, allocations: 163.1 kB / 374.2 MB, free: 4.098 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/0.02034, allocations: 45.64 kB / 374.2 MB, free: 4.047 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.02038, allocations: 102.1 kB / 374.3 MB, free: 3.945 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/0.02064, allocations: 420.3 kB / 374.7 MB, free: 3.531 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.02085, allocations: 174.9 kB / 374.9 MB, free: 3.355 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.02097, allocations: 370.6 kB / 375.3 MB, free: 2.984 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003249/0.02422, allocations: 149.4 kB / 375.4 MB, free: 2.836 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.02444, allocations: 139.8 kB / 375.6 MB, free: 2.703 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/0.02499, allocations: 439.1 kB / 376 MB, free: 2.27 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.02499, allocations: 4 kB / 376 MB, free: 2.266 MB / 362.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0006888/0.02568, allocations: 0.4932 MB / 376.5 MB, free: 1.766 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.0257, allocations: 7.938 kB / 376.5 MB, free: 1.758 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.0257, allocations: 0 / 376.5 MB, free: 1.758 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.02572, allocations: 4 kB / 376.5 MB, free: 1.754 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.02675, allocations: 414.7 kB / 376.9 MB, free: 1.355 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.02676, allocations: 4 kB / 376.9 MB, free: 1.352 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.02697, allocations: 83.33 kB / 377 MB, free: 1.27 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.02703, allocations: 27.98 kB / 377 MB, free: 1.242 MB / 362.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.001152/0.02818, allocations: 168.4 kB / 377.2 MB, free: 1.066 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.286e-05/0.02825, allocations: 63.95 kB / 377.2 MB, free: 1.004 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007556/0.02901, allocations: 0.713 MB / 378 MB, free: 288 kB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.02902, allocations: 12 kB / 378 MB, free: 276 kB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.02902, allocations: 4 kB / 378 MB, free: 272 kB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/0.02903, allocations: 7.969 kB / 378 MB, free: 264 kB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003784/0.02941, allocations: 378.9 kB / 378.3 MB, free: 15.87 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.02942, allocations: 0 / 378.3 MB, free: 15.87 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.03044, allocations: 454.1 kB / 378.8 MB, free: 15.44 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.03063, allocations: 139.2 kB / 378.9 MB, free: 15.3 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.03064, allocations: 4 kB / 378.9 MB, free: 15.3 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.814e-05/0.0307, allocations: 39.91 kB / 379 MB, free: 15.26 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.0307, allocations: 8 kB / 379 MB, free: 15.25 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.0307, allocations: 4 kB / 379 MB, free: 15.25 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008728/0.03158, allocations: 0.9122 MB / 379.9 MB, free: 14.32 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.43e-05/0.03165, allocations: 31.98 kB / 379.9 MB, free: 14.29 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.03179, allocations: 28 kB / 380 MB, free: 14.26 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/0.03188, allocations: 85.08 kB / 380 MB, free: 14.18 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.03192, allocations: 27.98 kB / 380.1 MB, free: 14.15 MB / 378.8 MB Notification: Performance of sorting global known variables: time 4.117e-05/0.03196, allocations: 40.81 kB / 380.1 MB, free: 14.11 MB / 378.8 MB Notification: Performance of sort global known variables: time 7e-08/0.03196, allocations: 0 / 380.1 MB, free: 14.11 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.000329/0.03229, allocations: 235.9 kB / 380.3 MB, free: 13.88 MB / 378.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.0001715/0.03246, allocations: 153.9 kB / 380.5 MB, free: 13.71 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.0005304/0.03299, allocations: 0.5181 MB / 381 MB, free: 13.2 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.701e-05/0.03301, allocations: 11.98 kB / 381 MB, free: 13.18 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000285/0.0333, allocations: 358.7 kB / 381.4 MB, free: 12.83 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.03361, allocations: 182.8 kB / 381.5 MB, free: 12.65 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.03737, allocations: 1.381 MB / 382.9 MB, free: 11.24 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.03748, allocations: 188.9 kB / 383.1 MB, free: 11.03 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.0002713/0.03775, allocations: 129.5 kB / 383.2 MB, free: 10.9 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/0.03814, allocations: 217.3 kB / 383.4 MB, free: 10.69 MB / 378.8 MB Notification: Performance of SimCode: time 1.462e-06/0.03814, allocations: 0 / 383.4 MB, free: 10.69 MB / 378.8 MB Notification: Performance of Templates: time 0.01305/0.05119, allocations: 12.11 MB / 395.6 MB, free: 14.79 MB / 394.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 -ignoreHideResult -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","",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.445499847643077]