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 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_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 4.0.0+maint.om/package.mo): time 0.001105/0.001104, allocations: 181.3 kB / 16.39 MB, free: 5.766 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.206/1.206, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009788/0.0009789, allocations: 100.5 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7293/0.7293, allocations: 120.5 MB / 463.1 MB, free: 8.707 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003436, allocations: 8 kB / 0.5446 GB, free: 41.16 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1269, allocations: 82.85 MB / 0.6255 GB, free: 7.883 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6146/0.7416, allocations: 125.9 MB / 0.7485 GB, free: 8.305 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/0.7418, allocations: 67.45 kB / 0.7486 GB, free: 8.27 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.02178/0.7636, allocations: 6.756 MB / 0.7552 GB, free: 2.176 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.295e-06/0.7637, allocations: 0 / 0.7552 GB, free: 2.176 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 2.274e-05/0.7637, allocations: 8 kB / 0.7552 GB, free: 2.168 MB / 0.5107 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.001939/0.7656, allocations: 0.8559 MB / 0.756 GB, free: 1.289 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.7657, allocations: 8.031 kB / 0.756 GB, free: 1.281 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.7659, allocations: 47.98 kB / 0.7561 GB, free: 1.234 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008168/0.7667, allocations: 450.8 kB / 0.7565 GB, free: 0.7656 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.7667, allocations: 32.38 kB / 0.7565 GB, free: 0.7461 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.7669, allocations: 54.66 kB / 0.7566 GB, free: 0.7109 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009224/0.7678, allocations: 0.5816 MB / 0.7571 GB, free: 260 kB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.7678, allocations: 0.875 kB / 0.7571 GB, free: 260 kB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.908e-05/0.7679, allocations: 15.62 kB / 0.7571 GB, free: 256 kB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.7679, allocations: 15.95 kB / 0.7572 GB, free: 240 kB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008924/0.7688, allocations: 0.588 MB / 0.7577 GB, free: 15.76 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008436/0.7697, allocations: 0.6183 MB / 0.7583 GB, free: 15.2 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003176/0.7728, allocations: 1.357 MB / 0.7597 GB, free: 14.13 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002505/0.7731, allocations: 101.9 kB / 0.7598 GB, free: 14.02 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.7732, allocations: 43.38 kB / 0.7598 GB, free: 13.97 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=103): time 3.236e-06/0.7732, allocations: 4 kB / 0.7598 GB, free: 13.97 MB / 0.5263 GB Notification: Performance of matching and sorting (n=103): time 0.002042/0.7752, allocations: 1.349 MB / 0.7611 GB, free: 12.93 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.7753, allocations: 60.41 kB / 0.7612 GB, free: 12.86 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.7754, allocations: 165.9 kB / 0.7613 GB, free: 12.71 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 5.44e-05/0.7755, allocations: 41.33 kB / 0.7614 GB, free: 12.67 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.7755, allocations: 105 kB / 0.7615 GB, free: 12.58 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.000317/0.7759, allocations: 404.6 kB / 0.7619 GB, free: 12.23 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.7759, allocations: 23.44 kB / 0.7619 GB, free: 12.23 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.7761, allocations: 373.6 kB / 0.7622 GB, free: 11.88 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006825/0.7768, allocations: 468.1 kB / 0.7627 GB, free: 11.54 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006671/0.7775, allocations: 478.3 kB / 0.7631 GB, free: 11.18 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000771/0.7782, allocations: 0.5536 MB / 0.7637 GB, free: 10.79 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.7782, allocations: 0 / 0.7637 GB, free: 10.79 MB / 0.5263 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00173/0.78, allocations: 1.234 MB / 0.7649 GB, free: 9.852 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.78, allocations: 4 kB / 0.7649 GB, free: 9.848 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.78, allocations: 0 / 0.7649 GB, free: 9.848 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.78, allocations: 8 kB / 0.7649 GB, free: 9.84 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.7815, allocations: 287.4 kB / 0.7652 GB, free: 9.566 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/0.7815, allocations: 4 kB / 0.7652 GB, free: 9.562 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003971/0.7819, allocations: 74.5 kB / 0.7653 GB, free: 9.508 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.327e-05/0.782, allocations: 43.75 kB / 0.7653 GB, free: 9.473 MB / 0.5263 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.0002452/0.7823, allocations: 212.5 kB / 0.7655 GB, free: 9.285 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.279e-05/0.7824, allocations: 43.53 kB / 0.7655 GB, free: 9.242 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002126/0.7845, allocations: 1.394 MB / 0.7669 GB, free: 8.234 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.7845, allocations: 16 kB / 0.7669 GB, free: 8.219 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.7845, allocations: 0 / 0.7669 GB, free: 8.219 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.7845, allocations: 7.969 kB / 0.7669 GB, free: 8.211 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009402/0.7855, allocations: 0.7405 MB / 0.7676 GB, free: 7.555 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.7855, allocations: 4 kB / 0.7677 GB, free: 7.551 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001782/0.7873, allocations: 323.2 kB / 0.768 GB, free: 7.246 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.72e-05/0.7873, allocations: 4 kB / 0.768 GB, free: 7.242 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.7874, allocations: 47.41 kB / 0.768 GB, free: 7.215 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/0.7874, allocations: 11.98 kB / 0.768 GB, free: 7.203 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7875, allocations: 0 / 0.768 GB, free: 7.203 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/0.79, allocations: 1.844 MB / 0.7698 GB, free: 5.812 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004597/0.7905, allocations: 251.6 kB / 0.7701 GB, free: 5.559 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.7906, allocations: 43.11 kB / 0.7701 GB, free: 5.535 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.791, allocations: 23.12 kB / 0.7701 GB, free: 5.531 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.7911, allocations: 84.56 kB / 0.7702 GB, free: 5.453 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.091e-05/0.7912, allocations: 39.8 kB / 0.7702 GB, free: 5.422 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.0001059/0.7913, allocations: 131.9 kB / 0.7704 GB, free: 5.305 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7913, allocations: 0 / 0.7704 GB, free: 5.305 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0005775/0.7919, allocations: 242.1 kB / 0.7706 GB, free: 5.105 MB / 0.5263 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.0002511/0.7922, allocations: 167.7 kB / 0.7708 GB, free: 4.953 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.001686/0.7939, allocations: 1.141 MB / 0.7719 GB, free: 4.066 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.7939, allocations: 0 / 0.7719 GB, free: 4.066 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0008161/0.7947, allocations: 0.6335 MB / 0.7725 GB, free: 3.574 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.7951, allocations: 82.97 kB / 0.7726 GB, free: 3.523 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004309/0.7994, allocations: 3.354 MB / 0.7758 GB, free: 264 kB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/0.7999, allocations: 0.9283 MB / 0.7768 GB, free: 15.3 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0009636/0.8009, allocations: 376.8 kB / 0.7771 GB, free: 14.93 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003407/0.8012, allocations: 95.09 kB / 0.7772 GB, free: 14.85 MB / 0.5419 GB Notification: Performance of SimCode: time 2.304e-06/0.8013, allocations: 0 / 0.7772 GB, free: 14.85 MB / 0.5419 GB Notification: Performance of Templates: time 0.01673/0.818, allocations: 8.737 MB / 0.7857 GB, free: 6.172 MB / 0.5419 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 -s=ida -abortSlowSimulation -alarm=300 -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/jenkins/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) Reference file matches