Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 109.1 kB / 17.74 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002413/0.002412, allocations: 183 kB / 18.67 MB, free: 4.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.428/2.428, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.813/1.813, allocations: 119.3 MB / 411.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 70.75 kB / 0.573 GB, free: 38.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3301, allocations: 80.68 MB / 0.6518 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.004232/0.3344, allocations: 1.39 MB / 0.6532 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.336, allocations: 0.5146 MB / 0.6537 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.3361, allocations: 0 / 0.6537 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.3363, allocations: 19.86 kB / 0.6537 GB, free: 9.641 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004872/0.3369, allocations: 43.81 kB / 0.6537 GB, free: 9.598 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.3371, allocations: 43.81 kB / 0.6538 GB, free: 9.555 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.3375, allocations: 191.6 kB / 0.654 GB, free: 9.367 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 8.352e-05/0.3376, allocations: 12.12 kB / 0.654 GB, free: 9.355 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.3379, allocations: 75.81 kB / 0.654 GB, free: 9.281 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003562/0.3383, allocations: 107.7 kB / 0.6541 GB, free: 9.176 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.682e-05/0.3383, allocations: 8 kB / 0.6542 GB, free: 9.168 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.3385, allocations: 27.98 kB / 0.6542 GB, free: 9.141 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.3387, allocations: 59.86 kB / 0.6542 GB, free: 9.082 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.3389, allocations: 75.62 kB / 0.6543 GB, free: 9.008 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.3392, allocations: 143.5 kB / 0.6544 GB, free: 8.867 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.3393, allocations: 4 kB / 0.6545 GB, free: 8.863 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3393, allocations: 0 / 0.6545 GB, free: 8.863 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.3393, allocations: 0 / 0.6545 GB, free: 8.863 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001391/0.3407, allocations: 475.2 kB / 0.6549 GB, free: 8.348 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.3408, allocations: 11.89 kB / 0.6549 GB, free: 8.336 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.677e-05/0.3409, allocations: 12.84 kB / 0.6549 GB, free: 8.324 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.3413, allocations: 222.5 kB / 0.6551 GB, free: 8.07 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.3413, allocations: 16.23 kB / 0.6552 GB, free: 8.055 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.92e-05/0.3414, allocations: 12 kB / 0.6552 GB, free: 8.043 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005214/0.342, allocations: 179.4 kB / 0.6553 GB, free: 7.863 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.342, allocations: 0 / 0.6553 GB, free: 7.863 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.342, allocations: 4 kB / 0.6553 GB, free: 7.859 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.3421, allocations: 4 kB / 0.6553 GB, free: 7.855 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000456/0.3425, allocations: 144.6 kB / 0.6555 GB, free: 7.715 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.3431, allocations: 290.2 kB / 0.6558 GB, free: 7.383 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.3447, allocations: 358.6 kB / 0.6561 GB, free: 7.023 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.345, allocations: 132.7 kB / 0.6562 GB, free: 6.891 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002852/0.3453, allocations: 93.08 kB / 0.6563 GB, free: 6.781 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.3453, allocations: 30.56 kB / 0.6563 GB, free: 6.742 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=28): time 2.785e-06/0.3453, allocations: 0 / 0.6563 GB, free: 6.742 MB / 0.4983 GB Notification: Performance of matching and sorting (n=28): time 0.001031/0.3464, allocations: 370.1 kB / 0.6567 GB, free: 6.375 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.402e-05/0.3465, allocations: 55.41 kB / 0.6568 GB, free: 6.309 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.3466, allocations: 137.7 kB / 0.6569 GB, free: 6.164 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.3467, allocations: 37.7 kB / 0.6569 GB, free: 6.121 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.3468, allocations: 88.7 kB / 0.657 GB, free: 6.031 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.3469, allocations: 102.5 kB / 0.6571 GB, free: 5.93 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.3471, allocations: 62.02 kB / 0.6572 GB, free: 5.859 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.3473, allocations: 334.8 kB / 0.6575 GB, free: 5.523 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004438/0.3517, allocations: 124.5 kB / 0.6576 GB, free: 5.402 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.3521, allocations: 129.2 kB / 0.6577 GB, free: 5.277 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008164/0.353, allocations: 275 kB / 0.658 GB, free: 5.008 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.353, allocations: 4 kB / 0.658 GB, free: 5.004 MB / 0.4983 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009046/0.3539, allocations: 357.2 kB / 0.6583 GB, free: 4.648 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.3539, allocations: 4 kB / 0.6583 GB, free: 4.645 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.354, allocations: 0 / 0.6583 GB, free: 4.645 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.224e-05/0.354, allocations: 4 kB / 0.6583 GB, free: 4.641 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/0.3545, allocations: 75.91 kB / 0.6584 GB, free: 4.566 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.3545, allocations: 0 / 0.6584 GB, free: 4.566 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.3547, allocations: 15.84 kB / 0.6584 GB, free: 4.551 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.3548, allocations: 11.98 kB / 0.6584 GB, free: 4.539 MB / 0.4983 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002186/0.355, allocations: 146.6 kB / 0.6586 GB, free: 4.387 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.355, allocations: 15.81 kB / 0.6586 GB, free: 4.371 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005276/0.3603, allocations: 403.3 kB / 0.659 GB, free: 3.965 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.3604, allocations: 4 kB / 0.659 GB, free: 3.961 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.3604, allocations: 0 / 0.659 GB, free: 3.961 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.3604, allocations: 4 kB / 0.659 GB, free: 3.957 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/0.361, allocations: 313.3 kB / 0.6593 GB, free: 3.602 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3611, allocations: 3.938 kB / 0.6593 GB, free: 3.598 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006708/0.3617, allocations: 87.89 kB / 0.6594 GB, free: 3.512 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.3618, allocations: 0 / 0.6594 GB, free: 3.512 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-05/0.3618, allocations: 12 kB / 0.6594 GB, free: 3.5 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-06/0.3618, allocations: 0 / 0.6594 GB, free: 3.5 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.3619, allocations: 0 / 0.6594 GB, free: 3.5 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.3631, allocations: 0.5374 MB / 0.6599 GB, free: 2.941 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.3634, allocations: 136.7 kB / 0.66 GB, free: 2.789 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.3634, allocations: 11.94 kB / 0.66 GB, free: 2.777 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.3636, allocations: 12 kB / 0.6601 GB, free: 2.766 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.3637, allocations: 19.97 kB / 0.6601 GB, free: 2.746 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/0.3638, allocations: 15.98 kB / 0.6601 GB, free: 2.73 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001142/0.3639, allocations: 98.23 kB / 0.6602 GB, free: 2.637 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3639, allocations: 0 / 0.6602 GB, free: 2.637 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0005232/0.3645, allocations: 68 kB / 0.6603 GB, free: 2.57 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002738/0.3647, allocations: 119.7 kB / 0.6604 GB, free: 2.445 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0008293/0.3656, allocations: 311.9 kB / 0.6607 GB, free: 2.141 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3656, allocations: 0 / 0.6607 GB, free: 2.141 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0004158/0.366, allocations: 163.8 kB / 0.6608 GB, free: 1.98 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004654/0.3665, allocations: 31.98 kB / 0.6609 GB, free: 1.949 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.3688, allocations: 0.8799 MB / 0.6617 GB, free: 1.039 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.3693, allocations: 0.7488 MB / 0.6624 GB, free: 268 kB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.3695, allocations: 31.42 kB / 0.6625 GB, free: 236 kB / 0.4983 GB Notification: Performance of SimCode: time 7.91e-07/0.3695, allocations: 4 kB / 0.6625 GB, free: 232 kB / 0.4983 GB Notification: Performance of Templates: time 0.01105/0.3806, allocations: 3.018 MB / 0.6654 GB, free: 13.22 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches