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.001383/0.001383, allocations: 175.8 kB / 8.346 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.351/1.351, allocations: 221.5 MB / 230.3 MB, free: 7.523 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.0009409/0.000941, allocations: 88.44 kB / 281.2 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.028/1.028, allocations: 120.5 MB / 452.4 MB, free: 10.52 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.51e-05/1.567e-05, allocations: 0 / 0.5295 GB, free: 0.5469 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5954/0.5955, allocations: 82.85 MB / 0.6104 GB, free: 13.05 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1575/0.753, allocations: 125.2 MB / 0.7327 GB, free: 15.75 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.7533, allocations: 63.97 kB / 0.7327 GB, free: 15.69 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.02064/0.7739, allocations: 6.739 MB / 0.7393 GB, free: 8.93 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.583e-06/0.774, allocations: 0 / 0.7393 GB, free: 8.93 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.757e-05/0.774, allocations: 8 kB / 0.7393 GB, free: 8.922 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.00154/0.7755, allocations: 0.8265 MB / 0.7401 GB, free: 8.051 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.7756, allocations: 8.031 kB / 0.7401 GB, free: 8.043 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.7757, allocations: 51.39 kB / 0.7402 GB, free: 7.992 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000672/0.7764, allocations: 451.5 kB / 0.7406 GB, free: 7.512 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.7764, allocations: 12 kB / 0.7406 GB, free: 7.5 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.185e-05/0.7765, allocations: 51.8 kB / 0.7407 GB, free: 7.449 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008103/0.7773, allocations: 0.553 MB / 0.7412 GB, free: 6.895 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007794/0.7781, allocations: 0.5191 MB / 0.7417 GB, free: 6.371 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.7782, allocations: 0 / 0.7417 GB, free: 6.371 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.575e-05/0.7782, allocations: 0 / 0.7417 GB, free: 6.371 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.7782, allocations: 19.89 kB / 0.7417 GB, free: 6.352 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007375/0.779, allocations: 0.5353 MB / 0.7423 GB, free: 5.777 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002933/0.7819, allocations: 1.289 MB / 0.7435 GB, free: 4.477 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005407/0.7825, allocations: 412.6 kB / 0.7439 GB, free: 4.074 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/0.7827, allocations: 110.4 kB / 0.744 GB, free: 3.949 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.7827, allocations: 47.88 kB / 0.7441 GB, free: 3.891 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=103): time 2.304e-06/0.7828, allocations: 0 / 0.7441 GB, free: 3.891 MB / 0.5419 GB Notification: Performance of matching and sorting (n=103): time 0.002447/0.7852, allocations: 1.102 MB / 0.7451 GB, free: 2.785 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.7853, allocations: 60.72 kB / 0.7452 GB, free: 2.711 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.7854, allocations: 149.8 kB / 0.7453 GB, free: 2.559 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.7855, allocations: 25.7 kB / 0.7454 GB, free: 2.527 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.7855, allocations: 110.1 kB / 0.7455 GB, free: 2.418 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000273/0.7858, allocations: 390.2 kB / 0.7458 GB, free: 2.031 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.7858, allocations: 3.938 kB / 0.7458 GB, free: 2.027 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.786, allocations: 370.7 kB / 0.7462 GB, free: 1.656 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005997/0.7866, allocations: 458.4 kB / 0.7466 GB, free: 1.211 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005934/0.7872, allocations: 464.9 kB / 0.7471 GB, free: 0.7578 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.7889, allocations: 0.7321 MB / 0.7478 GB, free: 24 kB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.7889, allocations: 0 / 0.7478 GB, free: 24 kB / 0.5419 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.6587/1.448, allocations: 1.368 MB / 0.7491 GB, free: 134.2 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/1.448, allocations: 5.594 kB / 0.7491 GB, free: 134.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.448, allocations: 0.5156 kB / 0.7491 GB, free: 134.2 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/1.448, allocations: 5.5 kB / 0.7491 GB, free: 134.2 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/1.45, allocations: 280.8 kB / 0.7494 GB, free: 134.2 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/1.45, allocations: 5.438 kB / 0.7494 GB, free: 134.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/1.45, allocations: 54.38 kB / 0.7495 GB, free: 134.2 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/1.45, allocations: 41.02 kB / 0.7495 GB, free: 134.2 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.0001819/1.45, allocations: 123 kB / 0.7496 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/1.45, allocations: 47.16 kB / 0.7497 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003564/1.454, allocations: 1.47 MB / 0.7511 GB, free: 133.9 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/1.454, allocations: 14.62 kB / 0.7511 GB, free: 133.9 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/1.454, allocations: 4.547 kB / 0.7511 GB, free: 133.9 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/1.454, allocations: 9.312 kB / 0.7511 GB, free: 133.9 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009662/1.455, allocations: 0.6502 MB / 0.7518 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.455, allocations: 7.453 kB / 0.7518 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/1.457, allocations: 310.9 kB / 0.7521 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.577e-05/1.457, allocations: 5.156 kB / 0.7521 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/1.457, allocations: 35.67 kB / 0.7521 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/1.457, allocations: 9.328 kB / 0.7521 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.457, allocations: 0.6562 kB / 0.7521 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003765/1.461, allocations: 1.91 MB / 0.754 GB, free: 133 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004127/1.461, allocations: 257 kB / 0.7542 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/1.461, allocations: 18.33 kB / 0.7542 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/1.462, allocations: 0.75 kB / 0.7542 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/1.462, allocations: 83.86 kB / 0.7543 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/1.462, allocations: 39.77 kB / 0.7544 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0001144/1.462, allocations: 124.6 kB / 0.7545 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2e-07/1.462, allocations: 0 / 0.7545 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0007596/1.463, allocations: 197.8 kB / 0.7547 GB, free: 132.8 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.0002238/1.463, allocations: 143.4 kB / 0.7548 GB, free: 132.7 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001518/1.465, allocations: 1.082 MB / 0.7559 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.465, allocations: 0 / 0.7559 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0005963/1.465, allocations: 0.5886 MB / 0.7564 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/1.466, allocations: 63.8 kB / 0.7565 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/1.469, allocations: 2.765 MB / 0.7592 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/1.469, allocations: 0.93 MB / 0.7601 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0007562/1.47, allocations: 381.1 kB / 0.7605 GB, free: 130 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/1.47, allocations: 91.12 kB / 0.7606 GB, free: 130 MB / 0.5421 GB Notification: Performance of SimCode: time 7.31e-07/1.47, allocations: 4 kB / 0.7606 GB, free: 130 MB / 0.5421 GB Notification: Performance of Templates: time 0.01152/1.482, allocations: 8.555 MB / 0.7689 GB, free: 123.2 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/jenkins/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