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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,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=43200,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.2 MB / 240.3 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000944/0.0009441, allocations: 92.75 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8154/0.8154, allocations: 120.5 MB / 463.1 MB, free: 8.715 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003634, allocations: 8 kB / 0.5446 GB, free: 41.17 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1661, allocations: 82.85 MB / 0.6255 GB, free: 7.91 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7802/0.9464, allocations: 125.9 MB / 0.7485 GB, free: 8.289 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.9466, allocations: 62.78 kB / 0.7486 GB, free: 8.258 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.02134/0.968, allocations: 6.763 MB / 0.7552 GB, free: 2.152 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.665e-06/0.968, allocations: 0 / 0.7552 GB, free: 2.152 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.934e-05/0.9681, allocations: 8 kB / 0.7552 GB, free: 2.145 MB / 0.5107 GB 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.001902/0.97, allocations: 0.8511 MB / 0.756 GB, free: 1.27 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.97, allocations: 8.031 kB / 0.756 GB, free: 1.262 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.9702, allocations: 47.48 kB / 0.7561 GB, free: 1.215 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008502/0.9711, allocations: 460.3 kB / 0.7565 GB, free: 0.7383 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.9711, allocations: 30.38 kB / 0.7565 GB, free: 0.7188 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.9713, allocations: 52.09 kB / 0.7566 GB, free: 0.6836 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.9725, allocations: 0.5835 MB / 0.7571 GB, free: 232 kB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.9725, allocations: 4 kB / 0.7571 GB, free: 228 kB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.75e-05/0.9726, allocations: 18.94 kB / 0.7572 GB, free: 224 kB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.9726, allocations: 11.95 kB / 0.7572 GB, free: 212 kB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.9736, allocations: 0.5837 MB / 0.7577 GB, free: 15.73 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.9747, allocations: 0.6125 MB / 0.7583 GB, free: 15.18 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003456/0.9782, allocations: 1.363 MB / 0.7597 GB, free: 14.11 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/0.9785, allocations: 105.6 kB / 0.7598 GB, free: 13.99 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.9785, allocations: 46.67 kB / 0.7598 GB, free: 13.94 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=103): time 3.437e-06/0.9785, allocations: 4 kB / 0.7598 GB, free: 13.94 MB / 0.5263 GB Notification: Performance of matching and sorting (n=103): time 0.002247/0.9808, allocations: 1.342 MB / 0.7611 GB, free: 12.9 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.9809, allocations: 72.22 kB / 0.7612 GB, free: 12.82 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.981, allocations: 154 kB / 0.7613 GB, free: 12.68 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.9811, allocations: 41.39 kB / 0.7614 GB, free: 12.64 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 7.231e-05/0.9812, allocations: 112.9 kB / 0.7615 GB, free: 12.55 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003515/0.9815, allocations: 399.8 kB / 0.7619 GB, free: 12.21 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.9816, allocations: 23.56 kB / 0.7619 GB, free: 12.2 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.9818, allocations: 362.2 kB / 0.7622 GB, free: 11.86 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007016/0.9825, allocations: 473.7 kB / 0.7627 GB, free: 11.51 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006792/0.9832, allocations: 487 kB / 0.7632 GB, free: 11.15 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007901/0.984, allocations: 0.5464 MB / 0.7637 GB, free: 10.77 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.984, allocations: 0 / 0.7637 GB, free: 10.77 MB / 0.5263 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001795/0.9858, allocations: 1.23 MB / 0.7649 GB, free: 9.828 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.9858, allocations: 8 kB / 0.7649 GB, free: 9.82 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.9858, allocations: 0 / 0.7649 GB, free: 9.82 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.86e-05/0.9859, allocations: 4 kB / 0.7649 GB, free: 9.816 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.9873, allocations: 291.2 kB / 0.7652 GB, free: 9.543 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.661e-05/0.9874, allocations: 4 kB / 0.7652 GB, free: 9.539 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/0.9878, allocations: 74.56 kB / 0.7653 GB, free: 9.48 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.831e-05/0.9879, allocations: 43.94 kB / 0.7653 GB, free: 9.449 MB / 0.5263 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002968/0.9882, allocations: 206.6 kB / 0.7655 GB, free: 9.27 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.703e-05/0.9883, allocations: 43.53 kB / 0.7655 GB, free: 9.227 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/0.9908, allocations: 1.404 MB / 0.7669 GB, free: 8.207 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.9908, allocations: 12 kB / 0.7669 GB, free: 8.195 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.9908, allocations: 0 / 0.7669 GB, free: 8.195 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.9909, allocations: 7.969 kB / 0.7669 GB, free: 8.188 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.992, allocations: 0.7454 MB / 0.7677 GB, free: 7.527 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.689e-06/0.992, allocations: 0.875 kB / 0.7677 GB, free: 7.527 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001845/0.9938, allocations: 323.3 kB / 0.768 GB, free: 7.223 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-05/0.9939, allocations: 8 kB / 0.768 GB, free: 7.215 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/0.994, allocations: 47.41 kB / 0.768 GB, free: 7.188 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/0.994, allocations: 4 kB / 0.768 GB, free: 7.184 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.994, allocations: 3.938 kB / 0.768 GB, free: 7.18 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/0.9967, allocations: 1.842 MB / 0.7698 GB, free: 5.793 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004497/0.9972, allocations: 251.8 kB / 0.7701 GB, free: 5.535 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.9973, allocations: 47.41 kB / 0.7701 GB, free: 5.508 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.9977, allocations: 23.12 kB / 0.7701 GB, free: 5.504 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.9978, allocations: 84.94 kB / 0.7702 GB, free: 5.426 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.18e-05/0.9979, allocations: 39.61 kB / 0.7703 GB, free: 5.395 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.0001/0.998, allocations: 127.9 kB / 0.7704 GB, free: 5.281 MB / 0.5263 GB Notification: Performance of sort global known variables: time 2.21e-07/0.998, allocations: 0 / 0.7704 GB, free: 5.281 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0006033/0.9986, allocations: 242.8 kB / 0.7706 GB, free: 5.082 MB / 0.5263 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002776/0.9989, allocations: 170.8 kB / 0.7708 GB, free: 4.926 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.001765/1.001, allocations: 1.144 MB / 0.7719 GB, free: 4.039 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.001, allocations: 0 / 0.7719 GB, free: 4.039 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0008505/1.002, allocations: 0.6301 MB / 0.7725 GB, free: 3.547 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/1.002, allocations: 91.08 kB / 0.7726 GB, free: 3.488 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/1.006, allocations: 3.338 MB / 0.7758 GB, free: 244 kB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005439/1.007, allocations: 0.9398 MB / 0.7768 GB, free: 15.28 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0009404/1.008, allocations: 376.8 kB / 0.7771 GB, free: 14.91 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003358/1.008, allocations: 87.16 kB / 0.7772 GB, free: 14.83 MB / 0.5419 GB Notification: Performance of SimCode: time 7.92e-07/1.008, allocations: 0 / 0.7772 GB, free: 14.83 MB / 0.5419 GB Notification: Performance of Templates: time 0.01558/1.024, allocations: 8.734 MB / 0.7857 GB, free: 6.152 MB / 0.5419 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (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) 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches