Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008658/0.0008659, allocations: 176.7 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.4 MB / 223.5 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007716/0.0007716, allocations: 85.55 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7936/0.7936, allocations: 120.4 MB / 440.6 MB, free: 4.086 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003602, allocations: 8 kB / 0.5201 GB, free: 55.91 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1075, allocations: 80 MB / 0.5983 GB, free: 7.777 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5567/0.6642, allocations: 125.1 MB / 0.7204 GB, free: 18.95 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001291/0.6643, allocations: 61.81 kB / 0.7205 GB, free: 18.93 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.01693/0.6813, allocations: 6.686 MB / 0.727 GB, free: 13.01 MB / 0.4953 GB Notification: Performance of FrontEnd: time 9.32e-07/0.6813, allocations: 0 / 0.727 GB, free: 13.01 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.6813, allocations: 8 kB / 0.727 GB, free: 13 MB / 0.4953 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.00124/0.6826, allocations: 0.8579 MB / 0.7278 GB, free: 12.12 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 2.589e-05/0.6826, allocations: 8.031 kB / 0.7278 GB, free: 12.11 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.106e-05/0.6827, allocations: 44.47 kB / 0.7279 GB, free: 12.07 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005378/0.6832, allocations: 451.8 kB / 0.7283 GB, free: 11.6 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.6833, allocations: 33 kB / 0.7283 GB, free: 11.58 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.419e-05/0.6834, allocations: 62.73 kB / 0.7284 GB, free: 11.54 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006856/0.684, allocations: 0.5809 MB / 0.729 GB, free: 11.08 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.6841, allocations: 3.938 kB / 0.729 GB, free: 11.08 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.6841, allocations: 15.31 kB / 0.729 GB, free: 11.07 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.6841, allocations: 16 kB / 0.729 GB, free: 11.06 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006747/0.6848, allocations: 0.5838 MB / 0.7296 GB, free: 10.6 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/0.6854, allocations: 0.6172 MB / 0.7302 GB, free: 10.04 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/0.6879, allocations: 1.352 MB / 0.7315 GB, free: 8.969 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004742/0.6884, allocations: 452.1 kB / 0.7319 GB, free: 8.652 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.6886, allocations: 109.9 kB / 0.732 GB, free: 8.531 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.6886, allocations: 47.38 kB / 0.7321 GB, free: 8.484 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=103): time 2.505e-06/0.6886, allocations: 3.984 kB / 0.7321 GB, free: 8.48 MB / 0.4953 GB Notification: Performance of matching and sorting (n=103): time 0.001598/0.6902, allocations: 1.346 MB / 0.7334 GB, free: 7.445 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.6902, allocations: 64.41 kB / 0.7335 GB, free: 7.371 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.982e-05/0.6903, allocations: 178 kB / 0.7336 GB, free: 7.207 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 4.51e-05/0.6904, allocations: 40.7 kB / 0.7337 GB, free: 7.172 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 3.193e-05/0.6904, allocations: 105.5 kB / 0.7338 GB, free: 7.086 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.6906, allocations: 403.5 kB / 0.7342 GB, free: 6.742 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.6907, allocations: 26.5 kB / 0.7342 GB, free: 6.734 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 8.378e-05/0.6908, allocations: 370.1 kB / 0.7345 GB, free: 6.383 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005939/0.6914, allocations: 474.5 kB / 0.735 GB, free: 6.035 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005242/0.6919, allocations: 478.9 kB / 0.7354 GB, free: 5.68 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.6931, allocations: 1.03 MB / 0.7365 GB, free: 4.957 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.6931, allocations: 4 kB / 0.7365 GB, free: 4.953 MB / 0.4953 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001367/0.6945, allocations: 1.235 MB / 0.7377 GB, free: 4.016 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.6945, allocations: 7.938 kB / 0.7377 GB, free: 4.008 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.6945, allocations: 1.719 kB / 0.7377 GB, free: 4.008 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.6945, allocations: 4 kB / 0.7377 GB, free: 4.004 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.6957, allocations: 287.4 kB / 0.7379 GB, free: 3.73 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.6958, allocations: 8 kB / 0.738 GB, free: 3.723 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.6961, allocations: 77.94 kB / 0.738 GB, free: 3.664 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/0.6962, allocations: 43.67 kB / 0.7381 GB, free: 3.633 MB / 0.4953 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.000179/0.6963, allocations: 204.5 kB / 0.7383 GB, free: 3.453 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/0.6964, allocations: 51.45 kB / 0.7383 GB, free: 3.402 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.6981, allocations: 1.388 MB / 0.7397 GB, free: 2.391 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.6981, allocations: 12 kB / 0.7397 GB, free: 2.379 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6981, allocations: 4 kB / 0.7397 GB, free: 2.375 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.6982, allocations: 7.969 kB / 0.7397 GB, free: 2.367 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006756/0.6988, allocations: 0.744 MB / 0.7404 GB, free: 1.715 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.6989, allocations: 0 / 0.7404 GB, free: 1.715 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/0.7004, allocations: 327.2 kB / 0.7407 GB, free: 1.406 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.7004, allocations: 7.938 kB / 0.7407 GB, free: 1.398 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.032e-05/0.7005, allocations: 43.66 kB / 0.7408 GB, free: 1.371 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.7005, allocations: 4 kB / 0.7408 GB, free: 1.367 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.7005, allocations: 4 kB / 0.7408 GB, free: 1.363 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.7025, allocations: 1.838 MB / 0.7426 GB, free: 15.97 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002924/0.7028, allocations: 259.5 kB / 0.7428 GB, free: 15.71 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.7029, allocations: 39.47 kB / 0.7429 GB, free: 15.69 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003137/0.7032, allocations: 26.38 kB / 0.7429 GB, free: 15.68 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.7034, allocations: 84.44 kB / 0.743 GB, free: 15.61 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-05/0.7034, allocations: 39.86 kB / 0.743 GB, free: 15.58 MB / 0.5109 GB Notification: Performance of sorting global known variables: time 8.008e-05/0.7035, allocations: 128 kB / 0.7431 GB, free: 15.46 MB / 0.5109 GB Notification: Performance of sort global known variables: time 1.383e-06/0.7035, allocations: 0 / 0.7431 GB, free: 15.46 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0004289/0.704, allocations: 238.5 kB / 0.7434 GB, free: 15.27 MB / 0.5109 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.0002214/0.7042, allocations: 171 kB / 0.7435 GB, free: 15.11 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.001459/0.7057, allocations: 1.145 MB / 0.7446 GB, free: 14.22 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7057, allocations: 0 / 0.7446 GB, free: 14.22 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0007479/0.7064, allocations: 0.6302 MB / 0.7453 GB, free: 13.73 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.7069, allocations: 113.9 kB / 0.7454 GB, free: 13.67 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/0.7108, allocations: 3.362 MB / 0.7487 GB, free: 10.4 MB / 0.5109 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.7114, allocations: 0.9211 MB / 0.7496 GB, free: 9.449 MB / 0.5109 GB Notification: Performance of simCode: alias equations: time 0.0009269/0.7123, allocations: 376.8 kB / 0.7499 GB, free: 9.082 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/0.7126, allocations: 95.09 kB / 0.75 GB, free: 9 MB / 0.5109 GB Notification: Performance of SimCode: time 3.3e-07/0.7126, allocations: 0 / 0.75 GB, free: 9 MB / 0.5109 GB Notification: Performance of Templates: time 0.01409/0.7267, allocations: 8.791 MB / 0.7586 GB, free: 216 kB / 0.5109 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -abortSlowSimulation -alarm=300 -s=ida -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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] Variables in the result:Cd,Cu[10],Cu[11],Cu[12],Cu[13],Cu[14],Cu[15],Cu[16],Cu[17],Cu[18],Cu[19],Cu[1],Cu[20],Cu[2],Cu[3],Cu[4],Cu[5],Cu[6],Cu[7],Cu[8],Cu[9],Gh,Gu,Kp,N,Qh[1],Qh[20],Qh[2],Qh[3],Qmax,Que[1],Que[20],Que[2],Que[3],Td0,Teps,Tu0,Tu[1],Tu[20],Tu[2],Tu[3],a,b,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,u[1],u[20],u[2],u[3],x[1],x[20],x[2],x[3]