Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.0009815/0.0009815, 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.347/1.347, allocations: 205.4 MB / 223.5 MB, free: 9.02 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.0009025/0.0009025, allocations: 89.48 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.9041/0.9041, allocations: 120.4 MB / 440.6 MB, free: 4.082 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003607, allocations: 12 kB / 0.5202 GB, free: 55.91 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1309, allocations: 79.99 MB / 0.5983 GB, free: 7.793 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6524/0.7834, allocations: 125.1 MB / 0.7204 GB, free: 18.77 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.7837, allocations: 65.95 kB / 0.7205 GB, free: 18.74 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.0107/0.7944, allocations: 4.018 MB / 0.7244 GB, free: 15.27 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7944, allocations: 4 kB / 0.7244 GB, free: 15.26 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.7944, allocations: 4 kB / 0.7244 GB, free: 15.26 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.0007931/0.7952, allocations: 0.581 MB / 0.725 GB, free: 14.64 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.7953, allocations: 8.031 kB / 0.725 GB, free: 14.63 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.206e-05/0.7953, allocations: 28.66 kB / 0.725 GB, free: 14.6 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.7957, allocations: 295.7 kB / 0.7253 GB, free: 14.28 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.7957, allocations: 17.12 kB / 0.7253 GB, free: 14.27 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.523e-05/0.7958, allocations: 35.52 kB / 0.7253 GB, free: 14.25 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.7962, allocations: 315.4 kB / 0.7256 GB, free: 14 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.7962, allocations: 0 / 0.7256 GB, free: 14 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.7962, allocations: 7.922 kB / 0.7256 GB, free: 14 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.7963, allocations: 8 kB / 0.7256 GB, free: 13.99 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003429/0.7966, allocations: 290.8 kB / 0.7259 GB, free: 13.77 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.797, allocations: 387.8 kB / 0.7263 GB, free: 13.39 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.7983, allocations: 0.6932 MB / 0.727 GB, free: 12.84 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.7986, allocations: 230.3 kB / 0.7272 GB, free: 12.67 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.7988, allocations: 93.52 kB / 0.7273 GB, free: 12.56 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.7988, allocations: 40.25 kB / 0.7273 GB, free: 12.52 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=53): time 2.034e-06/0.7988, allocations: 0 / 0.7273 GB, free: 12.52 MB / 0.4953 GB Notification: Performance of matching and sorting (n=53): time 0.00089/0.7997, allocations: 0.6983 MB / 0.728 GB, free: 11.96 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.7997, allocations: 55.84 kB / 0.728 GB, free: 11.9 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.638e-05/0.7998, allocations: 150 kB / 0.7282 GB, free: 11.75 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.7999, allocations: 37.45 kB / 0.7282 GB, free: 11.71 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.7999, allocations: 96.81 kB / 0.7283 GB, free: 11.62 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.8, allocations: 200.9 kB / 0.7285 GB, free: 11.45 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.8001, allocations: 11.75 kB / 0.7285 GB, free: 11.45 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 6.608e-05/0.8001, allocations: 350 kB / 0.7288 GB, free: 11.11 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.8004, allocations: 230.3 kB / 0.7291 GB, free: 10.94 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.8007, allocations: 247 kB / 0.7293 GB, free: 10.76 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005834/0.8013, allocations: 0.5291 MB / 0.7298 GB, free: 10.38 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.8013, allocations: 3.938 kB / 0.7298 GB, free: 10.38 MB / 0.4953 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007131/0.802, allocations: 0.6386 MB / 0.7304 GB, free: 9.887 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.802, allocations: 7.125 kB / 0.7305 GB, free: 9.883 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.802, allocations: 0 / 0.7305 GB, free: 9.883 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8021, allocations: 4 kB / 0.7305 GB, free: 9.879 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/0.8027, allocations: 147.7 kB / 0.7306 GB, free: 9.738 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.8027, allocations: 0 / 0.7306 GB, free: 9.738 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.8029, allocations: 47.02 kB / 0.7306 GB, free: 9.703 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.8029, allocations: 23.62 kB / 0.7307 GB, free: 9.684 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.0001174/0.803, allocations: 161.1 kB / 0.7308 GB, free: 9.527 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.8031, allocations: 23.72 kB / 0.7308 GB, free: 9.504 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009368/0.804, allocations: 0.7276 MB / 0.7316 GB, free: 8.965 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.804, allocations: 4 kB / 0.7316 GB, free: 8.961 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.804, allocations: 7.984 kB / 0.7316 GB, free: 8.953 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.804, allocations: 4 kB / 0.7316 GB, free: 8.949 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.8044, allocations: 459.1 kB / 0.732 GB, free: 8.523 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.8044, allocations: 3.938 kB / 0.732 GB, free: 8.52 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007641/0.8052, allocations: 159.7 kB / 0.7322 GB, free: 8.367 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.8052, allocations: 4 kB / 0.7322 GB, free: 8.363 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.8053, allocations: 35.53 kB / 0.7322 GB, free: 8.34 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.8053, allocations: 0 / 0.7322 GB, free: 8.34 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8053, allocations: 0 / 0.7322 GB, free: 8.34 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.8063, allocations: 0.9639 MB / 0.7331 GB, free: 7.594 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.8065, allocations: 172.2 kB / 0.7333 GB, free: 7.414 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.8065, allocations: 19.67 kB / 0.7333 GB, free: 7.402 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.8067, allocations: 15.56 kB / 0.7333 GB, free: 7.398 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.8068, allocations: 44.66 kB / 0.7334 GB, free: 7.359 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.8068, allocations: 19.81 kB / 0.7334 GB, free: 7.344 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 5.203e-05/0.8069, allocations: 107.9 kB / 0.7335 GB, free: 7.246 MB / 0.4953 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8069, allocations: 0 / 0.7335 GB, free: 7.246 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0003153/0.8072, allocations: 131 kB / 0.7336 GB, free: 7.137 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.000163/0.8074, allocations: 146.3 kB / 0.7338 GB, free: 6.996 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.0006966/0.8081, allocations: 0.5745 MB / 0.7343 GB, free: 6.551 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.8081, allocations: 7.375 kB / 0.7343 GB, free: 6.547 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.8084, allocations: 320.3 kB / 0.7346 GB, free: 6.297 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.8087, allocations: 61.97 kB / 0.7347 GB, free: 6.262 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.8105, allocations: 1.789 MB / 0.7364 GB, free: 4.516 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.8107, allocations: 0.8054 MB / 0.7372 GB, free: 3.688 MB / 0.4953 GB Notification: Performance of simCode: alias equations: time 0.0003716/0.8111, allocations: 179.1 kB / 0.7374 GB, free: 3.512 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.8112, allocations: 47.11 kB / 0.7375 GB, free: 3.469 MB / 0.4953 GB Notification: Performance of SimCode: time 2.31e-07/0.8112, allocations: 0 / 0.7375 GB, free: 3.469 MB / 0.4953 GB Notification: Performance of Templates: time 0.007437/0.8187, allocations: 4.716 MB / 0.7421 GB, free: 14.76 MB / 0.5109 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -abortSlowSimulation -alarm=300 -s=ida -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches