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.001517/0.001517, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001602/0.001602, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.367/1.367, allocations: 177.1 MB / 204.3 MB, free: 9.191 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.9049/0.9049, allocations: 88.08 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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",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.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.5251 GB, free: 7.262 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.259e-05, allocations: 6.281 kB / 0.5251 GB, free: 7.254 MB / 446.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001765/0.001788, allocations: 1.373 MB / 0.5264 GB, free: 6.176 MB / 446.2 MB Notification: Performance of NFInst.instExpressions: time 0.0007751/0.002563, allocations: 0.5231 MB / 0.527 GB, free: 5.781 MB / 446.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.002608, allocations: 3.938 kB / 0.527 GB, free: 5.777 MB / 446.2 MB Notification: Performance of NFTyping.typeComponents: time 7.754e-05/0.002685, allocations: 4.844 kB / 0.527 GB, free: 5.773 MB / 446.2 MB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.002947, allocations: 63.34 kB / 0.527 GB, free: 5.727 MB / 446.2 MB Notification: Performance of NFTyping.typeClassSections: time 9.736e-05/0.003044, allocations: 38.97 kB / 0.5271 GB, free: 5.699 MB / 446.2 MB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.003319, allocations: 331.8 kB / 0.5274 GB, free: 5.52 MB / 446.2 MB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.003355, allocations: 3.875 kB / 0.5274 GB, free: 5.52 MB / 446.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.003587, allocations: 163.2 kB / 0.5275 GB, free: 5.434 MB / 446.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.003806, allocations: 152.2 kB / 0.5277 GB, free: 5.348 MB / 446.2 MB Notification: Performance of NFPackage.collectConstants: time 4.954e-05/0.003856, allocations: 15.16 kB / 0.5277 GB, free: 5.348 MB / 446.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.00397, allocations: 48.98 kB / 0.5277 GB, free: 5.328 MB / 446.2 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.004102, allocations: 129.9 kB / 0.5279 GB, free: 5.25 MB / 446.2 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.004221, allocations: 95.16 kB / 0.528 GB, free: 5.203 MB / 446.2 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.004487, allocations: 264.6 kB / 0.5282 GB, free: 5.051 MB / 446.2 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004489, allocations: 0 / 0.5282 GB, free: 5.051 MB / 446.2 MB Notification: Performance of FrontEnd: time 4.71e-07/0.00449, allocations: 1.062 kB / 0.5282 GB, free: 5.051 MB / 446.2 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.004494, allocations: 0 / 0.5282 GB, free: 5.051 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009232/0.005417, allocations: 0.5069 MB / 0.5287 GB, free: 4.645 MB / 446.2 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.005449, allocations: 10.12 kB / 0.5287 GB, free: 4.645 MB / 446.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.231e-05/0.005521, allocations: 29.39 kB / 0.5287 GB, free: 4.629 MB / 446.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.005743, allocations: 205.5 kB / 0.5289 GB, free: 4.441 MB / 446.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.005763, allocations: 21.28 kB / 0.529 GB, free: 4.43 MB / 446.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.864e-05/0.005822, allocations: 29.64 kB / 0.529 GB, free: 4.418 MB / 446.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004367/0.006259, allocations: 316.4 kB / 0.5293 GB, free: 4.23 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.006269, allocations: 1.25 kB / 0.5293 GB, free: 4.23 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.006299, allocations: 9.281 kB / 0.5293 GB, free: 4.223 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.006306, allocations: 9.047 kB / 0.5293 GB, free: 4.219 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/0.006705, allocations: 285.7 kB / 0.5296 GB, free: 4.102 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.007058, allocations: 295.9 kB / 0.5299 GB, free: 3.883 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.008675, allocations: 0.6688 MB / 0.5305 GB, free: 3.582 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002803/0.008955, allocations: 219.8 kB / 0.5307 GB, free: 3.438 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.00908, allocations: 16.48 kB / 0.5307 GB, free: 3.422 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.009094, allocations: 39.06 kB / 0.5308 GB, free: 3.375 MB / 446.2 MB Notification: Performance of pre-optimization done (n=53): time 1.713e-06/0.009096, allocations: 0 / 0.5308 GB, free: 3.375 MB / 446.2 MB Notification: Performance of matching and sorting (n=53): time 0.0009239/0.01002, allocations: 0.7015 MB / 0.5315 GB, free: 2.664 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.01004, allocations: 63.84 kB / 0.5315 GB, free: 2.59 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.138e-05/0.01012, allocations: 145.4 kB / 0.5317 GB, free: 2.434 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.01015, allocations: 33.69 kB / 0.5317 GB, free: 2.395 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 2.506e-05/0.01018, allocations: 101.1 kB / 0.5318 GB, free: 2.293 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 9.786e-05/0.01027, allocations: 214.2 kB / 0.532 GB, free: 2.082 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.01039, allocations: 106.3 kB / 0.5321 GB, free: 1.969 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 4.537e-05/0.01044, allocations: 350.7 kB / 0.5324 GB, free: 1.617 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.01072, allocations: 237.1 kB / 0.5327 GB, free: 1.387 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.011, allocations: 245.7 kB / 0.5329 GB, free: 1.145 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006056/0.01161, allocations: 0.5284 MB / 0.5334 GB, free: 0.6133 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.01161, allocations: 0 / 0.5334 GB, free: 0.6133 MB / 446.2 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007668/0.01238, allocations: 0.6533 MB / 0.534 GB, free: 15.95 MB / 462.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.01239, allocations: 7.938 kB / 0.5341 GB, free: 15.94 MB / 462.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.01239, allocations: 0 / 0.5341 GB, free: 15.94 MB / 462.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.01241, allocations: 4 kB / 0.5341 GB, free: 15.94 MB / 462.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/0.01297, allocations: 131.9 kB / 0.5342 GB, free: 15.81 MB / 462.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.01298, allocations: 7.984 kB / 0.5342 GB, free: 15.8 MB / 462.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.01318, allocations: 43.67 kB / 0.5342 GB, free: 15.76 MB / 462.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.463e-05/0.01323, allocations: 23.98 kB / 0.5343 GB, free: 15.73 MB / 462.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 (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.00017/0.0134, allocations: 165.6 kB / 0.5344 GB, free: 15.56 MB / 462.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.01345, allocations: 23.86 kB / 0.5344 GB, free: 15.54 MB / 462.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.01471, allocations: 0.7243 MB / 0.5351 GB, free: 14.81 MB / 462.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.01472, allocations: 12 kB / 0.5352 GB, free: 14.8 MB / 462.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.01473, allocations: 0 / 0.5352 GB, free: 14.8 MB / 462.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.01473, allocations: 3.984 kB / 0.5352 GB, free: 14.8 MB / 462.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004852/0.01522, allocations: 357.4 kB / 0.5355 GB, free: 14.42 MB / 462.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01522, allocations: 0 / 0.5355 GB, free: 14.42 MB / 462.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007826/0.016, allocations: 159.8 kB / 0.5357 GB, free: 14.27 MB / 462.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.01601, allocations: 0 / 0.5357 GB, free: 14.27 MB / 462.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-05/0.01606, allocations: 27.97 kB / 0.5357 GB, free: 14.24 MB / 462.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.01607, allocations: 4 kB / 0.5357 GB, free: 14.23 MB / 462.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01607, allocations: 0 / 0.5357 GB, free: 14.23 MB / 462.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.01754, allocations: 0.9709 MB / 0.5366 GB, free: 13.25 MB / 462.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.01773, allocations: 95.5 kB / 0.5367 GB, free: 13.16 MB / 462.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.548e-05/0.0178, allocations: 19.98 kB / 0.5367 GB, free: 13.14 MB / 462.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.018, allocations: 16 kB / 0.5368 GB, free: 13.12 MB / 462.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.852e-05/0.01808, allocations: 48.69 kB / 0.5368 GB, free: 13.07 MB / 462.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/0.01813, allocations: 20 kB / 0.5368 GB, free: 13.05 MB / 462.2 MB Notification: Performance of sorting global known variables: time 8.868e-05/0.01822, allocations: 115.2 kB / 0.5369 GB, free: 12.94 MB / 462.2 MB Notification: Performance of sort global known variables: time 8e-08/0.01822, allocations: 0 / 0.5369 GB, free: 12.94 MB / 462.2 MB Notification: Performance of remove unused functions: time 0.0003524/0.01857, allocations: 127.9 kB / 0.5371 GB, free: 12.82 MB / 462.2 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.0002137/0.01878, allocations: 135.1 kB / 0.5372 GB, free: 12.67 MB / 462.2 MB Notification: Performance of simCode: created initialization part: time 0.0009085/0.01969, allocations: 0.552 MB / 0.5377 GB, free: 12.12 MB / 462.2 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01969, allocations: 0 / 0.5377 GB, free: 12.12 MB / 462.2 MB Notification: Performance of simCode: created simulation system equations: time 0.0004681/0.02016, allocations: 315.5 kB / 0.538 GB, free: 11.81 MB / 462.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.02048, allocations: 59.95 kB / 0.5381 GB, free: 11.75 MB / 462.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.02241, allocations: 1.234 MB / 0.5393 GB, free: 10.49 MB / 462.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.0226, allocations: 196.6 kB / 0.5395 GB, free: 10.27 MB / 462.2 MB Notification: Performance of simCode: alias equations: time 0.0003686/0.02297, allocations: 183.1 kB / 0.5396 GB, free: 10.1 MB / 462.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.02315, allocations: 48.48 kB / 0.5397 GB, free: 10.05 MB / 462.2 MB Notification: Performance of SimCode: time 3.11e-07/0.02315, allocations: 0 / 0.5397 GB, free: 10.05 MB / 462.2 MB Notification: Performance of Templates: time 0.0106/0.03375, allocations: 5.323 MB / 0.5449 GB, free: 4.797 MB / 462.2 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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) [Timeout 300] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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.956304274499416]