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.001618/0.001618, allocations: 81 kB / 20.68 MB, free: 1.027 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.001731/0.001731, allocations: 167.8 kB / 23.95 MB, free: 4.16 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.497/1.497, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 1.051/1.051, allocations: 88.07 MB / 348.7 MB, free: 1.793 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_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.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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5251 GB, free: 7.23 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/3.102e-05, allocations: 6.219 kB / 0.5251 GB, free: 7.223 MB / 446.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001999/0.00203, allocations: 1.375 MB / 0.5264 GB, free: 6.141 MB / 446.2 MB Notification: Performance of NFInst.instExpressions: time 0.0008365/0.002867, allocations: 0.5193 MB / 0.527 GB, free: 5.75 MB / 446.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.462e-05/0.002911, allocations: 3.938 kB / 0.527 GB, free: 5.746 MB / 446.2 MB Notification: Performance of NFTyping.typeComponents: time 7.681e-05/0.002988, allocations: 8.828 kB / 0.527 GB, free: 5.738 MB / 446.2 MB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.003298, allocations: 63.34 kB / 0.527 GB, free: 5.691 MB / 446.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.000106/0.003404, allocations: 38.94 kB / 0.5271 GB, free: 5.664 MB / 446.2 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.003639, allocations: 202.6 kB / 0.5273 GB, free: 5.555 MB / 446.2 MB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.003681, allocations: 3.875 kB / 0.5273 GB, free: 5.555 MB / 446.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.003891, allocations: 113.5 kB / 0.5274 GB, free: 5.492 MB / 446.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.004081, allocations: 96.23 kB / 0.5275 GB, free: 5.438 MB / 446.2 MB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.004121, allocations: 8.375 kB / 0.5275 GB, free: 5.438 MB / 446.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.004232, allocations: 36.55 kB / 0.5275 GB, free: 5.422 MB / 446.2 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.004342, allocations: 67.61 kB / 0.5276 GB, free: 5.383 MB / 446.2 MB Notification: Performance of NFVerifyModel.verify: time 7.755e-05/0.004419, allocations: 54.55 kB / 0.5276 GB, free: 5.355 MB / 446.2 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.004627, allocations: 156.3 kB / 0.5278 GB, free: 5.266 MB / 446.2 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.00463, allocations: 4 kB / 0.5278 GB, free: 5.262 MB / 446.2 MB Notification: Performance of FrontEnd: time 4.81e-07/0.00463, allocations: 0.9375 kB / 0.5278 GB, free: 5.262 MB / 446.2 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004635, allocations: 0 / 0.5278 GB, free: 5.262 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.0007307/0.005365, allocations: 397.7 kB / 0.5282 GB, free: 4.914 MB / 446.2 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.005403, allocations: 16.83 kB / 0.5282 GB, free: 4.906 MB / 446.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.323e-05/0.005456, allocations: 16.41 kB / 0.5282 GB, free: 4.898 MB / 446.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.005637, allocations: 153.5 kB / 0.5283 GB, free: 4.746 MB / 446.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.005654, allocations: 13.58 kB / 0.5283 GB, free: 4.738 MB / 446.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.013e-05/0.005705, allocations: 20.92 kB / 0.5284 GB, free: 4.727 MB / 446.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.005995, allocations: 172.8 kB / 0.5285 GB, free: 4.621 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.006006, allocations: 0 / 0.5285 GB, free: 4.621 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.006029, allocations: 5.281 kB / 0.5285 GB, free: 4.617 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.006035, allocations: 2.531 kB / 0.5285 GB, free: 4.617 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002474/0.006282, allocations: 143.3 kB / 0.5287 GB, free: 4.559 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002728/0.006555, allocations: 208.3 kB / 0.5289 GB, free: 4.379 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.007559, allocations: 347.5 kB / 0.5292 GB, free: 4.223 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.007763, allocations: 113.4 kB / 0.5293 GB, free: 4.168 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001561/0.007919, allocations: 11.56 kB / 0.5293 GB, free: 4.164 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.007943, allocations: 44.95 kB / 0.5294 GB, free: 4.113 MB / 446.2 MB Notification: Performance of pre-optimization done (n=28): time 1.783e-06/0.007945, allocations: 0 / 0.5294 GB, free: 4.113 MB / 446.2 MB Notification: Performance of matching and sorting (n=28): time 0.000703/0.008648, allocations: 372.6 kB / 0.5297 GB, free: 3.941 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.00868, allocations: 55.16 kB / 0.5298 GB, free: 3.879 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.008781, allocations: 140.5 kB / 0.5299 GB, free: 3.754 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.008804, allocations: 30.95 kB / 0.5299 GB, free: 3.719 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.008842, allocations: 91.16 kB / 0.53 GB, free: 3.629 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 8.211e-05/0.008924, allocations: 112.9 kB / 0.5301 GB, free: 3.531 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.213e-05/0.009016, allocations: 63.27 kB / 0.5302 GB, free: 3.484 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 6.545e-05/0.009081, allocations: 329.1 kB / 0.5305 GB, free: 3.16 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.009269, allocations: 119.5 kB / 0.5306 GB, free: 3.109 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.009453, allocations: 131.8 kB / 0.5307 GB, free: 3.051 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.009859, allocations: 279.5 kB / 0.531 GB, free: 2.922 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.009861, allocations: 0 / 0.531 GB, free: 2.922 MB / 446.2 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005024/0.01036, allocations: 366.3 kB / 0.5314 GB, free: 2.68 MB / 446.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.01038, allocations: 11.94 kB / 0.5314 GB, free: 2.668 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01039, allocations: 0 / 0.5314 GB, free: 2.668 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.0104, allocations: 4 kB / 0.5314 GB, free: 2.664 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.01069, allocations: 71.91 kB / 0.5314 GB, free: 2.594 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.0107, allocations: 3.984 kB / 0.5314 GB, free: 2.59 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.01081, allocations: 27.83 kB / 0.5315 GB, free: 2.562 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.01083, allocations: 8 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 9.573e-05/0.01093, allocations: 141.8 kB / 0.5316 GB, free: 2.406 MB / 446.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.01096, allocations: 19.84 kB / 0.5316 GB, free: 2.387 MB / 446.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005803/0.01154, allocations: 399.1 kB / 0.532 GB, free: 1.992 MB / 446.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.01155, allocations: 7.984 kB / 0.532 GB, free: 1.984 MB / 446.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.01155, allocations: 4 kB / 0.532 GB, free: 1.98 MB / 446.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.01156, allocations: 0 / 0.532 GB, free: 1.98 MB / 446.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.01177, allocations: 233.1 kB / 0.5323 GB, free: 1.723 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01177, allocations: 0 / 0.5323 GB, free: 1.723 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003867/0.01216, allocations: 87.89 kB / 0.5323 GB, free: 1.637 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.01216, allocations: 11.94 kB / 0.5323 GB, free: 1.625 MB / 446.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.01219, allocations: 8 kB / 0.5324 GB, free: 1.617 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.01219, allocations: 3.984 kB / 0.5324 GB, free: 1.613 MB / 446.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01219, allocations: 4 kB / 0.5324 GB, free: 1.609 MB / 446.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006127/0.01281, allocations: 0.5188 MB / 0.5329 GB, free: 1.07 MB / 446.2 MB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/0.01289, allocations: 47.8 kB / 0.5329 GB, free: 1.023 MB / 446.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.01293, allocations: 11.94 kB / 0.5329 GB, free: 1.012 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.01304, allocations: 4 kB / 0.5329 GB, free: 1.008 MB / 446.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.01309, allocations: 27.95 kB / 0.533 GB, free: 0.9805 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.01311, allocations: 11.94 kB / 0.533 GB, free: 0.9688 MB / 446.2 MB Notification: Performance of sorting global known variables: time 4.008e-05/0.01315, allocations: 110.2 kB / 0.5331 GB, free: 0.8633 MB / 446.2 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01315, allocations: 0 / 0.5331 GB, free: 0.8633 MB / 446.2 MB Notification: Performance of remove unused functions: time 0.0002646/0.01342, allocations: 71.94 kB / 0.5331 GB, free: 0.793 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.0001606/0.01358, allocations: 123.2 kB / 0.5333 GB, free: 0.6641 MB / 446.2 MB Notification: Performance of simCode: created initialization part: time 0.000381/0.01396, allocations: 283.8 kB / 0.5335 GB, free: 396 kB / 446.2 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.01396, allocations: 3.938 kB / 0.5335 GB, free: 392 kB / 446.2 MB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.01414, allocations: 160.8 kB / 0.5337 GB, free: 232 kB / 446.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.01441, allocations: 40.72 kB / 0.5337 GB, free: 196 kB / 446.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.01562, allocations: 0.7014 MB / 0.5344 GB, free: 15.46 MB / 462.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.01577, allocations: 144.7 kB / 0.5345 GB, free: 15.3 MB / 462.2 MB Notification: Performance of simCode: alias equations: time 0.0001926/0.01596, allocations: 93.84 kB / 0.5346 GB, free: 15.21 MB / 462.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.01607, allocations: 32.5 kB / 0.5347 GB, free: 15.18 MB / 462.2 MB Notification: Performance of SimCode: time 3e-07/0.01607, allocations: 0 / 0.5347 GB, free: 15.18 MB / 462.2 MB Notification: Performance of Templates: time 0.007677/0.02375, allocations: 3.061 MB / 0.5377 GB, free: 12.17 MB / 462.2 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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 300] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_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.40884630382061]