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 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_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 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 175.8 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 103.4 kB / 281.2 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.239/1.239, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.82e-05/1.822e-05, allocations: 4 kB / 0.5295 GB, free: 0.5234 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6905/0.6905, allocations: 82.83 MB / 0.6104 GB, free: 13.02 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2614/0.9519, allocations: 125.2 MB / 0.7327 GB, free: 15.71 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.9523, allocations: 67.91 kB / 0.7327 GB, free: 15.65 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.04044/0.9928, allocations: 6.735 MB / 0.7393 GB, free: 8.895 MB / 0.5419 GB Notification: Performance of FrontEnd: time 3.036e-06/0.9928, allocations: 0 / 0.7393 GB, free: 8.895 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.992e-05/0.9929, allocations: 8 kB / 0.7393 GB, free: 8.887 MB / 0.5419 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.002854/0.9957, allocations: 0.8226 MB / 0.7401 GB, free: 8.02 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/0.9958, allocations: 12.03 kB / 0.7401 GB, free: 8.008 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.996, allocations: 47.39 kB / 0.7402 GB, free: 7.961 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.9973, allocations: 455.4 kB / 0.7406 GB, free: 7.477 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.9974, allocations: 12 kB / 0.7406 GB, free: 7.465 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/0.9976, allocations: 47.8 kB / 0.7407 GB, free: 7.418 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001556/0.9991, allocations: 0.553 MB / 0.7412 GB, free: 6.863 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/1.001, allocations: 0.523 MB / 0.7417 GB, free: 6.336 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/1.001, allocations: 0 / 0.7417 GB, free: 6.336 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.621e-05/1.001, allocations: 7.938 kB / 0.7417 GB, free: 6.328 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/1.001, allocations: 11.95 kB / 0.7417 GB, free: 6.316 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/1.002, allocations: 0.543 MB / 0.7423 GB, free: 5.734 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00575/1.008, allocations: 1.281 MB / 0.7435 GB, free: 4.441 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/1.009, allocations: 416.6 kB / 0.7439 GB, free: 4.035 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003529/1.009, allocations: 102.4 kB / 0.744 GB, free: 3.918 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.29e-05/1.009, allocations: 43.88 kB / 0.7441 GB, free: 3.863 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=103): time 4.639e-06/1.01, allocations: 4 kB / 0.7441 GB, free: 3.859 MB / 0.5419 GB Notification: Performance of matching and sorting (n=103): time 0.00548/1.015, allocations: 1.11 MB / 0.7451 GB, free: 2.746 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/1.015, allocations: 60.72 kB / 0.7452 GB, free: 2.672 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/1.016, allocations: 145.9 kB / 0.7453 GB, free: 2.523 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 8.594e-05/1.016, allocations: 25.7 kB / 0.7454 GB, free: 2.492 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/1.016, allocations: 106.1 kB / 0.7455 GB, free: 2.387 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005514/1.016, allocations: 390.2 kB / 0.7458 GB, free: 2 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.586e-05/1.016, allocations: 0 / 0.7458 GB, free: 2 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0002508/1.017, allocations: 378.7 kB / 0.7462 GB, free: 1.621 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/1.018, allocations: 450.4 kB / 0.7466 GB, free: 1.184 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/1.019, allocations: 468.9 kB / 0.7471 GB, free: 0.7266 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.765/1.784, allocations: 0.7282 MB / 0.7478 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.791e-05/1.784, allocations: 0 / 0.7478 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003899/1.788, allocations: 1.37 MB / 0.7491 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/1.788, allocations: 4.625 kB / 0.7491 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.788, allocations: 0 / 0.7491 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/1.788, allocations: 6.141 kB / 0.7491 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/1.79, allocations: 284.1 kB / 0.7494 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/1.79, allocations: 4.594 kB / 0.7494 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/1.79, allocations: 54.7 kB / 0.7495 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.191e-05/1.79, allocations: 41.52 kB / 0.7495 GB, free: 133.8 MB / 0.5421 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 () * 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.0001542/1.791, allocations: 120.7 kB / 0.7496 GB, free: 133.7 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/1.791, allocations: 48.91 kB / 0.7497 GB, free: 133.7 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003625/1.794, allocations: 1.472 MB / 0.7511 GB, free: 133.5 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/1.794, allocations: 17.86 kB / 0.7511 GB, free: 133.5 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/1.794, allocations: 0 / 0.7511 GB, free: 133.5 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/1.794, allocations: 6.984 kB / 0.7511 GB, free: 133.5 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/1.795, allocations: 0.6488 MB / 0.7518 GB, free: 133.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.795, allocations: 0 / 0.7518 GB, free: 133.2 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00209/1.798, allocations: 321.4 kB / 0.7521 GB, free: 133.2 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.639e-05/1.798, allocations: 4.125 kB / 0.7521 GB, free: 133.2 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/1.798, allocations: 36.55 kB / 0.7521 GB, free: 133.2 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-05/1.798, allocations: 8.781 kB / 0.7521 GB, free: 133.2 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.798, allocations: 0 / 0.7521 GB, free: 133.2 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004214/1.802, allocations: 1.91 MB / 0.754 GB, free: 132.6 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004198/1.802, allocations: 263.2 kB / 0.7542 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/1.803, allocations: 18.31 kB / 0.7542 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/1.803, allocations: 0.5938 kB / 0.7543 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/1.803, allocations: 82.91 kB / 0.7543 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.81e-05/1.803, allocations: 37.91 kB / 0.7544 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0001037/1.803, allocations: 130.3 kB / 0.7545 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.2e-07/1.803, allocations: 0 / 0.7545 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0007599/1.804, allocations: 191.6 kB / 0.7547 GB, free: 132.4 MB / 0.5421 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 () * 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.000242/1.804, allocations: 145.9 kB / 0.7548 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001763/1.806, allocations: 1.087 MB / 0.7559 GB, free: 132 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.806, allocations: 2.734 kB / 0.7559 GB, free: 132 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.000639/1.807, allocations: 0.5905 MB / 0.7565 GB, free: 131.8 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/1.807, allocations: 61.25 kB / 0.7565 GB, free: 131.8 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/1.81, allocations: 2.753 MB / 0.7592 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/1.811, allocations: 0.9382 MB / 0.7601 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0008992/1.812, allocations: 374.9 kB / 0.7605 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/1.812, allocations: 91.23 kB / 0.7606 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of SimCode: time 8.62e-07/1.812, allocations: 0 / 0.7606 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of Templates: time 0.01207/1.824, allocations: 8.557 MB / 0.7689 GB, free: 123 MB / 0.5421 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 -s=ida -abortSlowSimulation -alarm=300 -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) Reference file matches