Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.0007584/0.0007584, allocations: 83.69 kB / 21.43 MB, free: 3.137 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.003244/0.003244, allocations: 155.7 kB / 24.69 MB, free: 9.43 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.7996/0.7996, allocations: 177.2 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.5468/0.5468, allocations: 88.07 MB / 349.5 MB, free: 14.38 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_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5258 GB, free: 1.902 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.853e-05, allocations: 6.281 kB / 0.5258 GB, free: 1.895 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001692/0.00172, allocations: 1.366 MB / 0.5272 GB, free: 0.5195 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007083/0.002429, allocations: 0.5262 MB / 0.5277 GB, free: 15.99 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/0.002472, allocations: 0 / 0.5277 GB, free: 15.99 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 7.833e-05/0.002551, allocations: 15.86 kB / 0.5277 GB, free: 15.98 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.002855, allocations: 59.67 kB / 0.5278 GB, free: 15.92 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.732e-05/0.002932, allocations: 47.69 kB / 0.5278 GB, free: 15.87 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005622/0.003494, allocations: 1.037 MB / 0.5288 GB, free: 14.83 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.003534, allocations: 8.188 kB / 0.5288 GB, free: 14.82 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003884/0.003922, allocations: 479.4 kB / 0.5293 GB, free: 14.36 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004611/0.004383, allocations: 0.499 MB / 0.5298 GB, free: 13.86 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 8.11e-05/0.004464, allocations: 56 kB / 0.5298 GB, free: 13.8 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.004612, allocations: 87.91 kB / 0.5299 GB, free: 13.71 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002748/0.004887, allocations: 482.9 kB / 0.5304 GB, free: 13.24 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.005112, allocations: 359.2 kB / 0.5307 GB, free: 12.89 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000616/0.005728, allocations: 0.9034 MB / 0.5316 GB, free: 11.98 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.00573, allocations: 4 kB / 0.5316 GB, free: 11.98 MB / 458.8 MB Notification: Performance of FrontEnd: time 8.51e-07/0.005731, allocations: 0 / 0.5316 GB, free: 11.98 MB / 458.8 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.005738, allocations: 0 / 0.5316 GB, free: 11.98 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.001501/0.00724, allocations: 1.228 MB / 0.5328 GB, free: 10.72 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.00728, allocations: 11.97 kB / 0.5328 GB, free: 10.71 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.007409, allocations: 88.42 kB / 0.5329 GB, free: 10.62 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/0.007855, allocations: 408 kB / 0.5333 GB, free: 10.19 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.007892, allocations: 66.31 kB / 0.5334 GB, free: 10.12 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.008023, allocations: 123.9 kB / 0.5335 GB, free: 10 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.009179, allocations: 1.139 MB / 0.5346 GB, free: 8.855 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.009194, allocations: 0 / 0.5346 GB, free: 8.855 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.395e-05/0.009257, allocations: 32 kB / 0.5346 GB, free: 8.824 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.009269, allocations: 23.94 kB / 0.5346 GB, free: 8.801 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.01046, allocations: 1.253 MB / 0.5359 GB, free: 7.551 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008627/0.01133, allocations: 0.8739 MB / 0.5367 GB, free: 6.648 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003544/0.01487, allocations: 2.688 MB / 0.5393 GB, free: 3.961 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008797/0.01575, allocations: 0.8304 MB / 0.5401 GB, free: 3.133 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/0.01594, allocations: 41.92 kB / 0.5402 GB, free: 3.094 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.01598, allocations: 60.5 kB / 0.5402 GB, free: 3.023 MB / 458.8 MB Notification: Performance of pre-optimization done (n=203): time 3.045e-06/0.01598, allocations: 0 / 0.5402 GB, free: 3.023 MB / 458.8 MB Notification: Performance of matching and sorting (n=203): time 0.00306/0.01904, allocations: 2.653 MB / 0.5428 GB, free: 376 kB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.0191, allocations: 73.41 kB / 0.5429 GB, free: 292 kB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.01929, allocations: 237.9 kB / 0.5431 GB, free: 44 kB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 8.475e-05/0.01937, allocations: 57.78 kB / 0.5432 GB, free: 15.98 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.788e-05/0.01945, allocations: 127.3 kB / 0.5433 GB, free: 15.85 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004684/0.01992, allocations: 0.8094 MB / 0.5441 GB, free: 15.04 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003409/0.02026, allocations: 384.3 kB / 0.5445 GB, free: 14.65 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.02037, allocations: 322 kB / 0.5448 GB, free: 14.33 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.02138, allocations: 0.9177 MB / 0.5457 GB, free: 13.41 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.02238, allocations: 0.9602 MB / 0.5466 GB, free: 12.44 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/0.02437, allocations: 2.059 MB / 0.5486 GB, free: 10.35 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.02438, allocations: 0 / 0.5486 GB, free: 10.35 MB / 474.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002377/0.02676, allocations: 2.435 MB / 0.551 GB, free: 7.871 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.02678, allocations: 12.78 kB / 0.551 GB, free: 7.859 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.02679, allocations: 0 / 0.551 GB, free: 7.859 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.02682, allocations: 11.98 kB / 0.551 GB, free: 7.848 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.02787, allocations: 0.515 MB / 0.5515 GB, free: 7.332 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.02789, allocations: 8 kB / 0.5515 GB, free: 7.324 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/0.02822, allocations: 154.8 kB / 0.5517 GB, free: 7.172 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-05/0.0283, allocations: 79.97 kB / 0.5518 GB, free: 7.094 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.0002857/0.02859, allocations: 305.3 kB / 0.552 GB, free: 6.785 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.954e-05/0.02869, allocations: 91.42 kB / 0.5521 GB, free: 6.695 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002787/0.03148, allocations: 2.716 MB / 0.5548 GB, free: 3.926 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.03149, allocations: 28 kB / 0.5548 GB, free: 3.898 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.0315, allocations: 0 / 0.5548 GB, free: 3.898 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.03151, allocations: 15.95 kB / 0.5548 GB, free: 3.883 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.03252, allocations: 1.084 MB / 0.5559 GB, free: 2.766 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.03253, allocations: 3.938 kB / 0.5559 GB, free: 2.762 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/0.03399, allocations: 0.5892 MB / 0.5565 GB, free: 2.172 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.344e-05/0.034, allocations: 8 kB / 0.5565 GB, free: 2.164 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.03413, allocations: 95.88 kB / 0.5566 GB, free: 2.07 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.03414, allocations: 11.98 kB / 0.5566 GB, free: 2.059 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.03415, allocations: 4 kB / 0.5566 GB, free: 2.055 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003859/0.03801, allocations: 3.616 MB / 0.5601 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/0.03842, allocations: 342.3 kB / 0.5604 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.03855, allocations: 83.89 kB / 0.5605 GB, free: 13.94 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.03884, allocations: 48 kB / 0.5606 GB, free: 13.89 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.039, allocations: 169.9 kB / 0.5607 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.638e-05/0.03908, allocations: 83.97 kB / 0.5608 GB, free: 13.64 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001015/0.03919, allocations: 169.2 kB / 0.561 GB, free: 13.48 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.03919, allocations: 0 / 0.561 GB, free: 13.48 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000574/0.03976, allocations: 448 kB / 0.5614 GB, free: 13.04 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.0003041/0.04006, allocations: 237.2 kB / 0.5616 GB, free: 12.8 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.002213/0.04228, allocations: 2.15 MB / 0.5637 GB, free: 10.62 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.04228, allocations: 0 / 0.5637 GB, free: 10.62 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.04338, allocations: 1.191 MB / 0.5649 GB, free: 9.422 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.04388, allocations: 205.7 kB / 0.5651 GB, free: 9.223 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.04797, allocations: 4.556 MB / 0.5695 GB, free: 4.617 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.04828, allocations: 0.5582 MB / 0.5701 GB, free: 4.023 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004388/0.04872, allocations: 184.4 kB / 0.5703 GB, free: 3.844 MB / 490.8 MB Notification: Performance of SimCode: time 1.062e-06/0.04872, allocations: 0 / 0.5703 GB, free: 3.844 MB / 490.8 MB Notification: Performance of Templates: time 0.01581/0.06454, allocations: 20 MB / 0.5898 GB, free: 15.86 MB / 0.5105 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_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_noopt_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.95722212921828]