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 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_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 3.2.3+maint.om/package.mo): time 0.000989/0.0009893, allocations: 179.7 kB / 17.4 MB, free: 4.414 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.349/1.349, allocations: 205.4 MB / 223.5 MB, free: 9.031 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.0007802/0.0007803, allocations: 89.55 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.8868/0.8868, allocations: 120.4 MB / 440.6 MB, free: 4.117 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.000348, allocations: 16 kB / 0.5202 GB, free: 55.91 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1363, allocations: 79.99 MB / 0.5983 GB, free: 7.789 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6449/0.7813, allocations: 125.1 MB / 0.7204 GB, free: 18.75 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.7815, allocations: 62.86 kB / 0.7205 GB, free: 18.73 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.01775/0.7993, allocations: 6.677 MB / 0.727 GB, free: 12.82 MB / 0.4953 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7993, allocations: 0 / 0.727 GB, free: 12.82 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.873e-05/0.7994, allocations: 8 kB / 0.727 GB, free: 12.81 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.001455/0.8008, allocations: 0.8578 MB / 0.7278 GB, free: 11.93 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.8009, allocations: 8.031 kB / 0.7278 GB, free: 11.92 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.801, allocations: 50.14 kB / 0.7279 GB, free: 11.88 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005839/0.8016, allocations: 447 kB / 0.7283 GB, free: 11.41 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.8017, allocations: 33.06 kB / 0.7283 GB, free: 11.39 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.8018, allocations: 71.48 kB / 0.7284 GB, free: 11.34 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008053/0.8026, allocations: 0.5741 MB / 0.729 GB, free: 10.89 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.8026, allocations: 7.922 kB / 0.729 GB, free: 10.88 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.726e-05/0.8027, allocations: 17.62 kB / 0.729 GB, free: 10.88 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.8027, allocations: 12 kB / 0.729 GB, free: 10.86 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007303/0.8034, allocations: 0.5818 MB / 0.7296 GB, free: 10.4 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006747/0.8041, allocations: 0.617 MB / 0.7302 GB, free: 9.84 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002651/0.8068, allocations: 1.362 MB / 0.7315 GB, free: 8.766 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/0.8073, allocations: 450.1 kB / 0.7319 GB, free: 8.453 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001807/0.8075, allocations: 110.1 kB / 0.732 GB, free: 8.328 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.8075, allocations: 47.19 kB / 0.7321 GB, free: 8.281 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=103): time 2.454e-06/0.8075, allocations: 0 / 0.7321 GB, free: 8.281 MB / 0.4953 GB Notification: Performance of matching and sorting (n=103): time 0.00174/0.8093, allocations: 1.344 MB / 0.7334 GB, free: 7.25 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.8093, allocations: 64.41 kB / 0.7335 GB, free: 7.176 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.8094, allocations: 170.2 kB / 0.7336 GB, free: 7.016 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 4.805e-05/0.8095, allocations: 44.83 kB / 0.7337 GB, free: 6.98 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.8095, allocations: 105.7 kB / 0.7338 GB, free: 6.891 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.8097, allocations: 403.5 kB / 0.7341 GB, free: 6.547 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.8098, allocations: 30.94 kB / 0.7342 GB, free: 6.535 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.8099, allocations: 369.8 kB / 0.7345 GB, free: 6.188 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005724/0.8104, allocations: 465.3 kB / 0.735 GB, free: 5.844 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006118/0.8111, allocations: 488.8 kB / 0.7354 GB, free: 5.48 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.8123, allocations: 1.037 MB / 0.7365 GB, free: 4.75 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.8123, allocations: 0 / 0.7365 GB, free: 4.75 MB / 0.4953 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00148/0.8138, allocations: 1.234 MB / 0.7377 GB, free: 3.812 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.8138, allocations: 7.938 kB / 0.7377 GB, free: 3.805 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/0.8138, allocations: 4 kB / 0.7377 GB, free: 3.801 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.8139, allocations: 4 kB / 0.7377 GB, free: 3.797 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.8152, allocations: 287.5 kB / 0.7379 GB, free: 3.523 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-05/0.8152, allocations: 4 kB / 0.738 GB, free: 3.52 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.8156, allocations: 76.38 kB / 0.738 GB, free: 3.465 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.8e-05/0.8157, allocations: 39.86 kB / 0.7381 GB, free: 3.434 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.0002183/0.8159, allocations: 204.8 kB / 0.7383 GB, free: 3.254 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.392e-05/0.816, allocations: 51.47 kB / 0.7383 GB, free: 3.203 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/0.8179, allocations: 1.393 MB / 0.7397 GB, free: 2.191 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.8179, allocations: 16 kB / 0.7397 GB, free: 2.176 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.8179, allocations: 0 / 0.7397 GB, free: 2.176 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.8179, allocations: 11.97 kB / 0.7397 GB, free: 2.164 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007759/0.8187, allocations: 0.7409 MB / 0.7404 GB, free: 1.512 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.8187, allocations: 0 / 0.7404 GB, free: 1.512 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/0.8203, allocations: 323.3 kB / 0.7407 GB, free: 1.207 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.006e-05/0.8203, allocations: 7.938 kB / 0.7407 GB, free: 1.199 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.8205, allocations: 43.53 kB / 0.7408 GB, free: 1.172 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.8205, allocations: 8 kB / 0.7408 GB, free: 1.164 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8205, allocations: 0 / 0.7408 GB, free: 1.164 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/0.8227, allocations: 1.844 MB / 0.7426 GB, free: 15.77 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003441/0.823, allocations: 255.5 kB / 0.7428 GB, free: 15.51 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.8232, allocations: 43.22 kB / 0.7429 GB, free: 15.49 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.8235, allocations: 19.19 kB / 0.7429 GB, free: 15.48 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.8237, allocations: 84.56 kB / 0.743 GB, free: 15.41 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.969e-05/0.8237, allocations: 40.55 kB / 0.743 GB, free: 15.38 MB / 0.5109 GB Notification: Performance of sorting global known variables: time 9.288e-05/0.8238, allocations: 132 kB / 0.7431 GB, free: 15.27 MB / 0.5109 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8238, allocations: 0 / 0.7431 GB, free: 15.27 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0005409/0.8244, allocations: 234.8 kB / 0.7434 GB, free: 15.07 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.0002603/0.8247, allocations: 170.9 kB / 0.7435 GB, free: 14.92 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.00162/0.8263, allocations: 1.149 MB / 0.7446 GB, free: 14.02 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.8263, allocations: 0 / 0.7446 GB, free: 14.02 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0007981/0.8271, allocations: 0.6305 MB / 0.7453 GB, free: 13.53 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.8276, allocations: 109.6 kB / 0.7454 GB, free: 13.47 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004115/0.8317, allocations: 3.362 MB / 0.7486 GB, free: 10.2 MB / 0.5109 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.8322, allocations: 0.9205 MB / 0.7495 GB, free: 9.254 MB / 0.5109 GB Notification: Performance of simCode: alias equations: time 0.0009449/0.8332, allocations: 376.8 kB / 0.7499 GB, free: 8.887 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/0.8335, allocations: 90.91 kB / 0.75 GB, free: 8.805 MB / 0.5109 GB Notification: Performance of SimCode: time 3.41e-07/0.8335, allocations: 0 / 0.75 GB, free: 8.805 MB / 0.5109 GB Notification: Performance of Templates: time 0.01551/0.849, allocations: 8.812 MB / 0.7586 GB, free: 15.99 MB / 0.5265 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 -abortSlowSimulation -alarm=300 -s=ida -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) "" 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]