Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.0009661/0.0009661, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001142/0.002108, 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.000694/0.000694, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000913/0.001607, 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 0.9088/0.9088, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0865/0.9953, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.6732/0.6732, allocations: 88.08 MB / 332.1 MB, free: 14.2 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0533/0.7265, allocations: 32.93 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_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 366.3 MB, free: 12.13 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.821e-05, allocations: 6.969 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.001649/0.001667, allocations: 1.469 MB / 367.8 MB, free: 10.64 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005903/0.002257, allocations: 0.5495 MB / 368.3 MB, free: 10.09 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.002292, allocations: 4 kB / 368.3 MB, free: 10.09 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.002326, allocations: 7.938 kB / 368.3 MB, free: 10.08 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.002505, allocations: 59.61 kB / 368.4 MB, free: 10.02 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.216e-05/0.002577, allocations: 47.75 kB / 368.4 MB, free: 9.977 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003794/0.002957, allocations: 0.5778 MB / 369 MB, free: 9.398 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.002996, allocations: 8.188 kB / 369 MB, free: 9.391 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.003267, allocations: 272.3 kB / 369.3 MB, free: 9.125 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.003548, allocations: 279.5 kB / 369.6 MB, free: 8.852 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/0.003594, allocations: 28 kB / 369.6 MB, free: 8.824 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.00372, allocations: 59.91 kB / 369.7 MB, free: 8.766 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.003862, allocations: 187.7 kB / 369.8 MB, free: 8.582 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.003994, allocations: 119.8 kB / 370 MB, free: 8.465 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.004321, allocations: 406.6 kB / 370.4 MB, free: 8.066 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.224e-05/0.004333, allocations: 0 / 370.4 MB, free: 8.066 MB / 362.8 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004334, allocations: 3.938 kB / 370.4 MB, free: 8.062 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.004347, allocations: 0 / 370.4 MB, free: 8.062 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.0009624/0.005309, allocations: 0.8126 MB / 371.2 MB, free: 7.227 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.00534, allocations: 12.03 kB / 371.2 MB, free: 7.215 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.206e-05/0.005422, allocations: 60.89 kB / 371.2 MB, free: 7.156 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.00564, allocations: 233.1 kB / 371.5 MB, free: 6.902 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.005664, allocations: 29.38 kB / 371.5 MB, free: 6.871 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.001e-05/0.005734, allocations: 63.83 kB / 371.6 MB, free: 6.809 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.006074, allocations: 349 kB / 371.9 MB, free: 6.457 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.006084, allocations: 4 kB / 371.9 MB, free: 6.453 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.006112, allocations: 12 kB / 371.9 MB, free: 6.441 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.00612, allocations: 16 kB / 371.9 MB, free: 6.426 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.006336, allocations: 166.9 kB / 372.1 MB, free: 6.266 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.00667, allocations: 283.2 kB / 372.4 MB, free: 5.969 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.007963, allocations: 0.8212 MB / 373.2 MB, free: 5.137 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.008141, allocations: 151.8 kB / 373.3 MB, free: 4.988 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.008248, allocations: 32.98 kB / 373.4 MB, free: 4.957 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.008273, allocations: 43.5 kB / 373.4 MB, free: 4.906 MB / 362.8 MB Notification: Performance of pre-optimization done (n=103): time 2.304e-06/0.008276, allocations: 0 / 373.4 MB, free: 4.906 MB / 362.8 MB Notification: Performance of matching and sorting (n=103): time 0.0006283/0.008904, allocations: 0.5368 MB / 374 MB, free: 4.359 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.008939, allocations: 64.41 kB / 374 MB, free: 4.285 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.009023, allocations: 167.1 kB / 374.2 MB, free: 4.109 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.009059, allocations: 41.7 kB / 374.2 MB, free: 4.062 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.966e-05/0.009088, allocations: 106.1 kB / 374.3 MB, free: 3.957 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.009293, allocations: 416.3 kB / 374.7 MB, free: 3.547 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.009443, allocations: 182.8 kB / 374.9 MB, free: 3.363 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.009535, allocations: 370.6 kB / 375.3 MB, free: 2.992 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.009705, allocations: 145.4 kB / 375.4 MB, free: 2.848 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.009863, allocations: 143.7 kB / 375.6 MB, free: 2.711 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.01027, allocations: 443 kB / 376 MB, free: 2.273 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01027, allocations: 0 / 376 MB, free: 2.273 MB / 362.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0004979/0.01077, allocations: 0.4893 MB / 376.5 MB, free: 1.777 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.01079, allocations: 7.938 kB / 376.5 MB, free: 1.77 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01079, allocations: 0 / 376.5 MB, free: 1.77 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.01081, allocations: 12 kB / 376.5 MB, free: 1.758 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007468/0.01155, allocations: 411.5 kB / 376.9 MB, free: 1.363 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.01156, allocations: 4 kB / 376.9 MB, free: 1.359 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.01172, allocations: 83.34 kB / 377 MB, free: 1.277 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/0.01176, allocations: 23.98 kB / 377 MB, free: 1.254 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.0001199/0.01188, allocations: 164.5 kB / 377.2 MB, free: 1.082 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.01194, allocations: 67.94 kB / 377.2 MB, free: 1.016 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007391/0.01268, allocations: 0.713 MB / 377.9 MB, free: 300 kB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.01269, allocations: 16 kB / 378 MB, free: 284 kB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01269, allocations: 0 / 378 MB, free: 284 kB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.0127, allocations: 7.969 kB / 378 MB, free: 276 kB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.01308, allocations: 378.9 kB / 378.3 MB, free: 15.88 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01308, allocations: 0 / 378.3 MB, free: 15.88 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009368/0.01402, allocations: 451.7 kB / 378.8 MB, free: 15.45 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.01417, allocations: 131.2 kB / 378.9 MB, free: 15.32 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.01418, allocations: 4 kB / 378.9 MB, free: 15.32 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.065e-05/0.01424, allocations: 51.89 kB / 379 MB, free: 15.27 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.01424, allocations: 4 kB / 379 MB, free: 15.26 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.01425, allocations: 0 / 379 MB, free: 15.26 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000944/0.01519, allocations: 0.92 MB / 379.9 MB, free: 14.32 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.161e-05/0.01527, allocations: 35.97 kB / 379.9 MB, free: 14.29 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.01541, allocations: 24 kB / 379.9 MB, free: 14.27 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.224e-05/0.0155, allocations: 85.08 kB / 380 MB, free: 14.18 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/0.01555, allocations: 27.98 kB / 380.1 MB, free: 14.16 MB / 378.8 MB Notification: Performance of sorting global known variables: time 3.944e-05/0.01559, 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.01559, allocations: 4 kB / 380.1 MB, free: 14.11 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.0002905/0.01588, 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.000161/0.01604, allocations: 149.9 kB / 380.5 MB, free: 13.72 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.0005832/0.01663, allocations: 0.5143 MB / 381 MB, free: 13.21 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/0.01664, allocations: 8 kB / 381 MB, free: 13.2 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.01694, allocations: 358.7 kB / 381.4 MB, free: 12.85 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.01725, allocations: 187.3 kB / 381.5 MB, free: 12.66 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/0.02083, allocations: 1.381 MB / 382.9 MB, free: 11.25 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.02093, allocations: 192.9 kB / 383.1 MB, free: 11.04 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.000242/0.02117, allocations: 129.5 kB / 383.2 MB, free: 10.91 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/0.02153, allocations: 221.3 kB / 383.4 MB, free: 10.69 MB / 378.8 MB Notification: Performance of SimCode: time 9.92e-07/0.02153, allocations: 0 / 383.4 MB, free: 10.69 MB / 378.8 MB Notification: Performance of Templates: time 0.01232/0.03385, allocations: 12.11 MB / 395.6 MB, free: 14.8 MB / 394.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_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: 6.661102692596614]