Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.0006606/0.0006606, allocations: 91.62 kB / 21.43 MB, free: 3.105 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.0007296/0.0007296, allocations: 155.5 kB / 24.7 MB, free: 9.422 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.8311/0.8311, allocations: 177.2 MB / 205 MB, free: 5.73 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.5784/0.5784, allocations: 88.07 MB / 349.5 MB, free: 14.36 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_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5259 GB, free: 1.879 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.157e-05, allocations: 2.281 kB / 0.5259 GB, free: 1.875 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001918/0.00195, allocations: 1.365 MB / 0.5272 GB, free: 0.5 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007541/0.002704, allocations: 0.5146 MB / 0.5277 GB, free: 15.98 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.002751, allocations: 3.938 kB / 0.5277 GB, free: 15.98 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 8.382e-05/0.002835, allocations: 7.875 kB / 0.5277 GB, free: 15.97 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.00315, allocations: 63.66 kB / 0.5278 GB, free: 15.91 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001162/0.003266, allocations: 47.75 kB / 0.5278 GB, free: 15.86 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.003631, allocations: 0.5537 MB / 0.5284 GB, free: 15.31 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.003677, allocations: 8.188 kB / 0.5284 GB, free: 15.3 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003336/0.004011, allocations: 267.6 kB / 0.5286 GB, free: 15.04 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/0.00436, allocations: 271.5 kB / 0.5289 GB, free: 14.77 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 5.436e-05/0.004415, allocations: 28 kB / 0.5289 GB, free: 14.75 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.004538, allocations: 59.91 kB / 0.529 GB, free: 14.69 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.004713, allocations: 243.5 kB / 0.5292 GB, free: 14.45 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.004851, allocations: 183.6 kB / 0.5294 GB, free: 14.27 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004036/0.005255, allocations: 490.4 kB / 0.5298 GB, free: 13.79 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.005258, allocations: 0 / 0.5298 GB, free: 13.79 MB / 458.8 MB Notification: Performance of FrontEnd: time 4.619e-06/0.005262, allocations: 4 kB / 0.5298 GB, free: 13.79 MB / 458.8 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.005271, allocations: 0 / 0.5298 GB, free: 13.79 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.001269/0.006539, allocations: 0.7435 MB / 0.5306 GB, free: 13.01 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.006595, allocations: 12.03 kB / 0.5306 GB, free: 13 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.006716, allocations: 48.66 kB / 0.5306 GB, free: 12.95 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.007041, allocations: 265 kB / 0.5309 GB, free: 12.67 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.007065, allocations: 37.31 kB / 0.5309 GB, free: 12.63 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.826e-05/0.007144, allocations: 67.83 kB / 0.531 GB, free: 12.57 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006427/0.007786, allocations: 0.5802 MB / 0.5315 GB, free: 11.98 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.007799, allocations: 0 / 0.5315 GB, free: 11.98 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.007832, allocations: 16 kB / 0.5316 GB, free: 11.96 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.007847, allocations: 11.94 kB / 0.5316 GB, free: 11.95 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.008457, allocations: 0.5816 MB / 0.5321 GB, free: 11.37 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.008965, allocations: 0.4886 MB / 0.5326 GB, free: 10.85 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.01084, allocations: 1.318 MB / 0.5339 GB, free: 9.516 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000428/0.01127, allocations: 435.5 kB / 0.5343 GB, free: 9.09 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.0114, allocations: 20.92 kB / 0.5343 GB, free: 9.07 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.01143, allocations: 43.56 kB / 0.5344 GB, free: 9.02 MB / 458.8 MB Notification: Performance of pre-optimization done (n=103): time 2.695e-06/0.01143, allocations: 4 kB / 0.5344 GB, free: 9.016 MB / 458.8 MB Notification: Performance of matching and sorting (n=103): time 0.001442/0.01287, allocations: 1.351 MB / 0.5357 GB, free: 7.66 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.01291, allocations: 60.41 kB / 0.5358 GB, free: 7.59 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.01302, allocations: 175.3 kB / 0.5359 GB, free: 7.41 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.01306, allocations: 45.7 kB / 0.536 GB, free: 7.359 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.01311, allocations: 106.1 kB / 0.5361 GB, free: 7.254 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000228/0.01334, allocations: 420.4 kB / 0.5365 GB, free: 6.84 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.01351, allocations: 195 kB / 0.5367 GB, free: 6.645 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.01363, allocations: 370.8 kB / 0.537 GB, free: 6.273 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/0.01413, allocations: 478.2 kB / 0.5375 GB, free: 5.805 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004832/0.01461, allocations: 491.5 kB / 0.5379 GB, free: 5.324 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.01562, allocations: 1.044 MB / 0.539 GB, free: 4.277 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.01562, allocations: 0 / 0.539 GB, free: 4.277 MB / 458.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001228/0.01685, allocations: 1.25 MB / 0.5402 GB, free: 3.02 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.01687, allocations: 4.625 kB / 0.5402 GB, free: 3.016 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.01688, allocations: 0 / 0.5402 GB, free: 3.016 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.01689, allocations: 7.938 kB / 0.5402 GB, free: 3.008 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/0.01743, allocations: 275.6 kB / 0.5404 GB, free: 2.738 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.01744, allocations: 4 kB / 0.5405 GB, free: 2.734 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.01761, allocations: 83.36 kB / 0.5405 GB, free: 2.652 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.01765, allocations: 35.98 kB / 0.5406 GB, free: 2.617 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.0001717/0.01782, allocations: 209.6 kB / 0.5408 GB, free: 2.402 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/0.01787, allocations: 47.7 kB / 0.5408 GB, free: 2.355 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.01928, allocations: 1.4 MB / 0.5422 GB, free: 0.9492 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.01929, allocations: 16 kB / 0.5422 GB, free: 0.9336 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.01929, allocations: 0 / 0.5422 GB, free: 0.9336 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.0193, allocations: 3.984 kB / 0.5422 GB, free: 0.9297 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005166/0.01982, allocations: 0.5943 MB / 0.5428 GB, free: 316 kB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.01982, allocations: 0 / 0.5428 GB, free: 316 kB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007296/0.02055, allocations: 299.7 kB / 0.5431 GB, free: 16 kB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.02056, allocations: 7.938 kB / 0.5431 GB, free: 8 kB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.918e-05/0.02063, allocations: 51.95 kB / 0.5431 GB, free: 15.96 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.02063, allocations: 7.938 kB / 0.5431 GB, free: 15.95 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.02063, allocations: 4 kB / 0.5431 GB, free: 15.95 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.02236, allocations: 1.848 MB / 0.5449 GB, free: 14.07 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.02257, allocations: 171.2 kB / 0.5451 GB, free: 13.9 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.555e-05/0.02264, allocations: 47.91 kB / 0.5451 GB, free: 13.86 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.02279, allocations: 20 kB / 0.5452 GB, free: 13.84 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/0.02288, allocations: 89.14 kB / 0.5453 GB, free: 13.75 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.02292, allocations: 39.98 kB / 0.5453 GB, free: 13.71 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.635e-05/0.02298, allocations: 135.2 kB / 0.5454 GB, free: 13.58 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.02298, allocations: 0 / 0.5454 GB, free: 13.58 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0003476/0.02333, allocations: 235.9 kB / 0.5456 GB, free: 13.35 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.0001979/0.02353, allocations: 164.8 kB / 0.5458 GB, free: 13.18 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.02462, allocations: 1.085 MB / 0.5469 GB, free: 12.1 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.02463, allocations: 0 / 0.5469 GB, free: 12.1 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005462/0.02517, allocations: 0.6084 MB / 0.5475 GB, free: 11.49 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.02549, allocations: 105 kB / 0.5476 GB, free: 11.39 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.02774, allocations: 2.373 MB / 0.5499 GB, free: 8.969 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.02792, allocations: 320.6 kB / 0.5502 GB, free: 8.629 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.02815, allocations: 96.47 kB / 0.5503 GB, free: 8.535 MB / 474.8 MB Notification: Performance of SimCode: time 7.11e-07/0.02815, allocations: 0 / 0.5503 GB, free: 8.535 MB / 474.8 MB Notification: Performance of Templates: time 0.008702/0.03685, allocations: 10.27 MB / 0.5603 GB, free: 14.28 MB / 490.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_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_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.8680769158527255]