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.0009461/0.0009461, allocations: 179.5 kB / 13.63 MB, free: 1.684 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.238/1.238, allocations: 221.3 MB / 235.5 MB, free: 2.91 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.0007965/0.0007965, allocations: 90.3 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9322/0.9322, allocations: 120.5 MB / 457.9 MB, free: 7.035 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.459e-05, allocations: 4 kB / 0.5367 GB, free: 11.2 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5454/0.5454, allocations: 82.84 MB / 0.6176 GB, free: 9.266 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.7011, allocations: 125.8 MB / 0.7405 GB, free: 11.31 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001902/0.7013, allocations: 75.89 kB / 0.7405 GB, free: 11.23 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.02102/0.7224, allocations: 6.767 MB / 0.7471 GB, free: 4.453 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7224, allocations: 0 / 0.7471 GB, free: 4.453 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.598e-05/0.7224, allocations: 12 kB / 0.7471 GB, free: 4.441 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.001534/0.724, allocations: 0.8184 MB / 0.7479 GB, free: 3.578 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.724, allocations: 8.031 kB / 0.748 GB, free: 3.57 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.7241, allocations: 55.39 kB / 0.748 GB, free: 3.516 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000694/0.7248, allocations: 447.1 kB / 0.7484 GB, free: 3.039 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.7249, allocations: 33 kB / 0.7485 GB, free: 3.004 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.725, allocations: 63.8 kB / 0.7485 GB, free: 2.941 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009043/0.7259, allocations: 0.5724 MB / 0.7491 GB, free: 2.363 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.7259, allocations: 0 / 0.7491 GB, free: 2.363 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.211e-05/0.726, allocations: 16 kB / 0.7491 GB, free: 2.348 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.726, allocations: 8 kB / 0.7491 GB, free: 2.34 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008316/0.7268, allocations: 0.5777 MB / 0.7497 GB, free: 1.766 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007689/0.7276, allocations: 0.6216 MB / 0.7503 GB, free: 1.09 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5417/1.269, allocations: 1.325 MB / 0.7516 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/1.27, allocations: 443.3 kB / 0.752 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002275/1.271, allocations: 112 kB / 0.7521 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/1.271, allocations: 43.88 kB / 0.7521 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=103): time 4.458e-06/1.271, allocations: 3.609 kB / 0.7521 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of matching and sorting (n=103): time 0.001744/1.272, allocations: 0.9569 MB / 0.7531 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/1.272, allocations: 62.86 kB / 0.7531 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/1.273, allocations: 156.6 kB / 0.7533 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/1.273, allocations: 43.45 kB / 0.7533 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/1.273, allocations: 112.2 kB / 0.7534 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/1.273, allocations: 398.2 kB / 0.7538 GB, free: 130 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/1.273, allocations: 27.94 kB / 0.7538 GB, free: 130 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.273, allocations: 364.2 kB / 0.7542 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008102/1.274, allocations: 479.9 kB / 0.7546 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007622/1.275, allocations: 488.5 kB / 0.7551 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008835/1.276, allocations: 0.5597 MB / 0.7557 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/1.276, allocations: 0 / 0.7557 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00194/1.278, allocations: 1.258 MB / 0.7569 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.278, allocations: 5.75 kB / 0.7569 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.278, allocations: 0 / 0.7569 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/1.278, allocations: 8.375 kB / 0.7569 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/1.279, allocations: 286.6 kB / 0.7572 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/1.279, allocations: 4.312 kB / 0.7572 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/1.28, allocations: 74.12 kB / 0.7573 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.038e-05/1.28, allocations: 41.22 kB / 0.7573 GB, free: 128.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.0001511/1.28, allocations: 156.2 kB / 0.7574 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.564e-05/1.28, allocations: 50.56 kB / 0.7575 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/1.282, allocations: 1.369 MB / 0.7588 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/1.282, allocations: 14.28 kB / 0.7588 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.282, allocations: 3.719 kB / 0.7588 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/1.282, allocations: 7.594 kB / 0.7588 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/1.283, allocations: 0.7443 MB / 0.7596 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.284, allocations: 2.109 kB / 0.7596 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/1.285, allocations: 320.8 kB / 0.7599 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.561e-05/1.285, allocations: 9.578 kB / 0.7599 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.491e-05/1.286, allocations: 47.17 kB / 0.7599 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.318e-06/1.286, allocations: 5.25 kB / 0.7599 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/1.286, allocations: 3 kB / 0.7599 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/1.288, allocations: 1.813 MB / 0.7617 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/1.288, allocations: 258 kB / 0.762 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.354e-05/1.288, allocations: 37.42 kB / 0.762 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/1.289, allocations: 31.12 kB / 0.762 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/1.289, allocations: 80.52 kB / 0.7621 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.233e-05/1.289, allocations: 44.59 kB / 0.7621 GB, free: 127 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 9.149e-05/1.289, allocations: 123.4 kB / 0.7623 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.6e-07/1.289, allocations: 0 / 0.7623 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004787/1.289, allocations: 238.8 kB / 0.7625 GB, free: 126.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.0001995/1.29, allocations: 170.2 kB / 0.7627 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.00135/1.291, allocations: 1.135 MB / 0.7638 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.291, allocations: 0 / 0.7638 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0006412/1.292, allocations: 0.6201 MB / 0.7644 GB, free: 126.2 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/1.292, allocations: 89.67 kB / 0.7645 GB, free: 126.2 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/1.295, allocations: 2.824 MB / 0.7672 GB, free: 124.4 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/1.295, allocations: 0.9386 MB / 0.7681 GB, free: 123.5 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0007771/1.296, allocations: 373.9 kB / 0.7685 GB, free: 123.2 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/1.296, allocations: 94.89 kB / 0.7686 GB, free: 123.1 MB / 0.5421 GB Notification: Performance of SimCode: time 7.31e-07/1.296, allocations: 0 / 0.7686 GB, free: 123.1 MB / 0.5421 GB Notification: Performance of Templates: time 0.01182/1.308, allocations: 8.831 MB / 0.7772 GB, free: 115.1 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