Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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.001007/0.001007, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002255/0.003262, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009987/0.0009987, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001221/0.00222, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.012/1.012, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1177/1.13, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.8836/0.8836, allocations: 88.08 MB / 332.2 MB, free: 14.12 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1007/0.9843, allocations: 32.93 MB / 365.2 MB, free: 13.38 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_5,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_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,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_5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.638e-06/4.638e-06, allocations: 4 kB / 366.5 MB, free: 12.05 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.247e-05/4.711e-05, allocations: 3.953 kB / 366.5 MB, free: 12.04 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.004072/0.004119, allocations: 1.488 MB / 368 MB, free: 10.54 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.005596, allocations: 0.5416 MB / 368.5 MB, free: 10 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.274e-05/0.005679, allocations: 4 kB / 368.5 MB, free: 9.996 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.005796, allocations: 15.92 kB / 368.6 MB, free: 9.98 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000476/0.006272, allocations: 59.66 kB / 368.6 MB, free: 9.922 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.006489, allocations: 43.77 kB / 368.7 MB, free: 9.879 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.006811, allocations: 203.4 kB / 368.9 MB, free: 9.68 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.817e-05/0.006869, allocations: 4.188 kB / 368.9 MB, free: 9.676 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003836/0.007252, allocations: 116.4 kB / 369 MB, free: 9.562 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.007575, allocations: 91.81 kB / 369.1 MB, free: 9.473 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 4.238e-05/0.007618, allocations: 8 kB / 369.1 MB, free: 9.465 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.007846, allocations: 43.89 kB / 369.1 MB, free: 9.422 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.007979, allocations: 55.84 kB / 369.2 MB, free: 9.367 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 9.519e-05/0.008074, allocations: 35.94 kB / 369.2 MB, free: 9.332 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.008441, allocations: 127.6 kB / 369.3 MB, free: 9.207 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.763e-05/0.008469, allocations: 4 kB / 369.3 MB, free: 9.203 MB / 362.8 MB Notification: Performance of FrontEnd: time 2.895e-06/0.008472, allocations: 0 / 369.3 MB, free: 9.203 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.00849, allocations: 0 / 369.3 MB, free: 9.203 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0009021/0.009393, allocations: 408.7 kB / 369.7 MB, free: 8.777 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.009437, allocations: 8.031 kB / 369.7 MB, free: 8.77 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.247e-05/0.009529, allocations: 20.92 kB / 369.8 MB, free: 8.75 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.009808, allocations: 153.4 kB / 369.9 MB, free: 8.574 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.009831, allocations: 8.609 kB / 369.9 MB, free: 8.566 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.009898, allocations: 24.06 kB / 369.9 MB, free: 8.543 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.01018, allocations: 114.3 kB / 370.1 MB, free: 8.426 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.01019, allocations: 4 kB / 370.1 MB, free: 8.422 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.01022, allocations: 4 kB / 370.1 MB, free: 8.418 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.01023, allocations: 4 kB / 370.1 MB, free: 8.414 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.01036, allocations: 48.59 kB / 370.1 MB, free: 8.367 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003196/0.01068, allocations: 119.5 kB / 370.2 MB, free: 8.234 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008518/0.01153, allocations: 213.8 kB / 370.4 MB, free: 8.016 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.677e-05/0.01162, allocations: 48.84 kB / 370.5 MB, free: 7.965 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.01178, allocations: 11.98 kB / 370.5 MB, free: 7.953 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.01181, allocations: 34.56 kB / 370.5 MB, free: 7.91 MB / 362.8 MB Notification: Performance of pre-optimization done (n=28): time 4.538e-06/0.01182, allocations: 0 / 370.5 MB, free: 7.91 MB / 362.8 MB Notification: Performance of matching and sorting (n=28): time 0.0004246/0.01224, allocations: 178.2 kB / 370.7 MB, free: 7.73 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.01229, allocations: 55.41 kB / 370.8 MB, free: 7.664 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.01241, allocations: 132.2 kB / 370.9 MB, free: 7.523 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.01244, allocations: 33.7 kB / 370.9 MB, free: 7.484 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.01248, allocations: 84.62 kB / 371 MB, free: 7.398 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.01259, allocations: 115 kB / 371.1 MB, free: 7.285 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.0127, allocations: 58 kB / 371.2 MB, free: 7.219 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.01284, allocations: 330.8 kB / 371.5 MB, free: 6.887 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.446e-05/0.01294, allocations: 43.45 kB / 371.5 MB, free: 6.844 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.656e-05/0.01303, allocations: 45.83 kB / 371.6 MB, free: 6.801 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.01324, allocations: 116.7 kB / 371.7 MB, free: 6.684 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.01324, allocations: 3.938 kB / 371.7 MB, free: 6.68 MB / 362.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003109/0.01355, allocations: 161.5 kB / 371.9 MB, free: 6.516 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.01358, allocations: 4 kB / 371.9 MB, free: 6.512 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.0136, allocations: 3.938 kB / 371.9 MB, free: 6.508 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.01361, allocations: 8 kB / 371.9 MB, free: 6.5 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.01411, allocations: 99.86 kB / 372 MB, free: 6.402 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.01412, allocations: 4 kB / 372 MB, free: 6.398 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.01425, allocations: 27.78 kB / 372 MB, free: 6.371 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.01427, allocations: 7.984 kB / 372 MB, free: 6.363 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 (39): * Single equations (assignments): 39 * 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.0001912/0.01447, allocations: 124.6 kB / 372.1 MB, free: 6.23 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/0.01454, allocations: 23.92 kB / 372.2 MB, free: 6.207 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005131/0.01505, allocations: 228.1 kB / 372.4 MB, free: 5.98 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.01505, allocations: 4 kB / 372.4 MB, free: 5.977 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.01506, allocations: 3.938 kB / 372.4 MB, free: 5.973 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.01507, allocations: 0 / 372.4 MB, free: 5.973 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.01534, allocations: 149.7 kB / 372.5 MB, free: 5.809 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.01535, allocations: 0 / 372.5 MB, free: 5.809 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004836/0.01583, allocations: 126.9 kB / 372.7 MB, free: 5.688 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-05/0.01593, allocations: 47.75 kB / 372.7 MB, free: 5.641 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.01594, allocations: 0 / 372.7 MB, free: 5.641 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.206e-05/0.01598, allocations: 11.98 kB / 372.7 MB, free: 5.629 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.535e-06/0.01598, allocations: 4 kB / 372.7 MB, free: 5.625 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.01599, allocations: 0 / 372.7 MB, free: 5.625 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.01649, allocations: 289 kB / 373 MB, free: 5.32 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.01653, allocations: 8 kB / 373 MB, free: 5.312 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.01662, allocations: 16 kB / 373 MB, free: 5.297 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.01668, allocations: 23.94 kB / 373.1 MB, free: 5.273 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.0167, allocations: 11.94 kB / 373.1 MB, free: 5.262 MB / 362.8 MB Notification: Performance of sorting global known variables: time 4.507e-05/0.01674, allocations: 27.17 kB / 373.1 MB, free: 5.234 MB / 362.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01674, allocations: 0 / 373.1 MB, free: 5.234 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0002835/0.01703, allocations: 68 kB / 373.2 MB, free: 5.168 MB / 362.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.000226/0.01725, allocations: 101.2 kB / 373.3 MB, free: 5.059 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0003291/0.01758, allocations: 156.9 kB / 373.4 MB, free: 4.902 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.448e-05/0.01761, allocations: 4 kB / 373.4 MB, free: 4.898 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.01779, allocations: 124.6 kB / 373.5 MB, free: 4.773 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.01823, allocations: 268.4 kB / 373.8 MB, free: 4.461 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/0.02114, allocations: 479.9 kB / 374.3 MB, free: 3.965 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.942e-05/0.02123, allocations: 96.67 kB / 374.4 MB, free: 3.848 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.02141, allocations: 37.88 kB / 374.4 MB, free: 3.812 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.02163, allocations: 99.34 kB / 374.5 MB, free: 3.715 MB / 362.8 MB Notification: Performance of SimCode: time 2.144e-06/0.02163, allocations: 0 / 374.5 MB, free: 3.715 MB / 362.8 MB Notification: Performance of Templates: time 0.009617/0.03125, allocations: 3.664 MB / 378.2 MB, free: 148 kB / 362.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.97878713067621]