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.001007/0.001007, allocations: 180.7 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.27/1.27, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0008288/0.0008287, allocations: 86.34 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.8316/0.8316, allocations: 120.5 MB / 463 MB, free: 8.723 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 8 kB / 0.5446 GB, free: 41.16 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1562, allocations: 82.85 MB / 0.6255 GB, free: 7.902 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7579/0.9143, allocations: 125.9 MB / 0.7485 GB, free: 8.391 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.9145, allocations: 62.53 kB / 0.7486 GB, free: 8.359 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.03801/0.9525, allocations: 12.44 MB / 0.7607 GB, free: 13.03 MB / 0.5263 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9526, allocations: 0 / 0.7607 GB, free: 13.03 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 2.329e-05/0.9526, allocations: 15.94 kB / 0.7607 GB, free: 13.01 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.003224/0.9558, allocations: 1.568 MB / 0.7622 GB, free: 11.44 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.9559, allocations: 12.03 kB / 0.7623 GB, free: 11.43 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.9561, allocations: 87.02 kB / 0.7623 GB, free: 11.34 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.9577, allocations: 0.9075 MB / 0.7632 GB, free: 10.41 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.279e-05/0.9577, allocations: 56.81 kB / 0.7633 GB, free: 10.38 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.9579, allocations: 114.6 kB / 0.7634 GB, free: 10.3 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.9596, allocations: 1.121 MB / 0.7645 GB, free: 9.434 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.9596, allocations: 4 kB / 0.7645 GB, free: 9.43 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.981e-05/0.9597, allocations: 31.06 kB / 0.7645 GB, free: 9.426 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.9597, allocations: 23.95 kB / 0.7645 GB, free: 9.402 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.9614, allocations: 1.264 MB / 0.7658 GB, free: 8.379 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.9628, allocations: 1.088 MB / 0.7668 GB, free: 7.449 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005932/0.9687, allocations: 2.769 MB / 0.7695 GB, free: 5.332 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002545/0.969, allocations: 126.9 kB / 0.7697 GB, free: 5.195 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.9691, allocations: 59.06 kB / 0.7697 GB, free: 5.145 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=203): time 3.827e-06/0.9691, allocations: 0 / 0.7697 GB, free: 5.145 MB / 0.5263 GB Notification: Performance of matching and sorting (n=203): time 0.003747/0.9728, allocations: 2.658 MB / 0.7723 GB, free: 3.109 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.9729, allocations: 73.41 kB / 0.7724 GB, free: 3.027 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.9731, allocations: 202.9 kB / 0.7726 GB, free: 2.844 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.9732, allocations: 60.95 kB / 0.7726 GB, free: 2.805 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/0.9733, allocations: 129.8 kB / 0.7728 GB, free: 2.703 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005391/0.9738, allocations: 0.7812 MB / 0.7735 GB, free: 2.02 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.9739, allocations: 54.44 kB / 0.7736 GB, free: 2.004 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.9741, allocations: 417.6 kB / 0.774 GB, free: 1.629 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.9754, allocations: 0.9083 MB / 0.7749 GB, free: 0.9453 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/0.9767, allocations: 0.9314 MB / 0.7758 GB, free: 240 kB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.9781, allocations: 1.085 MB / 0.7768 GB, free: 15.45 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.9782, allocations: 0 / 0.7768 GB, free: 15.45 MB / 0.5419 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003277/0.9814, allocations: 2.413 MB / 0.7792 GB, free: 13.6 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.9815, allocations: 8 kB / 0.7792 GB, free: 13.59 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.9815, allocations: 0 / 0.7792 GB, free: 13.59 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.9815, allocations: 11.94 kB / 0.7792 GB, free: 13.58 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00321/0.9847, allocations: 0.5415 MB / 0.7797 GB, free: 13.05 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.749e-05/0.9848, allocations: 12 kB / 0.7797 GB, free: 13.04 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007627/0.9855, allocations: 141.1 kB / 0.7799 GB, free: 12.94 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.9857, allocations: 87.36 kB / 0.78 GB, free: 12.87 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.0004334/0.9861, allocations: 306.7 kB / 0.7803 GB, free: 12.62 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.9863, allocations: 90.97 kB / 0.7803 GB, free: 12.53 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004103/0.9904, allocations: 2.727 MB / 0.783 GB, free: 10.52 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.9905, allocations: 28 kB / 0.783 GB, free: 10.5 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.9905, allocations: 0 / 0.783 GB, free: 10.5 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.463e-05/0.9905, allocations: 15.94 kB / 0.783 GB, free: 10.48 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.9921, allocations: 1.339 MB / 0.7844 GB, free: 9.355 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.9921, allocations: 4 kB / 0.7844 GB, free: 9.352 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003908/0.996, allocations: 0.6155 MB / 0.785 GB, free: 8.758 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.107e-05/0.9961, allocations: 8 kB / 0.785 GB, free: 8.75 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/0.9962, allocations: 95.11 kB / 0.7851 GB, free: 8.691 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/0.9963, allocations: 8 kB / 0.7851 GB, free: 8.684 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.9963, allocations: 0 / 0.7851 GB, free: 8.684 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004535/1.001, allocations: 3.603 MB / 0.7886 GB, free: 5.953 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007375/1.002, allocations: 418.3 kB / 0.789 GB, free: 5.543 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/1.002, allocations: 86.08 kB / 0.7891 GB, free: 5.496 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006302/1.002, allocations: 42.94 kB / 0.7891 GB, free: 5.488 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/1.003, allocations: 157.3 kB / 0.7893 GB, free: 5.348 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/1.003, allocations: 87.28 kB / 0.7893 GB, free: 5.281 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.0001275/1.003, allocations: 167.9 kB / 0.7895 GB, free: 5.137 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.263e-06/1.003, allocations: 3.938 kB / 0.7895 GB, free: 5.133 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.000807/1.004, allocations: 461.1 kB / 0.7899 GB, free: 4.75 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.0003236/1.004, allocations: 223.5 kB / 0.7902 GB, free: 4.562 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.002927/1.007, allocations: 2.264 MB / 0.7924 GB, free: 2.777 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/1.007, allocations: 0 / 0.7924 GB, free: 2.777 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.001497/1.008, allocations: 1.257 MB / 0.7936 GB, free: 1.801 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005409/1.009, allocations: 159.7 kB / 0.7937 GB, free: 1.703 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007451/1.016, allocations: 6.508 MB / 0.8001 GB, free: 11.4 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006646/1.017, allocations: 1.175 MB / 0.8012 GB, free: 10.2 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 0.001705/1.019, allocations: 0.7397 MB / 0.802 GB, free: 9.453 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005585/1.019, allocations: 166.8 kB / 0.8021 GB, free: 9.305 MB / 0.5575 GB Notification: Performance of SimCode: time 7.02e-07/1.019, allocations: 4 kB / 0.8021 GB, free: 9.301 MB / 0.5575 GB Notification: Performance of Templates: time 0.02468/1.044, allocations: 16.88 MB / 0.8186 GB, free: 8.492 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/jenkins/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