Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.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.0007859/0.0007859, allocations: 83.69 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.005237/0.005237, allocations: 156.5 kB / 24.7 MB, free: 8.902 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.8178/0.8178, allocations: 177.1 MB / 205 MB, free: 5.734 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.5428/0.5428, allocations: 88.06 MB / 349.5 MB, free: 14.37 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_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5259 GB, free: 1.867 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.84e-05, allocations: 2.281 kB / 0.5259 GB, free: 1.863 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001491/0.00151, allocations: 1.357 MB / 0.5272 GB, free: 0.4961 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006417/0.002151, allocations: 0.5263 MB / 0.5277 GB, free: 15.96 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.053e-05/0.002192, allocations: 4 kB / 0.5277 GB, free: 15.96 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 7.547e-05/0.002267, allocations: 15.7 kB / 0.5277 GB, free: 15.95 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.002551, allocations: 63.7 kB / 0.5278 GB, free: 15.89 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.586e-05/0.002627, allocations: 43.81 kB / 0.5278 GB, free: 15.84 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006885/0.003315, allocations: 1.03 MB / 0.5288 GB, free: 14.81 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.003364, allocations: 16.12 kB / 0.5288 GB, free: 14.8 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003998/0.003763, allocations: 479.4 kB / 0.5293 GB, free: 14.33 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004723/0.004236, allocations: 0.499 MB / 0.5298 GB, free: 13.83 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 8.924e-05/0.004325, allocations: 56 kB / 0.5298 GB, free: 13.77 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.004497, allocations: 87.91 kB / 0.5299 GB, free: 13.69 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003062/0.004803, allocations: 483 kB / 0.5304 GB, free: 13.21 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.005037, allocations: 359.1 kB / 0.5307 GB, free: 12.86 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006603/0.005698, allocations: 0.9034 MB / 0.5316 GB, free: 11.96 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.0057, allocations: 0 / 0.5316 GB, free: 11.96 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.162e-06/0.005702, allocations: 0 / 0.5316 GB, free: 11.96 MB / 458.8 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.005709, allocations: 0 / 0.5316 GB, free: 11.96 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001578/0.007287, allocations: 1.228 MB / 0.5328 GB, free: 10.7 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.007326, allocations: 12.02 kB / 0.5328 GB, free: 10.68 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.007448, allocations: 88.42 kB / 0.5329 GB, free: 10.6 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004684/0.007917, allocations: 411.9 kB / 0.5333 GB, free: 10.16 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.915e-05/0.007956, allocations: 66.36 kB / 0.5334 GB, free: 10.1 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.008096, allocations: 119.9 kB / 0.5335 GB, free: 9.98 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.009214, allocations: 1.135 MB / 0.5346 GB, free: 8.836 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.009229, allocations: 0 / 0.5346 GB, free: 8.836 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.126e-05/0.009291, allocations: 36 kB / 0.5346 GB, free: 8.801 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.009305, allocations: 20 kB / 0.5346 GB, free: 8.781 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.01048, allocations: 1.249 MB / 0.5358 GB, free: 7.535 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008437/0.01133, allocations: 0.8739 MB / 0.5367 GB, free: 6.633 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003483/0.01481, allocations: 2.692 MB / 0.5393 GB, free: 3.941 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008697/0.01568, allocations: 0.8343 MB / 0.5401 GB, free: 3.109 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.01586, allocations: 41.94 kB / 0.5402 GB, free: 3.07 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.01591, allocations: 56.5 kB / 0.5402 GB, free: 3.004 MB / 458.8 MB Notification: Performance of pre-optimization done (n=203): time 3.777e-06/0.01591, allocations: 0 / 0.5402 GB, free: 3.004 MB / 458.8 MB Notification: Performance of matching and sorting (n=203): time 0.002878/0.01879, allocations: 2.656 MB / 0.5428 GB, free: 352 kB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.01884, allocations: 77.34 kB / 0.5429 GB, free: 264 kB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.019, allocations: 233.9 kB / 0.5431 GB, free: 20 kB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 7.405e-05/0.01908, allocations: 61.7 kB / 0.5432 GB, free: 15.95 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.01914, allocations: 123.3 kB / 0.5433 GB, free: 15.83 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003928/0.01953, allocations: 0.8134 MB / 0.5441 GB, free: 15.01 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003179/0.01985, allocations: 384.3 kB / 0.5445 GB, free: 14.62 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.8e-05/0.01993, allocations: 318 kB / 0.5448 GB, free: 14.31 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009435/0.02088, allocations: 0.9177 MB / 0.5457 GB, free: 13.39 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009513/0.02183, allocations: 0.9564 MB / 0.5466 GB, free: 12.42 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/0.02386, allocations: 2.062 MB / 0.5486 GB, free: 10.33 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.02386, allocations: 0 / 0.5486 GB, free: 10.33 MB / 474.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002392/0.02626, allocations: 2.435 MB / 0.551 GB, free: 7.848 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.02628, allocations: 16.55 kB / 0.551 GB, free: 7.832 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.02628, allocations: 0 / 0.551 GB, free: 7.832 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.0263, allocations: 8 kB / 0.551 GB, free: 7.824 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009851/0.02729, allocations: 0.5189 MB / 0.5515 GB, free: 7.305 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.0273, allocations: 8 kB / 0.5515 GB, free: 7.297 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.0276, allocations: 158.8 kB / 0.5517 GB, free: 7.141 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-05/0.02768, allocations: 75.97 kB / 0.5518 GB, free: 7.066 MB / 474.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 (284): * Single equations (assignments): 284 * 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.0002801/0.02796, allocations: 305.3 kB / 0.552 GB, free: 6.758 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.841e-05/0.02806, allocations: 91.42 kB / 0.5521 GB, free: 6.668 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002748/0.03081, allocations: 2.716 MB / 0.5548 GB, free: 3.898 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.03082, allocations: 24 kB / 0.5548 GB, free: 3.875 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.03083, allocations: 0 / 0.5548 GB, free: 3.875 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.03085, allocations: 15.95 kB / 0.5548 GB, free: 3.859 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.03185, allocations: 1.085 MB / 0.5559 GB, free: 2.742 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.03186, allocations: 3.984 kB / 0.5559 GB, free: 2.738 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/0.0333, allocations: 0.5853 MB / 0.5565 GB, free: 2.152 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.03331, allocations: 8 kB / 0.5565 GB, free: 2.145 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/0.03342, allocations: 99.86 kB / 0.5566 GB, free: 2.047 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.857e-06/0.03343, allocations: 8 kB / 0.5566 GB, free: 2.039 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.03343, allocations: 7.938 kB / 0.5566 GB, free: 2.031 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003605/0.03703, allocations: 3.612 MB / 0.5601 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/0.03744, allocations: 346.3 kB / 0.5604 GB, free: 14 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.03757, allocations: 79.89 kB / 0.5605 GB, free: 13.93 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.03785, allocations: 48 kB / 0.5606 GB, free: 13.88 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.03801, allocations: 177.9 kB / 0.5607 GB, free: 13.7 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.848e-05/0.03809, allocations: 79.97 kB / 0.5608 GB, free: 13.62 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.296e-05/0.03818, allocations: 169.2 kB / 0.561 GB, free: 13.46 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.03818, allocations: 0 / 0.561 GB, free: 13.46 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004935/0.03868, allocations: 452 kB / 0.5614 GB, free: 13.02 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (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],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],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],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40]) * 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 (284): * Single equations (assignments): 284 * 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.0002626/0.03894, allocations: 229.3 kB / 0.5616 GB, free: 12.78 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.002106/0.04105, allocations: 2.157 MB / 0.5637 GB, free: 10.59 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.04105, allocations: 0 / 0.5637 GB, free: 10.59 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.04212, allocations: 1.187 MB / 0.5649 GB, free: 9.402 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.04258, allocations: 205.7 kB / 0.5651 GB, free: 9.203 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/0.04653, allocations: 4.564 MB / 0.5695 GB, free: 4.586 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.04684, allocations: 0.5543 MB / 0.5701 GB, free: 3.996 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/0.04727, allocations: 184.4 kB / 0.5702 GB, free: 3.816 MB / 490.8 MB Notification: Performance of SimCode: time 9.52e-07/0.04727, allocations: 0 / 0.5702 GB, free: 3.816 MB / 490.8 MB Notification: Performance of Templates: time 0.01481/0.06208, allocations: 20 MB / 0.5898 GB, free: 15.83 MB / 0.5105 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.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: 18.80369314085692]