Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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.0007903/0.0007903, allocations: 83.73 kB / 21.44 MB, free: 3.117 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.003447/0.003447, allocations: 153.4 kB / 24.69 MB, free: 9.426 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.814/0.814, allocations: 177.1 MB / 205 MB, free: 5.727 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.5572/0.5572, allocations: 88.07 MB / 349.5 MB, free: 13.84 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_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.5258 GB, free: 1.727 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.621e-05, allocations: 2.281 kB / 0.5258 GB, free: 1.723 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001642/0.001668, allocations: 1.37 MB / 0.5272 GB, free: 352 kB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007999/0.002468, allocations: 0.5224 MB / 0.5277 GB, free: 15.82 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.00251, allocations: 8 kB / 0.5277 GB, free: 15.81 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 7.993e-05/0.00259, allocations: 11.86 kB / 0.5277 GB, free: 15.8 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.002899, allocations: 59.61 kB / 0.5278 GB, free: 15.74 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.671e-05/0.002975, allocations: 39.81 kB / 0.5278 GB, free: 15.7 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004092/0.003384, allocations: 0.5537 MB / 0.5283 GB, free: 15.15 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.003426, allocations: 8.125 kB / 0.5284 GB, free: 15.14 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.003738, allocations: 267.6 kB / 0.5286 GB, free: 14.88 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003143/0.004053, allocations: 263.5 kB / 0.5289 GB, free: 14.62 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 4.97e-05/0.004102, allocations: 39.94 kB / 0.5289 GB, free: 14.58 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.004209, allocations: 51.92 kB / 0.5289 GB, free: 14.53 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.004368, allocations: 243.5 kB / 0.5292 GB, free: 14.29 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.00449, allocations: 191.5 kB / 0.5294 GB, free: 14.11 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.004836, allocations: 482.5 kB / 0.5298 GB, free: 13.63 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004838, allocations: 0 / 0.5298 GB, free: 13.63 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.153e-06/0.004839, allocations: 4 kB / 0.5298 GB, free: 13.63 MB / 458.8 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.004844, allocations: 0 / 0.5298 GB, free: 13.63 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001114/0.005958, allocations: 0.7435 MB / 0.5305 GB, free: 12.86 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.005998, allocations: 16.03 kB / 0.5306 GB, free: 12.84 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.679e-05/0.006075, allocations: 44.66 kB / 0.5306 GB, free: 12.8 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.00636, allocations: 269 kB / 0.5309 GB, free: 12.51 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.006384, allocations: 29.38 kB / 0.5309 GB, free: 12.48 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.022e-05/0.006464, allocations: 63.83 kB / 0.531 GB, free: 12.42 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006416/0.007106, allocations: 0.5918 MB / 0.5315 GB, free: 11.82 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.00712, allocations: 0 / 0.5315 GB, free: 11.82 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.007156, allocations: 12 kB / 0.5315 GB, free: 11.81 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.007166, allocations: 12 kB / 0.5316 GB, free: 11.8 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006082/0.007774, allocations: 0.5777 MB / 0.5321 GB, free: 11.22 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.008301, allocations: 0.4886 MB / 0.5326 GB, free: 10.7 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/0.01036, allocations: 1.314 MB / 0.5339 GB, free: 9.367 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004233/0.01078, allocations: 427.6 kB / 0.5343 GB, free: 8.949 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.01092, allocations: 36.86 kB / 0.5343 GB, free: 8.914 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.01094, allocations: 47.5 kB / 0.5344 GB, free: 8.859 MB / 458.8 MB Notification: Performance of pre-optimization done (n=103): time 2.215e-06/0.01094, allocations: 0 / 0.5344 GB, free: 8.859 MB / 458.8 MB Notification: Performance of matching and sorting (n=103): time 0.001418/0.01236, allocations: 1.347 MB / 0.5357 GB, free: 7.508 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.0124, allocations: 68.39 kB / 0.5357 GB, free: 7.43 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.752e-05/0.01249, allocations: 171.3 kB / 0.5359 GB, free: 7.254 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.01253, allocations: 45.64 kB / 0.536 GB, free: 7.203 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.01257, allocations: 114.1 kB / 0.5361 GB, free: 7.09 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.01276, allocations: 416.4 kB / 0.5365 GB, free: 6.68 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.01292, allocations: 195 kB / 0.5366 GB, free: 6.484 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.01301, allocations: 378.8 kB / 0.537 GB, free: 6.105 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000459/0.01347, allocations: 474.3 kB / 0.5375 GB, free: 5.641 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/0.01393, allocations: 487.4 kB / 0.5379 GB, free: 5.164 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009755/0.01491, allocations: 1.044 MB / 0.5389 GB, free: 4.117 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.01491, allocations: 0 / 0.5389 GB, free: 4.117 MB / 458.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001156/0.01607, allocations: 1.246 MB / 0.5402 GB, free: 2.863 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.01608, allocations: 8 kB / 0.5402 GB, free: 2.855 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.01609, allocations: 0 / 0.5402 GB, free: 2.855 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.01611, allocations: 4 kB / 0.5402 GB, free: 2.852 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005156/0.01662, allocations: 271.6 kB / 0.5404 GB, free: 2.586 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002692/0.01689, allocations: 8 kB / 0.5404 GB, free: 2.578 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.01705, allocations: 83.3 kB / 0.5405 GB, free: 2.496 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.01709, allocations: 39.98 kB / 0.5406 GB, free: 2.457 MB / 458.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 (144): * Single equations (assignments): 144 * 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.0001497/0.01724, allocations: 205.6 kB / 0.5408 GB, free: 2.246 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-05/0.01729, allocations: 51.69 kB / 0.5408 GB, free: 2.195 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.01877, allocations: 1.388 MB / 0.5422 GB, free: 0.8008 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.01878, allocations: 12 kB / 0.5422 GB, free: 0.7891 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.01878, allocations: 0 / 0.5422 GB, free: 0.7891 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.01879, allocations: 7.969 kB / 0.5422 GB, free: 0.7812 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005012/0.01929, allocations: 0.5944 MB / 0.5428 GB, free: 164 kB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.0193, allocations: 0 / 0.5428 GB, free: 164 kB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007426/0.02004, allocations: 303.7 kB / 0.543 GB, free: 15.86 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.02005, allocations: 11.94 kB / 0.5431 GB, free: 15.85 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/0.0201, allocations: 47.97 kB / 0.5431 GB, free: 15.8 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.0201, allocations: 8 kB / 0.5431 GB, free: 15.8 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.02011, allocations: 3.938 kB / 0.5431 GB, free: 15.79 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.02179, allocations: 1.855 MB / 0.5449 GB, free: 13.91 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.02198, allocations: 167.2 kB / 0.5451 GB, free: 13.75 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.02205, allocations: 47.91 kB / 0.5451 GB, free: 13.7 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.02219, allocations: 23.98 kB / 0.5452 GB, free: 13.68 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.958e-05/0.02227, allocations: 89.14 kB / 0.5452 GB, free: 13.59 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.02231, allocations: 39.98 kB / 0.5453 GB, free: 13.55 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.021e-05/0.02237, allocations: 135.2 kB / 0.5454 GB, free: 13.42 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.02237, allocations: 4 kB / 0.5454 GB, free: 13.41 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0003056/0.02268, allocations: 231.9 kB / 0.5456 GB, free: 13.19 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * 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.0001777/0.02285, allocations: 172.8 kB / 0.5458 GB, free: 13.01 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.02389, allocations: 1.081 MB / 0.5469 GB, free: 11.93 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02389, allocations: 0 / 0.5469 GB, free: 11.93 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005305/0.02442, allocations: 0.6084 MB / 0.5474 GB, free: 11.32 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000564/0.02499, allocations: 103.7 kB / 0.5475 GB, free: 11.22 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.02707, allocations: 2.361 MB / 0.5499 GB, free: 8.816 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.02725, allocations: 327.6 kB / 0.5502 GB, free: 8.469 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/0.02748, allocations: 96.47 kB / 0.5503 GB, free: 8.375 MB / 474.8 MB Notification: Performance of SimCode: time 5.01e-07/0.02748, allocations: 0 / 0.5503 GB, free: 8.375 MB / 474.8 MB Notification: Performance of Templates: time 0.007938/0.03542, allocations: 10.26 MB / 0.5603 GB, free: 14.12 MB / 490.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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: 7.857709123753011]