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/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_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,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=43200,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001065, allocations: 180.8 kB / 16.38 MB, free: 5.762 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.334/1.334, allocations: 223.2 MB / 240.3 MB, free: 11.9 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.001029/0.001029, allocations: 90.36 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9185/0.9185, allocations: 120.5 MB / 463 MB, free: 8.73 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003586, allocations: 4 kB / 0.5446 GB, free: 41.19 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1862, allocations: 82.86 MB / 0.6255 GB, free: 7.918 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7374/0.9237, allocations: 125.9 MB / 0.7485 GB, free: 8.352 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.924, allocations: 66.41 kB / 0.7485 GB, free: 8.316 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.03883/0.9628, allocations: 12.43 MB / 0.7607 GB, free: 12.99 MB / 0.5263 GB Notification: Performance of FrontEnd: time 2.755e-06/0.9629, allocations: 0 / 0.7607 GB, free: 12.99 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 2.889e-05/0.9629, allocations: 19.94 kB / 0.7607 GB, free: 12.97 MB / 0.5263 GB 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.003412/0.9664, allocations: 1.566 MB / 0.7622 GB, free: 11.4 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.9664, allocations: 8.031 kB / 0.7622 GB, free: 11.39 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.9666, allocations: 87.02 kB / 0.7623 GB, free: 11.31 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.9683, allocations: 0.9065 MB / 0.7632 GB, free: 10.38 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/0.9683, allocations: 60.88 kB / 0.7633 GB, free: 10.34 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.9685, allocations: 118.3 kB / 0.7634 GB, free: 10.26 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.9703, allocations: 1.125 MB / 0.7645 GB, free: 9.391 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.9703, allocations: 0 / 0.7645 GB, free: 9.391 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-05/0.9704, allocations: 35.12 kB / 0.7645 GB, free: 9.383 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.9704, allocations: 19.95 kB / 0.7645 GB, free: 9.363 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.9722, allocations: 1.266 MB / 0.7658 GB, free: 8.336 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.9737, allocations: 1.079 MB / 0.7668 GB, free: 7.414 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006281/0.98, allocations: 2.778 MB / 0.7695 GB, free: 5.289 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000279/0.9803, allocations: 123 kB / 0.7696 GB, free: 5.156 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.9804, allocations: 52.19 kB / 0.7697 GB, free: 5.109 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=203): time 4.108e-06/0.9804, allocations: 0 / 0.7697 GB, free: 5.109 MB / 0.5263 GB Notification: Performance of matching and sorting (n=203): time 0.003895/0.9843, allocations: 2.651 MB / 0.7723 GB, free: 3.082 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.9844, allocations: 77.41 kB / 0.7724 GB, free: 2.996 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.9846, allocations: 211.2 kB / 0.7726 GB, free: 2.805 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 9.537e-05/0.9847, allocations: 56.95 kB / 0.7726 GB, free: 2.77 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 9.533e-05/0.9848, allocations: 130 kB / 0.7727 GB, free: 2.668 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005727/0.9854, allocations: 0.785 MB / 0.7735 GB, free: 1.984 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.243e-05/0.9855, allocations: 42.69 kB / 0.7735 GB, free: 1.977 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.9857, allocations: 425.7 kB / 0.774 GB, free: 1.594 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.9869, allocations: 0.9049 MB / 0.7748 GB, free: 0.9141 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.9882, allocations: 0.9358 MB / 0.7758 GB, free: 204 kB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.9897, allocations: 1.087 MB / 0.7768 GB, free: 15.41 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.9897, allocations: 0 / 0.7768 GB, free: 15.41 MB / 0.5419 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003372/0.9931, allocations: 2.415 MB / 0.7792 GB, free: 13.56 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.9931, allocations: 4 kB / 0.7792 GB, free: 13.56 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.9931, allocations: 3.938 kB / 0.7792 GB, free: 13.55 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.9932, allocations: 8 kB / 0.7792 GB, free: 13.55 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003242/0.9964, allocations: 0.5458 MB / 0.7797 GB, free: 13.02 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/0.9964, allocations: 8 kB / 0.7797 GB, free: 13.01 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007507/0.9972, allocations: 148.6 kB / 0.7799 GB, free: 12.9 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.9974, allocations: 79.48 kB / 0.7799 GB, free: 12.84 MB / 0.5419 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 (284): * Single equations (assignments): 284 * 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.0004791/0.9978, allocations: 303.3 kB / 0.7802 GB, free: 12.59 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.998, allocations: 86.97 kB / 0.7803 GB, free: 12.5 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004241/1.002, allocations: 2.732 MB / 0.783 GB, free: 10.49 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/1.002, allocations: 28 kB / 0.783 GB, free: 10.46 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/1.002, allocations: 0 / 0.783 GB, free: 10.46 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.48e-05/1.002, allocations: 11.95 kB / 0.783 GB, free: 10.45 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/1.004, allocations: 1.351 MB / 0.7843 GB, free: 9.316 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.004, allocations: 0 / 0.7843 GB, free: 9.316 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004006/1.008, allocations: 0.6152 MB / 0.7849 GB, free: 8.723 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.931e-05/1.008, allocations: 8 kB / 0.7849 GB, free: 8.715 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001806/1.008, allocations: 102.5 kB / 0.785 GB, free: 8.648 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/1.008, allocations: 8 kB / 0.7851 GB, free: 8.641 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.008, allocations: 7.938 kB / 0.7851 GB, free: 8.633 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004787/1.013, allocations: 3.594 MB / 0.7886 GB, free: 5.91 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008046/1.014, allocations: 429.6 kB / 0.789 GB, free: 5.492 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/1.014, allocations: 69.16 kB / 0.789 GB, free: 5.457 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006493/1.015, allocations: 46.98 kB / 0.7891 GB, free: 5.445 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/1.015, allocations: 165.1 kB / 0.7893 GB, free: 5.301 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/1.015, allocations: 83.22 kB / 0.7893 GB, free: 5.238 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.0001521/1.015, allocations: 171.8 kB / 0.7895 GB, free: 5.09 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.3e-07/1.015, allocations: 7.875 kB / 0.7895 GB, free: 5.082 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008553/1.016, allocations: 453 kB / 0.7899 GB, free: 4.707 MB / 0.5419 GB 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 (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.0003535/1.017, allocations: 223.7 kB / 0.7901 GB, free: 4.52 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.003235/1.02, allocations: 2.258 MB / 0.7924 GB, free: 2.738 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.02, allocations: 0 / 0.7924 GB, free: 2.738 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/1.021, allocations: 1.257 MB / 0.7936 GB, free: 1.762 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006015/1.022, allocations: 162 kB / 0.7937 GB, free: 1.66 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008189/1.03, allocations: 6.498 MB / 0.8001 GB, free: 11.36 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007562/1.031, allocations: 1.175 MB / 0.8012 GB, free: 10.16 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 0.002037/1.033, allocations: 0.7435 MB / 0.802 GB, free: 9.414 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005907/1.034, allocations: 174.9 kB / 0.8021 GB, free: 9.258 MB / 0.5575 GB Notification: Performance of SimCode: time 7.52e-07/1.034, allocations: 0 / 0.8021 GB, free: 9.258 MB / 0.5575 GB Notification: Performance of Templates: time 0.03035/1.064, allocations: 16.89 MB / 0.8186 GB, free: 8.449 MB / 0.5732 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile (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) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches