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.001297/0.001297, allocations: 76.08 kB / 20.68 MB, free: 1.016 MB / 14.72 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.001326/0.001326, allocations: 162.7 kB / 23.96 MB, free: 4.133 MB / 14.72 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.385/1.385, allocations: 177.1 MB / 204.3 MB, free: 9.156 MB / 190.1 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.8938/0.8938, allocations: 88.06 MB / 348.7 MB, free: 1.773 MB / 318.1 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.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",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.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.5251 GB, free: 7.223 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.409e-05, allocations: 2.281 kB / 0.5251 GB, free: 7.219 MB / 446.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001855/0.001879, allocations: 1.386 MB / 0.5264 GB, free: 6.129 MB / 446.2 MB Notification: Performance of NFInst.instExpressions: time 0.0008043/0.002683, allocations: 0.5225 MB / 0.527 GB, free: 5.734 MB / 446.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.002727, allocations: 0.9062 kB / 0.527 GB, free: 5.734 MB / 446.2 MB Notification: Performance of NFTyping.typeComponents: time 8.087e-05/0.002808, allocations: 8.828 kB / 0.527 GB, free: 5.727 MB / 446.2 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.00314, allocations: 62.44 kB / 0.527 GB, free: 5.68 MB / 446.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001106/0.003251, allocations: 43.81 kB / 0.5271 GB, free: 5.648 MB / 446.2 MB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.003464, allocations: 194.8 kB / 0.5273 GB, free: 5.547 MB / 446.2 MB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.003508, allocations: 7.859 kB / 0.5273 GB, free: 5.543 MB / 446.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.003727, allocations: 104.4 kB / 0.5274 GB, free: 5.488 MB / 446.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.0039, allocations: 92.44 kB / 0.5274 GB, free: 5.438 MB / 446.2 MB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/0.00394, allocations: 8.281 kB / 0.5275 GB, free: 5.438 MB / 446.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.004057, allocations: 37.17 kB / 0.5275 GB, free: 5.422 MB / 446.2 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.004174, allocations: 70.52 kB / 0.5276 GB, free: 5.379 MB / 446.2 MB Notification: Performance of NFVerifyModel.verify: time 9.174e-05/0.004266, allocations: 55.53 kB / 0.5276 GB, free: 5.352 MB / 446.2 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.004469, allocations: 152.5 kB / 0.5278 GB, free: 5.266 MB / 446.2 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.004472, allocations: 0 / 0.5278 GB, free: 5.266 MB / 446.2 MB Notification: Performance of FrontEnd: time 1.944e-06/0.004474, allocations: 1.25 kB / 0.5278 GB, free: 5.266 MB / 446.2 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.004479, allocations: 0 / 0.5278 GB, free: 5.266 MB / 446.2 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.000712/0.005191, allocations: 408.2 kB / 0.5281 GB, free: 4.906 MB / 446.2 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.005227, allocations: 14.03 kB / 0.5282 GB, free: 4.902 MB / 446.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.005281, allocations: 16.44 kB / 0.5282 GB, free: 4.895 MB / 446.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.005452, allocations: 157.8 kB / 0.5283 GB, free: 4.738 MB / 446.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.005467, allocations: 9.672 kB / 0.5283 GB, free: 4.734 MB / 446.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.005508, allocations: 20.92 kB / 0.5284 GB, free: 4.723 MB / 446.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.005774, allocations: 176 kB / 0.5285 GB, free: 4.613 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.005786, allocations: 1.438 kB / 0.5285 GB, free: 4.613 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.005805, allocations: 4 kB / 0.5285 GB, free: 4.609 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.00581, allocations: 2.906 kB / 0.5285 GB, free: 4.609 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.006035, allocations: 143.5 kB / 0.5287 GB, free: 4.551 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002358/0.006271, allocations: 208.3 kB / 0.5289 GB, free: 4.371 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009377/0.007209, allocations: 347.6 kB / 0.5292 GB, free: 4.215 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.007374, allocations: 117.4 kB / 0.5293 GB, free: 4.156 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.00751, allocations: 11.55 kB / 0.5293 GB, free: 4.152 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.007525, allocations: 41 kB / 0.5294 GB, free: 4.105 MB / 446.2 MB Notification: Performance of pre-optimization done (n=28): time 1.833e-06/0.007527, allocations: 3.984 kB / 0.5294 GB, free: 4.102 MB / 446.2 MB Notification: Performance of matching and sorting (n=28): time 0.0006079/0.008135, allocations: 376.9 kB / 0.5297 GB, free: 3.926 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.008164, allocations: 53.91 kB / 0.5298 GB, free: 3.863 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.48e-05/0.008239, allocations: 132.5 kB / 0.5299 GB, free: 3.746 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.008259, allocations: 30.95 kB / 0.5299 GB, free: 3.711 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 2.55e-05/0.008284, allocations: 95.17 kB / 0.53 GB, free: 3.617 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 6.876e-05/0.008353, allocations: 116.9 kB / 0.5301 GB, free: 3.516 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-05/0.008436, allocations: 60.56 kB / 0.5302 GB, free: 3.473 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 4.59e-05/0.008482, allocations: 331.8 kB / 0.5305 GB, free: 3.145 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.008658, allocations: 128.6 kB / 0.5306 GB, free: 3.086 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.008828, allocations: 126.5 kB / 0.5308 GB, free: 3.031 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.009196, allocations: 281 kB / 0.531 GB, free: 2.902 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.009198, allocations: 0 / 0.531 GB, free: 2.902 MB / 446.2 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004712/0.009669, allocations: 357.3 kB / 0.5314 GB, free: 2.672 MB / 446.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.009683, allocations: 4 kB / 0.5314 GB, free: 2.668 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.009688, allocations: 0 / 0.5314 GB, free: 2.668 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.009706, allocations: 8 kB / 0.5314 GB, free: 2.66 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.009998, allocations: 79.89 kB / 0.5314 GB, free: 2.582 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.01, allocations: 0 / 0.5314 GB, free: 2.582 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.01012, allocations: 15.89 kB / 0.5315 GB, free: 2.566 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.01015, allocations: 12 kB / 0.5315 GB, free: 2.555 MB / 446.2 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 8.306e-05/0.01023, allocations: 133.8 kB / 0.5316 GB, free: 2.414 MB / 446.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.01026, allocations: 19.84 kB / 0.5316 GB, free: 2.395 MB / 446.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005587/0.01082, allocations: 411.1 kB / 0.532 GB, free: 1.988 MB / 446.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.01082, allocations: 4 kB / 0.532 GB, free: 1.984 MB / 446.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01083, allocations: 3.938 kB / 0.532 GB, free: 1.98 MB / 446.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.01083, allocations: 3.984 kB / 0.532 GB, free: 1.977 MB / 446.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.01104, allocations: 229.1 kB / 0.5322 GB, free: 1.723 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.01104, allocations: 4 kB / 0.5322 GB, free: 1.719 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003904/0.01143, allocations: 83.91 kB / 0.5323 GB, free: 1.637 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.01144, allocations: 7.938 kB / 0.5323 GB, free: 1.629 MB / 446.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.01146, allocations: 11.98 kB / 0.5323 GB, free: 1.617 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01147, allocations: 8 kB / 0.5324 GB, free: 1.609 MB / 446.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01147, allocations: 0 / 0.5324 GB, free: 1.609 MB / 446.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005925/0.01206, allocations: 0.5188 MB / 0.5329 GB, free: 1.066 MB / 446.2 MB Notification: Performance of postOpt removeConstants (simulation): time 8.683e-05/0.01215, allocations: 47.8 kB / 0.5329 GB, free: 1.02 MB / 446.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.01219, allocations: 19.86 kB / 0.5329 GB, free: 1 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.0123, allocations: 12.11 kB / 0.5329 GB, free: 0.9883 MB / 446.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.01234, allocations: 23.89 kB / 0.533 GB, free: 0.9648 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.01236, allocations: 12 kB / 0.533 GB, free: 0.9531 MB / 446.2 MB Notification: Performance of sorting global known variables: time 3.775e-05/0.0124, allocations: 101.9 kB / 0.5331 GB, free: 0.8555 MB / 446.2 MB Notification: Performance of sort global known variables: time 6e-08/0.0124, allocations: 0 / 0.5331 GB, free: 0.8555 MB / 446.2 MB Notification: Performance of remove unused functions: time 0.0002602/0.01266, allocations: 79.92 kB / 0.5331 GB, free: 0.7773 MB / 446.2 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.0001444/0.0128, allocations: 115.2 kB / 0.5333 GB, free: 0.6562 MB / 446.2 MB Notification: Performance of simCode: created initialization part: time 0.0003824/0.01318, allocations: 287.7 kB / 0.5335 GB, free: 384 kB / 446.2 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01318, allocations: 0 / 0.5335 GB, free: 384 kB / 446.2 MB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.01336, allocations: 160.8 kB / 0.5337 GB, free: 224 kB / 446.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.01361, allocations: 35.17 kB / 0.5337 GB, free: 192 kB / 446.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.01478, allocations: 0.7053 MB / 0.5344 GB, free: 15.45 MB / 462.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.01491, allocations: 144.7 kB / 0.5345 GB, free: 15.29 MB / 462.2 MB Notification: Performance of simCode: alias equations: time 0.0001904/0.0151, allocations: 85.86 kB / 0.5346 GB, free: 15.21 MB / 462.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.0152, allocations: 32.48 kB / 0.5347 GB, free: 15.18 MB / 462.2 MB Notification: Performance of SimCode: time 3.31e-07/0.0152, allocations: 0 / 0.5347 GB, free: 15.18 MB / 462.2 MB Notification: Performance of Templates: time 0.007238/0.02244, allocations: 3.059 MB / 0.5376 GB, free: 12.15 MB / 462.2 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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 300] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",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.075103893876076]