Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001137/0.001137, allocations: 73.98 kB / 22.21 MB, free: 2.297 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.001276/0.001276, allocations: 161.2 kB / 25.61 MB, free: 8.906 MB / 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.9832/0.9832, allocations: 177.1 MB / 206.1 MB, free: 4.5 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.7938/0.7938, allocations: 88.08 MB / 350.7 MB, free: 11.83 MB / 330.8 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_5,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_noopt_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,]+.|der.Tu.[0-9,]+..|der.x.[0-9,]+..|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 454.6 MB, free: 6.309 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.477e-05, allocations: 2.312 kB / 454.6 MB, free: 6.305 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001944/0.001968, allocations: 1.423 MB / 456 MB, free: 4.871 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007449/0.002713, allocations: 0.5339 MB / 456.5 MB, free: 4.336 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.002762, allocations: 0 / 456.5 MB, free: 4.336 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 8.273e-05/0.002845, allocations: 15.92 kB / 456.5 MB, free: 4.32 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.003127, allocations: 59.66 kB / 456.6 MB, free: 4.262 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.966e-05/0.003227, allocations: 47.75 kB / 456.7 MB, free: 4.215 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.003407, allocations: 199.4 kB / 456.8 MB, free: 4.02 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.003444, allocations: 8.172 kB / 456.9 MB, free: 4.012 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.003611, allocations: 99.77 kB / 457 MB, free: 3.914 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.003769, allocations: 91.81 kB / 457 MB, free: 3.824 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.003791, allocations: 8 kB / 457.1 MB, free: 3.816 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.801e-05/0.003879, allocations: 39.95 kB / 457.1 MB, free: 3.777 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 8.599e-05/0.003965, allocations: 67.86 kB / 457.2 MB, free: 3.711 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.004023, allocations: 59.81 kB / 457.2 MB, free: 3.652 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.004197, allocations: 155.4 kB / 457.4 MB, free: 3.5 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.0042, allocations: 0 / 457.4 MB, free: 3.5 MB / 426.8 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004201, allocations: 0 / 457.4 MB, free: 3.5 MB / 426.8 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.004205, allocations: 0 / 457.4 MB, free: 3.5 MB / 426.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.0005014/0.004706, allocations: 0.4962 MB / 457.9 MB, free: 2.965 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.004739, allocations: 12.03 kB / 457.9 MB, free: 2.953 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.004786, allocations: 24.84 kB / 457.9 MB, free: 2.93 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.004917, allocations: 152.3 kB / 458 MB, free: 2.754 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.004928, allocations: 12.61 kB / 458.1 MB, free: 2.742 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.004958, allocations: 20.08 kB / 458.1 MB, free: 2.723 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.005092, allocations: 116.3 kB / 458.2 MB, free: 2.605 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.0051, allocations: 0 / 458.2 MB, free: 2.605 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.005113, allocations: 8 kB / 458.2 MB, free: 2.598 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.005118, allocations: 0 / 458.2 MB, free: 2.598 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.094e-05/0.005199, allocations: 64.56 kB / 458.3 MB, free: 2.535 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.005382, allocations: 166 kB / 458.4 MB, free: 2.348 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.005861, allocations: 243.4 kB / 458.7 MB, free: 2.098 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.737e-05/0.005928, allocations: 51.66 kB / 458.7 MB, free: 2.043 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.006029, allocations: 19.98 kB / 458.7 MB, free: 2.023 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.006057, allocations: 37.39 kB / 458.8 MB, free: 1.977 MB / 426.8 MB Notification: Performance of pre-optimization done (n=28): time 1.212e-06/0.006058, allocations: 0 / 458.8 MB, free: 1.977 MB / 426.8 MB Notification: Performance of matching and sorting (n=28): time 0.0003186/0.006376, allocations: 218.1 kB / 459 MB, free: 1.758 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.006407, allocations: 51.41 kB / 459 MB, free: 1.695 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.697e-05/0.006494, allocations: 195.5 kB / 459.2 MB, free: 1.488 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.006511, allocations: 29.7 kB / 459.3 MB, free: 1.453 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.006563, allocations: 143.3 kB / 459.4 MB, free: 1.309 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.347e-05/0.006646, allocations: 119 kB / 459.5 MB, free: 1.191 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.186e-05/0.006718, allocations: 71.66 kB / 459.6 MB, free: 1.109 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.006846, allocations: 0.5001 MB / 460.1 MB, free: 0.5977 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.639e-05/0.006903, allocations: 44.61 kB / 460.1 MB, free: 0.5547 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.567e-05/0.006958, allocations: 45.22 kB / 460.2 MB, free: 0.5117 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.007099, allocations: 129.9 kB / 460.3 MB, free: 392 kB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.007101, allocations: 0 / 460.3 MB, free: 392 kB / 426.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002321/0.007333, allocations: 209.4 kB / 460.5 MB, free: 176 kB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.007349, allocations: 9.969 kB / 460.5 MB, free: 168 kB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.007354, allocations: 0 / 460.5 MB, free: 168 kB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.007365, allocations: 4 kB / 460.5 MB, free: 164 kB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.007536, allocations: 75.91 kB / 460.6 MB, free: 88 kB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.007539, allocations: 0 / 460.6 MB, free: 88 kB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.287e-05/0.007592, allocations: 23.84 kB / 460.6 MB, free: 64 kB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.007607, allocations: 15.94 kB / 460.6 MB, free: 48 kB / 426.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 9.874e-05/0.007706, allocations: 176.4 kB / 460.8 MB, free: 15.86 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.007734, allocations: 27.84 kB / 460.8 MB, free: 15.84 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/0.008051, allocations: 267.3 kB / 461.1 MB, free: 15.57 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.008055, allocations: 8 kB / 461.1 MB, free: 15.56 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.008058, allocations: 3.984 kB / 461.1 MB, free: 15.56 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.008063, allocations: 4 kB / 461.1 MB, free: 15.55 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.008239, allocations: 185 kB / 461.3 MB, free: 15.35 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.008242, allocations: 3.984 kB / 461.3 MB, free: 15.34 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.008469, allocations: 87.89 kB / 461.4 MB, free: 15.26 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.008472, allocations: 0 / 461.4 MB, free: 15.26 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.008493, allocations: 8 kB / 461.4 MB, free: 15.25 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.008495, allocations: 4 kB / 461.4 MB, free: 15.25 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.008497, allocations: 3.938 kB / 461.4 MB, free: 15.24 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.008856, allocations: 354.6 kB / 461.7 MB, free: 14.87 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/0.008918, allocations: 51.69 kB / 461.8 MB, free: 14.82 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.008945, allocations: 11.98 kB / 461.8 MB, free: 14.81 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.1e-05/0.008996, allocations: 4 kB / 461.8 MB, free: 14.8 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.009032, allocations: 27.89 kB / 461.8 MB, free: 14.78 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.009045, allocations: 8 kB / 461.8 MB, free: 14.77 MB / 442.8 MB Notification: Performance of sorting global known variables: time 4.926e-05/0.009095, allocations: 143.1 kB / 462 MB, free: 14.63 MB / 442.8 MB Notification: Performance of sort global known variables: time 5e-08/0.009095, allocations: 4 kB / 462 MB, free: 14.62 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001951/0.00929, allocations: 64 kB / 462 MB, free: 14.56 MB / 442.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.00015/0.00944, allocations: 123.1 kB / 462.2 MB, free: 14.43 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.009646, allocations: 167.7 kB / 462.3 MB, free: 14.27 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.009648, allocations: 0 / 462.3 MB, free: 14.27 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 9.363e-05/0.009741, allocations: 111.4 kB / 462.4 MB, free: 14.15 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.00993, allocations: 39.98 kB / 462.5 MB, free: 14.11 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008038/0.01073, allocations: 0.6228 MB / 463.1 MB, free: 13.46 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.098e-05/0.01078, allocations: 92.81 kB / 463.2 MB, free: 13.35 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 7.977e-05/0.01086, allocations: 41.91 kB / 463.2 MB, free: 13.31 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.01099, allocations: 126.2 kB / 463.3 MB, free: 13.18 MB / 442.8 MB Notification: Performance of SimCode: time 8.52e-07/0.01099, allocations: 0 / 463.3 MB, free: 13.18 MB / 442.8 MB Notification: Performance of Templates: time 0.005118/0.01611, allocations: 3.448 MB / 466.8 MB, free: 9.801 MB / 442.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.26622586324811]