Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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.001394/0.001394, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001487/0.001487, allocations: 165.4 kB / 24.56 MB, free: 16 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 0.93/0.93, allocations: 177.1 MB / 205 MB, free: 5.293 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.6692/0.6692, allocations: 88.08 MB / 349.6 MB, free: 14.23 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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|der.Tu.[0-9,]+..|der.x.[0-9,]+..|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|der.Tu.[0-9,]+..|der.x.[0-9,]+..|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 453.3 MB, free: 32.37 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.291e-05, allocations: 2.312 kB / 453.3 MB, free: 32.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002028/0.002051, allocations: 1.428 MB / 454.7 MB, free: 31.39 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007964/0.002848, allocations: 0.5435 MB / 455.3 MB, free: 31.05 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.572e-05/0.002893, allocations: 0 / 455.3 MB, free: 31.05 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.28e-05/0.002986, allocations: 7.406 kB / 455.3 MB, free: 31.05 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.003317, allocations: 62.5 kB / 455.3 MB, free: 31.02 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001039/0.003421, allocations: 44.97 kB / 455.4 MB, free: 31 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.003691, allocations: 328.2 kB / 455.7 MB, free: 30.89 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.003735, allocations: 6.938 kB / 455.7 MB, free: 30.89 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.003989, allocations: 160.7 kB / 455.9 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.004233, allocations: 152.7 kB / 456 MB, free: 30.8 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.672e-05/0.00428, allocations: 14.03 kB / 456 MB, free: 30.8 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.004393, allocations: 38.86 kB / 456.1 MB, free: 30.8 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.004533, allocations: 137.3 kB / 456.2 MB, free: 30.75 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.004638, allocations: 95.48 kB / 456.3 MB, free: 30.71 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.004916, allocations: 267.4 kB / 456.5 MB, free: 30.64 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.004918, allocations: 0 / 456.5 MB, free: 30.64 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004919, allocations: 0 / 456.5 MB, free: 30.64 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.004925, allocations: 3 kB / 456.5 MB, free: 30.64 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008083/0.005734, allocations: 0.6148 MB / 457.2 MB, free: 30.17 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.005774, allocations: 16.16 kB / 457.2 MB, free: 30.17 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.005876, allocations: 43.73 kB / 457.2 MB, free: 30.15 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.006112, allocations: 184.1 kB / 457.4 MB, free: 29.99 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.006135, allocations: 21.25 kB / 457.4 MB, free: 29.98 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.581e-05/0.0062, allocations: 32.31 kB / 457.5 MB, free: 29.97 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003639/0.006564, allocations: 203.5 kB / 457.7 MB, free: 29.9 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.006576, allocations: 3.938 kB / 457.7 MB, free: 29.9 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.006609, allocations: 18.5 kB / 457.7 MB, free: 29.89 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.00662, allocations: 3 kB / 457.7 MB, free: 29.89 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002557/0.006876, allocations: 132.4 kB / 457.8 MB, free: 29.88 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.007191, allocations: 245.9 kB / 458 MB, free: 29.66 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.008464, allocations: 0.5044 MB / 458.5 MB, free: 29.53 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.008669, allocations: 118.3 kB / 458.7 MB, free: 29.5 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.008806, allocations: 16.75 kB / 458.7 MB, free: 29.5 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.008832, allocations: 45.23 kB / 458.7 MB, free: 29.45 MB / 410.8 MB Notification: Performance of pre-optimization done (n=53): time 2.044e-06/0.008834, allocations: 0 / 458.7 MB, free: 29.45 MB / 410.8 MB Notification: Performance of matching and sorting (n=53): time 0.0008476/0.009682, allocations: 452.5 kB / 459.2 MB, free: 29.31 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.009713, allocations: 57.03 kB / 459.2 MB, free: 29.25 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.784e-05/0.009811, allocations: 201.3 kB / 459.4 MB, free: 29.07 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.00984, allocations: 36.61 kB / 459.5 MB, free: 29.03 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.009881, allocations: 146 kB / 459.6 MB, free: 28.89 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.01002, allocations: 225.8 kB / 459.8 MB, free: 28.71 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.01016, allocations: 115.3 kB / 459.9 MB, free: 28.65 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.974e-05/0.01024, allocations: 0.5197 MB / 460.5 MB, free: 28.14 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.01045, allocations: 99.97 kB / 460.5 MB, free: 28.12 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.01066, allocations: 110.7 kB / 460.7 MB, free: 28.11 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.01113, allocations: 282.2 kB / 460.9 MB, free: 28.01 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01113, allocations: 6.938 kB / 460.9 MB, free: 28 MB / 410.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007085/0.01184, allocations: 410.6 kB / 461.3 MB, free: 27.87 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.01187, allocations: 5.938 kB / 461.3 MB, free: 27.87 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.01188, allocations: 3.281 kB / 461.3 MB, free: 27.87 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.0119, allocations: 3.062 kB / 461.4 MB, free: 27.87 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004966/0.0124, allocations: 138 kB / 461.5 MB, free: 27.86 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.01241, allocations: 2.594 kB / 461.5 MB, free: 27.86 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.01256, allocations: 40.45 kB / 461.5 MB, free: 27.83 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.01261, allocations: 18.38 kB / 461.5 MB, free: 27.82 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 (74): * Single equations (assignments): 74 * 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.0001306/0.01274, allocations: 193.4 kB / 461.7 MB, free: 27.63 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.996e-05/0.01281, allocations: 42.64 kB / 461.8 MB, free: 27.61 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000908/0.01371, allocations: 0.5142 MB / 462.3 MB, free: 27.42 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.01372, allocations: 8.906 kB / 462.3 MB, free: 27.42 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.01373, allocations: 0 / 462.3 MB, free: 27.42 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.01373, allocations: 7.406 kB / 462.3 MB, free: 27.42 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.01406, allocations: 306.4 kB / 462.6 MB, free: 27.17 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.01406, allocations: 0 / 462.6 MB, free: 27.17 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.01471, allocations: 153.6 kB / 462.8 MB, free: 27.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.01471, allocations: 6.062 kB / 462.8 MB, free: 27.16 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.684e-05/0.01477, allocations: 19.86 kB / 462.8 MB, free: 27.15 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.01478, allocations: 5.031 kB / 462.8 MB, free: 27.15 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01478, allocations: 4 kB / 462.8 MB, free: 27.15 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009901/0.01577, allocations: 0.662 MB / 463.5 MB, free: 26.91 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.01592, allocations: 94.19 kB / 463.5 MB, free: 26.87 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.01598, allocations: 17.09 kB / 463.6 MB, free: 26.86 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.01613, allocations: 10.66 kB / 463.6 MB, free: 26.85 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.68e-05/0.01622, allocations: 53.36 kB / 463.6 MB, free: 26.84 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/0.01626, allocations: 24.08 kB / 463.6 MB, free: 26.84 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.004e-05/0.01631, allocations: 143.8 kB / 463.8 MB, free: 26.71 MB / 410.8 MB Notification: Performance of sort global known variables: time 1e-07/0.01631, allocations: 2.75 kB / 463.8 MB, free: 26.71 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003519/0.01666, allocations: 130.5 kB / 463.9 MB, free: 26.69 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.0001818/0.01684, allocations: 132.7 kB / 464 MB, free: 26.58 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000606/0.01745, allocations: 361.2 kB / 464.4 MB, free: 26.52 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01745, allocations: 0 / 464.4 MB, free: 26.52 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.01776, allocations: 236.6 kB / 464.6 MB, free: 26.45 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.01809, allocations: 66.19 kB / 464.7 MB, free: 26.42 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.01978, allocations: 1.082 MB / 465.8 MB, free: 25.75 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.241e-05/0.01985, allocations: 129.2 kB / 465.9 MB, free: 25.67 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0003228/0.02017, allocations: 146 kB / 466 MB, free: 25.64 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.02034, allocations: 48.95 kB / 466.1 MB, free: 25.63 MB / 410.8 MB Notification: Performance of SimCode: time 8.71e-07/0.02034, allocations: 0 / 466.1 MB, free: 25.63 MB / 410.8 MB Notification: Performance of Templates: time 0.009513/0.02985, allocations: 5.678 MB / 471.8 MB, free: 25 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_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: 4.861221733968705]