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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006797/0.0006797, allocations: 87.22 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006948/0.0006948, allocations: 186.9 kB / 17.21 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.133/1.133, allocations: 223.3 MB / 241.2 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6145/0.6145, allocations: 120.5 MB / 412.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002518/0.0002518, allocations: 8 kB / 0.4956 GB, free: 9.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1142, allocations: 82.86 MB / 0.5765 GB, free: 6.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001042/0.1153, allocations: 1.085 MB / 0.5775 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006105/0.1159, allocations: 487.6 kB / 0.578 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.188e-05/0.1159, allocations: 0 / 0.578 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.885e-05/0.116, allocations: 7.938 kB / 0.578 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.1162, allocations: 55.78 kB / 0.5781 GB, free: 5.133 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.143e-05/0.1163, allocations: 35.91 kB / 0.5781 GB, free: 5.098 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003946/0.1167, allocations: 0.4951 MB / 0.5786 GB, free: 4.602 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.1168, allocations: 8.188 kB / 0.5786 GB, free: 4.594 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.1169, allocations: 203.7 kB / 0.5788 GB, free: 4.395 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003367/0.1173, allocations: 315.5 kB / 0.5791 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.71e-05/0.1174, allocations: 28 kB / 0.5791 GB, free: 4.059 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.1175, allocations: 51.97 kB / 0.5792 GB, free: 4.008 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.1177, allocations: 239.5 kB / 0.5794 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.872e-05/0.1178, allocations: 89.52 kB / 0.5795 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.118, allocations: 279.6 kB / 0.5797 GB, free: 3.406 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.118, allocations: 0 / 0.5797 GB, free: 3.406 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.118, allocations: 0 / 0.5797 GB, free: 3.406 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.118, allocations: 3.938 kB / 0.5797 GB, free: 3.402 MB / 446.1 MB 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.001385/0.1194, allocations: 0.8604 MB / 0.5806 GB, free: 2.496 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.677e-05/0.1194, allocations: 8.031 kB / 0.5806 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.788e-05/0.1195, allocations: 51.39 kB / 0.5806 GB, free: 2.438 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.1199, allocations: 314.4 kB / 0.5809 GB, free: 2.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.1199, allocations: 32.94 kB / 0.581 GB, free: 2.055 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.333e-05/0.12, allocations: 59.89 kB / 0.581 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007716/0.1208, allocations: 0.584 MB / 0.5816 GB, free: 1.406 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.1208, allocations: 3.938 kB / 0.5816 GB, free: 1.402 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.542e-05/0.1208, allocations: 20 kB / 0.5816 GB, free: 1.383 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.1209, allocations: 12 kB / 0.5816 GB, free: 1.371 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007564/0.1216, allocations: 0.5855 MB / 0.5822 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006493/0.1223, allocations: 0.6098 MB / 0.5828 GB, free: 120 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3529/0.4752, allocations: 1.356 MB / 0.5841 GB, free: 17.12 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006017/0.4758, allocations: 452.1 kB / 0.5846 GB, free: 17.11 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/0.476, allocations: 105.6 kB / 0.5847 GB, free: 17.01 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.476, allocations: 44.39 kB / 0.5847 GB, free: 16.97 MB / 446.3 MB Notification: Performance of pre-optimization done (n=103): time 2.494e-06/0.476, allocations: 0.9062 kB / 0.5847 GB, free: 16.97 MB / 446.3 MB Notification: Performance of matching and sorting (n=103): time 0.001888/0.4779, allocations: 1.349 MB / 0.586 GB, free: 16.62 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.478, allocations: 61.97 kB / 0.5861 GB, free: 16.55 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.4781, allocations: 177.4 kB / 0.5862 GB, free: 16.44 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.4781, allocations: 45.55 kB / 0.5863 GB, free: 16.39 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.4782, allocations: 106.4 kB / 0.5864 GB, free: 16.29 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.4784, allocations: 405.9 kB / 0.5868 GB, free: 16 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.4784, allocations: 24.5 kB / 0.5868 GB, free: 15.98 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 6.892e-05/0.4785, allocations: 367.6 kB / 0.5872 GB, free: 15.64 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006335/0.4791, allocations: 473.1 kB / 0.5876 GB, free: 15.52 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006441/0.4798, allocations: 484.3 kB / 0.5881 GB, free: 15.39 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007318/0.4805, allocations: 0.5471 MB / 0.5886 GB, free: 15.21 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4805, allocations: 1.25 kB / 0.5886 GB, free: 15.21 MB / 446.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001627/0.4822, allocations: 1.233 MB / 0.5898 GB, free: 14.82 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.4822, allocations: 5.781 kB / 0.5898 GB, free: 14.82 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4822, allocations: 4.719 kB / 0.5898 GB, free: 14.82 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4822, allocations: 4.688 kB / 0.5898 GB, free: 14.82 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009252/0.4831, allocations: 274.7 kB / 0.5901 GB, free: 14.79 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.4832, allocations: 5.969 kB / 0.5901 GB, free: 14.79 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/0.4834, allocations: 68.5 kB / 0.5902 GB, free: 14.73 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.451e-05/0.4835, allocations: 39.27 kB / 0.5902 GB, free: 14.73 MB / 446.3 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 (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.000181/0.4837, allocations: 207.4 kB / 0.5904 GB, free: 14.57 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.4838, allocations: 53.64 kB / 0.5904 GB, free: 14.54 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001968/0.4857, allocations: 1.395 MB / 0.5918 GB, free: 14.04 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.4857, allocations: 15.38 kB / 0.5918 GB, free: 14.04 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4858, allocations: 5.312 kB / 0.5918 GB, free: 14.04 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.4858, allocations: 6.469 kB / 0.5918 GB, free: 14.04 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007019/0.4865, allocations: 0.7478 MB / 0.5926 GB, free: 13.65 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4865, allocations: 0.8906 kB / 0.5926 GB, free: 13.65 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.4877, allocations: 302.9 kB / 0.5928 GB, free: 13.63 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.4877, allocations: 5.031 kB / 0.5929 GB, free: 13.63 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.668e-05/0.4878, allocations: 51.14 kB / 0.5929 GB, free: 13.61 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.4878, allocations: 4.031 kB / 0.5929 GB, free: 13.61 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4878, allocations: 1.5 kB / 0.5929 GB, free: 13.61 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/0.49, allocations: 1.847 MB / 0.5947 GB, free: 12.98 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002454/0.4902, allocations: 251.9 kB / 0.595 GB, free: 12.82 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.39e-05/0.4903, allocations: 41.55 kB / 0.595 GB, free: 12.8 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.4906, allocations: 28.62 kB / 0.595 GB, free: 12.79 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.4907, allocations: 82.16 kB / 0.5951 GB, free: 12.78 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-05/0.4908, allocations: 40.34 kB / 0.5951 GB, free: 12.77 MB / 446.3 MB Notification: Performance of sorting global known variables: time 7.406e-05/0.4909, allocations: 134.3 kB / 0.5953 GB, free: 12.68 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4909, allocations: 0 / 0.5953 GB, free: 12.68 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0004204/0.4913, allocations: 230 kB / 0.5955 GB, free: 12.65 MB / 446.3 MB 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.00017/0.4915, allocations: 162.6 kB / 0.5956 GB, free: 12.52 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.493, allocations: 1.138 MB / 0.5967 GB, free: 12.23 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.493, allocations: 4 kB / 0.5968 GB, free: 12.23 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007408/0.4937, allocations: 0.632 MB / 0.5974 GB, free: 12.05 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.4941, allocations: 103.1 kB / 0.5975 GB, free: 12 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/0.4975, allocations: 3.35 MB / 0.6007 GB, free: 10.07 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.4978, allocations: 0.9241 MB / 0.6016 GB, free: 9.355 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0006918/0.4985, allocations: 371.4 kB / 0.602 GB, free: 9.289 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.4988, allocations: 90.08 kB / 0.6021 GB, free: 9.273 MB / 446.3 MB Notification: Performance of SimCode: time 2.41e-07/0.4988, allocations: 0.9844 kB / 0.6021 GB, free: 9.273 MB / 446.3 MB Notification: Performance of Templates: time 0.01122/0.51, allocations: 8.728 MB / 0.6106 GB, free: 5.207 MB / 446.3 MB 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