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.001612/0.001612, allocations: 179.5 kB / 13.63 MB, free: 1.684 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.507/1.507, allocations: 221.3 MB / 235.5 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 98.16 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.145/1.145, allocations: 120.5 MB / 457.9 MB, free: 7.043 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.802e-05/2.846e-05, allocations: 8 kB / 0.5367 GB, free: 11.2 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.684/0.6841, allocations: 82.84 MB / 0.6176 GB, free: 9.277 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1901/0.8743, allocations: 125.8 MB / 0.7405 GB, free: 11.31 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.8746, allocations: 67.95 kB / 0.7405 GB, free: 11.24 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.02254/0.8972, allocations: 6.767 MB / 0.7471 GB, free: 4.461 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.492e-06/0.8972, allocations: 4 kB / 0.7471 GB, free: 4.457 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.915e-05/0.8972, allocations: 4 kB / 0.7471 GB, free: 4.453 MB / 0.5419 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.00192/0.8992, allocations: 0.8262 MB / 0.7479 GB, free: 3.582 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.8992, allocations: 8.031 kB / 0.748 GB, free: 3.574 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.8994, allocations: 51.39 kB / 0.748 GB, free: 3.523 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008538/0.9003, allocations: 447.1 kB / 0.7484 GB, free: 3.047 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.9003, allocations: 33 kB / 0.7485 GB, free: 3.012 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.9004, allocations: 63.8 kB / 0.7485 GB, free: 2.949 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.9015, allocations: 0.5724 MB / 0.7491 GB, free: 2.371 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.9015, allocations: 0 / 0.7491 GB, free: 2.371 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-05/0.9016, allocations: 16 kB / 0.7491 GB, free: 2.355 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.9016, allocations: 11.94 kB / 0.7491 GB, free: 2.344 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.9026, allocations: 0.5817 MB / 0.7497 GB, free: 1.766 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009286/0.9036, allocations: 0.61 MB / 0.7503 GB, free: 1.102 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.8818/1.785, allocations: 1.329 MB / 0.7516 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/1.787, allocations: 444 kB / 0.752 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004396/1.788, allocations: 110.6 kB / 0.7521 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/1.788, allocations: 45.11 kB / 0.7521 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=103): time 5.119e-06/1.788, allocations: 0 / 0.7521 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of matching and sorting (n=103): time 0.003145/1.791, allocations: 0.9529 MB / 0.7531 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/1.791, allocations: 62.98 kB / 0.7531 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/1.791, allocations: 162.5 kB / 0.7533 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/1.791, allocations: 43.7 kB / 0.7533 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 9.195e-05/1.792, allocations: 105.9 kB / 0.7534 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005825/1.792, allocations: 401.7 kB / 0.7538 GB, free: 130 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-05/1.792, allocations: 20.47 kB / 0.7538 GB, free: 130 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0002217/1.792, allocations: 368.1 kB / 0.7542 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/1.794, allocations: 479.9 kB / 0.7546 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/1.795, allocations: 492.5 kB / 0.7551 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/1.797, allocations: 0.5597 MB / 0.7557 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/1.797, allocations: 1.031 kB / 0.7557 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0033/1.8, allocations: 1.256 MB / 0.7569 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/1.8, allocations: 5.156 kB / 0.7569 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.8, allocations: 0.9375 kB / 0.7569 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.02e-05/1.8, allocations: 5.641 kB / 0.7569 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/1.802, allocations: 284.2 kB / 0.7572 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.551e-05/1.802, allocations: 9.531 kB / 0.7572 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000541/1.803, allocations: 77.69 kB / 0.7573 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/1.803, allocations: 38.81 kB / 0.7573 GB, free: 128.8 MB / 0.5421 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 () * 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.000256/1.803, allocations: 155.8 kB / 0.7574 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/1.803, allocations: 51.58 kB / 0.7575 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003478/1.807, allocations: 1.368 MB / 0.7588 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.498e-05/1.807, allocations: 18.34 kB / 0.7588 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/1.807, allocations: 0.7969 kB / 0.7588 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/1.807, allocations: 6.906 kB / 0.7588 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/1.808, allocations: 0.7439 MB / 0.7596 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/1.808, allocations: 3.719 kB / 0.7596 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002111/1.811, allocations: 320.9 kB / 0.7599 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-05/1.811, allocations: 10.34 kB / 0.7599 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001539/1.811, allocations: 50.53 kB / 0.7599 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.455e-05/1.811, allocations: 4.75 kB / 0.7599 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.811, allocations: 1.562 kB / 0.7599 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00289/1.814, allocations: 1.816 MB / 0.7617 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004812/1.814, allocations: 249 kB / 0.762 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/1.814, allocations: 41.42 kB / 0.762 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000413/1.815, allocations: 29.34 kB / 0.762 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/1.815, allocations: 84.84 kB / 0.7621 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-05/1.815, allocations: 40.12 kB / 0.7621 GB, free: 127 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0001126/1.815, allocations: 126.9 kB / 0.7623 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.61e-07/1.815, allocations: 3.312 kB / 0.7623 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0006995/1.816, allocations: 235.3 kB / 0.7625 GB, free: 126.9 MB / 0.5421 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 () * 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.0002982/1.816, allocations: 173.3 kB / 0.7627 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001826/1.818, allocations: 1.135 MB / 0.7638 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.818, allocations: 0 / 0.7638 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0007994/1.819, allocations: 0.6187 MB / 0.7644 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/1.819, allocations: 88.67 kB / 0.7645 GB, free: 126.2 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003526/1.823, allocations: 2.822 MB / 0.7672 GB, free: 124.4 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/1.823, allocations: 0.939 MB / 0.7681 GB, free: 123.5 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0008728/1.824, allocations: 378.2 kB / 0.7685 GB, free: 123.2 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/1.824, allocations: 90.56 kB / 0.7686 GB, free: 123.2 MB / 0.5421 GB Notification: Performance of SimCode: time 7.32e-07/1.824, allocations: 0 / 0.7686 GB, free: 123.2 MB / 0.5421 GB Notification: Performance of Templates: time 0.0147/1.839, allocations: 8.833 MB / 0.7772 GB, free: 115.1 MB / 0.5421 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/jenkins1/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