Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009032/0.0009034, allocations: 173.2 kB / 17.4 MB, free: 4.297 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.204/1.204, 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.0007436/0.0007435, allocations: 86.2 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7988/0.7988, allocations: 120.4 MB / 440.6 MB, free: 4.105 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003233, allocations: 15.98 kB / 0.5202 GB, free: 55.9 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1078, allocations: 79.99 MB / 0.5983 GB, free: 7.777 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5686/0.6764, allocations: 125.1 MB / 0.7204 GB, free: 18.86 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/0.6766, allocations: 66.61 kB / 0.7205 GB, free: 18.84 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.0104/0.687, allocations: 4.014 MB / 0.7244 GB, free: 15.37 MB / 0.4953 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6871, allocations: 8 kB / 0.7244 GB, free: 15.36 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.6871, allocations: 4 kB / 0.7244 GB, free: 15.36 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007476/0.6878, allocations: 0.5761 MB / 0.725 GB, free: 14.75 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.6879, allocations: 8.031 kB / 0.725 GB, free: 14.74 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.781e-05/0.6879, allocations: 32.59 kB / 0.725 GB, free: 14.71 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.6883, allocations: 284.4 kB / 0.7253 GB, free: 14.39 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.6883, allocations: 24.38 kB / 0.7253 GB, free: 14.38 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.6884, allocations: 29.53 kB / 0.7253 GB, free: 14.36 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004144/0.6888, allocations: 319.9 kB / 0.7256 GB, free: 14.11 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.6888, allocations: 3.938 kB / 0.7256 GB, free: 14.11 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.6888, allocations: 7.312 kB / 0.7256 GB, free: 14.11 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.6888, allocations: 8 kB / 0.7256 GB, free: 14.1 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003696/0.6892, allocations: 294.3 kB / 0.7259 GB, free: 13.87 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.6896, allocations: 389.1 kB / 0.7263 GB, free: 13.5 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.691, allocations: 0.6847 MB / 0.727 GB, free: 12.95 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.6912, allocations: 230.3 kB / 0.7272 GB, free: 12.78 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.6914, allocations: 97.47 kB / 0.7273 GB, free: 12.67 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.6914, allocations: 42.92 kB / 0.7273 GB, free: 12.62 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=53): time 1.933e-06/0.6914, allocations: 0 / 0.7273 GB, free: 12.62 MB / 0.4953 GB Notification: Performance of matching and sorting (n=53): time 0.0008997/0.6923, allocations: 0.6962 MB / 0.728 GB, free: 12.07 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.6923, allocations: 55.84 kB / 0.728 GB, free: 12 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.334e-05/0.6924, allocations: 141.7 kB / 0.7282 GB, free: 11.86 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.6925, allocations: 41.58 kB / 0.7282 GB, free: 11.82 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 2.594e-05/0.6925, allocations: 97 kB / 0.7283 GB, free: 11.73 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.6926, allocations: 199.3 kB / 0.7285 GB, free: 11.56 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.6927, allocations: 15.62 kB / 0.7285 GB, free: 11.56 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 5.242e-05/0.6927, allocations: 346.4 kB / 0.7288 GB, free: 11.22 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.693, allocations: 229.6 kB / 0.7291 GB, free: 11.05 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.6933, allocations: 251.2 kB / 0.7293 GB, free: 10.87 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000584/0.6939, allocations: 0.5225 MB / 0.7298 GB, free: 10.5 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6939, allocations: 4 kB / 0.7298 GB, free: 10.49 MB / 0.4953 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007206/0.6946, allocations: 0.6427 MB / 0.7304 GB, free: 9.996 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.6946, allocations: 4 kB / 0.7305 GB, free: 9.992 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6946, allocations: 1.25 kB / 0.7305 GB, free: 9.992 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.6947, allocations: 4 kB / 0.7305 GB, free: 9.988 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.6952, allocations: 147.6 kB / 0.7306 GB, free: 9.848 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.6953, allocations: 0 / 0.7306 GB, free: 9.848 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.6954, allocations: 43.28 kB / 0.7306 GB, free: 9.816 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.6955, allocations: 23.8 kB / 0.7307 GB, free: 9.797 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 (74): * Single equations (assignments): 74 * 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.0001087/0.6956, allocations: 165 kB / 0.7308 GB, free: 9.641 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.6956, allocations: 23.72 kB / 0.7308 GB, free: 9.617 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009248/0.6966, allocations: 0.7211 MB / 0.7315 GB, free: 9.086 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.6966, allocations: 8 kB / 0.7316 GB, free: 9.078 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6966, allocations: 0 / 0.7316 GB, free: 9.078 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.6966, allocations: 7.984 kB / 0.7316 GB, free: 9.07 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.697, allocations: 463.3 kB / 0.732 GB, free: 8.641 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.697, allocations: 3.984 kB / 0.732 GB, free: 8.637 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007465/0.6977, allocations: 163.5 kB / 0.7322 GB, free: 8.48 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.6977, allocations: 8 kB / 0.7322 GB, free: 8.473 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.6978, allocations: 31.3 kB / 0.7322 GB, free: 8.453 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6978, allocations: 0 / 0.7322 GB, free: 8.453 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6978, allocations: 7.969 kB / 0.7322 GB, free: 8.445 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.6988, allocations: 0.9641 MB / 0.7331 GB, free: 7.699 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.699, allocations: 172.2 kB / 0.7333 GB, free: 7.52 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.699, allocations: 19.67 kB / 0.7333 GB, free: 7.508 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.6992, allocations: 15.69 kB / 0.7333 GB, free: 7.504 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.6993, allocations: 44.53 kB / 0.7334 GB, free: 7.465 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.6993, allocations: 19.81 kB / 0.7334 GB, free: 7.449 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 4.417e-05/0.6993, allocations: 107.9 kB / 0.7335 GB, free: 7.352 MB / 0.4953 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6993, allocations: 0 / 0.7335 GB, free: 7.352 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0002837/0.6996, allocations: 127 kB / 0.7336 GB, free: 7.246 MB / 0.4953 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.0001369/0.6998, allocations: 146.2 kB / 0.7338 GB, free: 7.109 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.0006411/0.7004, allocations: 0.5776 MB / 0.7343 GB, free: 6.664 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7004, allocations: 0 / 0.7343 GB, free: 6.664 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 0.0003373/0.7008, allocations: 320.1 kB / 0.7346 GB, free: 6.414 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.7011, allocations: 59.16 kB / 0.7347 GB, free: 6.383 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.7027, allocations: 1.781 MB / 0.7364 GB, free: 4.645 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.7029, allocations: 0.8053 MB / 0.7372 GB, free: 3.812 MB / 0.4953 GB Notification: Performance of simCode: alias equations: time 0.0003673/0.7033, allocations: 191 kB / 0.7374 GB, free: 3.625 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.7034, allocations: 47.05 kB / 0.7375 GB, free: 3.582 MB / 0.4953 GB Notification: Performance of SimCode: time 3e-07/0.7034, allocations: 0 / 0.7375 GB, free: 3.582 MB / 0.4953 GB Notification: Performance of Templates: time 0.006922/0.7104, allocations: 4.71 MB / 0.7421 GB, free: 14.88 MB / 0.5109 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -abortSlowSimulation -alarm=300 -s=ida -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches