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.001146/0.001146, 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.0011/0.0011, allocations: 161 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.9415/0.9415, allocations: 177.1 MB / 205 MB, free: 5.621 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.6236/0.6236, allocations: 88.08 MB / 349.6 MB, free: 14.3 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.352e-06/1.352e-06, allocations: 0 / 453.3 MB, free: 32.31 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.504e-05, allocations: 3.078 kB / 453.3 MB, free: 32.3 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001543/0.001568, allocations: 1.424 MB / 454.7 MB, free: 31.34 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006454/0.002213, allocations: 0.5456 MB / 455.3 MB, free: 31 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.046e-05/0.002254, allocations: 0 / 455.3 MB, free: 31 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.574e-05/0.002339, allocations: 7.219 kB / 455.3 MB, free: 30.99 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.002628, allocations: 58.66 kB / 455.3 MB, free: 30.96 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.631e-05/0.002704, allocations: 44.06 kB / 455.4 MB, free: 30.95 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.002882, allocations: 324.1 kB / 455.7 MB, free: 30.85 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.566e-05/0.002918, allocations: 10.41 kB / 455.7 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.003094, allocations: 162.6 kB / 455.9 MB, free: 30.79 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.003263, allocations: 156 kB / 456 MB, free: 30.75 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.003297, allocations: 14.44 kB / 456 MB, free: 30.75 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.587e-05/0.003383, allocations: 39.27 kB / 456.1 MB, free: 30.74 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 9.823e-05/0.003481, allocations: 126.2 kB / 456.2 MB, free: 30.7 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.138e-05/0.003552, allocations: 104.4 kB / 456.3 MB, free: 30.66 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.003756, allocations: 267.4 kB / 456.5 MB, free: 30.59 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003759, allocations: 4 kB / 456.5 MB, free: 30.58 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.32e-07/0.003759, allocations: 2.844 kB / 456.6 MB, free: 30.58 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.003765, allocations: 0 / 456.6 MB, free: 30.58 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.0005857/0.00435, allocations: 0.6098 MB / 457.2 MB, free: 30.12 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.004384, allocations: 8.781 kB / 457.2 MB, free: 30.12 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.004451, allocations: 48.36 kB / 457.2 MB, free: 30.09 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.004607, allocations: 193.2 kB / 457.4 MB, free: 29.93 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.00462, allocations: 16.84 kB / 457.4 MB, free: 29.93 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.004662, allocations: 34.7 kB / 457.5 MB, free: 29.91 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.004893, allocations: 202.7 kB / 457.7 MB, free: 29.84 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.004902, allocations: 4.297 kB / 457.7 MB, free: 29.84 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.004922, allocations: 10.81 kB / 457.7 MB, free: 29.84 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.004931, allocations: 6.891 kB / 457.7 MB, free: 29.83 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.005111, allocations: 141.6 kB / 457.8 MB, free: 29.81 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.005356, allocations: 243.2 kB / 458.1 MB, free: 29.6 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007951/0.006151, allocations: 0.4971 MB / 458.5 MB, free: 29.47 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.006291, allocations: 117.4 kB / 458.7 MB, free: 29.44 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.006393, allocations: 21.59 kB / 458.7 MB, free: 29.44 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.006408, allocations: 40.36 kB / 458.7 MB, free: 29.39 MB / 410.8 MB Notification: Performance of pre-optimization done (n=53): time 1.432e-06/0.00641, allocations: 0 / 458.7 MB, free: 29.39 MB / 410.8 MB Notification: Performance of matching and sorting (n=53): time 0.0005239/0.006934, allocations: 450.4 kB / 459.2 MB, free: 29.26 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.006954, allocations: 57.72 kB / 459.2 MB, free: 29.2 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.629e-05/0.007021, allocations: 206.4 kB / 459.4 MB, free: 29.02 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.007039, allocations: 29.7 kB / 459.5 MB, free: 28.98 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.007066, allocations: 145.6 kB / 459.6 MB, free: 28.84 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.615e-05/0.007153, allocations: 230.1 kB / 459.8 MB, free: 28.66 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.872e-05/0.007241, allocations: 108 kB / 459.9 MB, free: 28.6 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.19e-05/0.007293, allocations: 0.5272 MB / 460.5 MB, free: 28.08 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.007422, allocations: 100.6 kB / 460.5 MB, free: 28.07 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.007551, allocations: 108.6 kB / 460.7 MB, free: 28.05 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.00784, allocations: 283.1 kB / 460.9 MB, free: 27.96 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.007842, allocations: 0 / 460.9 MB, free: 27.96 MB / 410.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003982/0.008241, allocations: 415.4 kB / 461.3 MB, free: 27.82 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.008253, allocations: 7.875 kB / 461.3 MB, free: 27.82 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.008258, allocations: 0 / 461.3 MB, free: 27.82 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.008271, allocations: 6.625 kB / 461.4 MB, free: 27.82 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.008545, allocations: 139.9 kB / 461.5 MB, free: 27.8 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.008551, allocations: 2.875 kB / 461.5 MB, free: 27.8 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.96e-05/0.008631, allocations: 37.39 kB / 461.5 MB, free: 27.77 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.008653, allocations: 27.33 kB / 461.6 MB, free: 27.77 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 6.805e-05/0.008721, allocations: 186.1 kB / 461.7 MB, free: 27.58 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.00876, allocations: 38.8 kB / 461.8 MB, free: 27.56 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005286/0.009289, allocations: 0.5231 MB / 462.3 MB, free: 27.37 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.009293, allocations: 5.719 kB / 462.3 MB, free: 27.37 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.009297, allocations: 0 / 462.3 MB, free: 27.37 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.009302, allocations: 3.422 kB / 462.3 MB, free: 27.37 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.009495, allocations: 306.2 kB / 462.6 MB, free: 27.12 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.009497, allocations: 2.844 kB / 462.6 MB, free: 27.12 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/0.009876, allocations: 158.8 kB / 462.8 MB, free: 27.11 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.009879, allocations: 2.875 kB / 462.8 MB, free: 27.11 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.009914, allocations: 24.09 kB / 462.8 MB, free: 27.09 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.009917, allocations: 2.844 kB / 462.8 MB, free: 27.09 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.009919, allocations: 7.266 kB / 462.8 MB, free: 27.09 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000608/0.01053, allocations: 0.6608 MB / 463.5 MB, free: 26.85 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-05/0.01062, allocations: 93.14 kB / 463.6 MB, free: 26.81 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.01066, allocations: 20.7 kB / 463.6 MB, free: 26.8 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/0.01073, allocations: 15.03 kB / 463.6 MB, free: 26.79 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.01078, allocations: 47.95 kB / 463.6 MB, free: 26.78 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.0108, allocations: 20.8 kB / 463.7 MB, free: 26.78 MB / 410.8 MB Notification: Performance of sorting global known variables: time 3.229e-05/0.01083, allocations: 153.7 kB / 463.8 MB, free: 26.65 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01083, allocations: 0 / 463.8 MB, free: 26.65 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000206/0.01104, allocations: 119.6 kB / 463.9 MB, free: 26.64 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.0001268/0.01117, allocations: 135.5 kB / 464.1 MB, free: 26.52 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003741/0.01154, allocations: 368 kB / 464.4 MB, free: 26.45 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01154, allocations: 0 / 464.4 MB, free: 26.45 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.01173, allocations: 228.9 kB / 464.6 MB, free: 26.4 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.01194, allocations: 59.64 kB / 464.7 MB, free: 26.37 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.01306, allocations: 1.09 MB / 465.8 MB, free: 25.69 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.914e-05/0.01311, allocations: 124.7 kB / 465.9 MB, free: 25.61 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.01329, allocations: 148.4 kB / 466 MB, free: 25.58 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.0134, allocations: 50.97 kB / 466.1 MB, free: 25.57 MB / 410.8 MB Notification: Performance of SimCode: time 4.71e-07/0.0134, allocations: 0 / 466.1 MB, free: 25.57 MB / 410.8 MB Notification: Performance of Templates: time 0.005822/0.01922, allocations: 5.359 MB / 471.5 MB, free: 24.98 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: 5.0260250410065055]