Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.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_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 109.3 kB / 16.62 MB, free: 6.961 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.001139/0.001139, allocations: 190 kB / 17.54 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.155/1.155, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7358/0.7358, allocations: 119.3 MB / 410.7 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 59.91 kB / 0.4918 GB, free: 12.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3684, allocations: 80.68 MB / 0.5706 GB, free: 43.87 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001758/0.3702, allocations: 1.445 MB / 0.572 GB, free: 42.73 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005727/0.3708, allocations: 0.5115 MB / 0.5725 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.3708, allocations: 1.25 kB / 0.5725 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.344e-05/0.3709, allocations: 11.92 kB / 0.5725 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.3711, allocations: 47.36 kB / 0.5725 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.145e-05/0.3712, allocations: 34.05 kB / 0.5726 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005623/0.3718, allocations: 1.02 MB / 0.5736 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.3718, allocations: 17.8 kB / 0.5736 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.3721, allocations: 363.8 kB / 0.5739 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004773/0.3726, allocations: 0.5533 MB / 0.5745 GB, free: 41.24 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.3727, allocations: 58.09 kB / 0.5745 GB, free: 41.24 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.3728, allocations: 78.17 kB / 0.5746 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000268/0.3731, allocations: 460.6 kB / 0.575 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.3734, allocations: 459 kB / 0.5755 GB, free: 40.68 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004585/0.3739, allocations: 0.815 MB / 0.5763 GB, free: 40.2 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3739, allocations: 0 / 0.5763 GB, free: 40.2 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3739, allocations: 0 / 0.5763 GB, free: 40.2 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.3739, allocations: 1.375 kB / 0.5763 GB, free: 40.2 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002425/0.3764, allocations: 1.29 MB / 0.5775 GB, free: 39.32 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.3764, allocations: 13.08 kB / 0.5775 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.3766, allocations: 88.19 kB / 0.5776 GB, free: 39.28 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.377, allocations: 469.8 kB / 0.5781 GB, free: 38.9 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/0.3771, allocations: 62.19 kB / 0.5781 GB, free: 38.87 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.3773, allocations: 119.3 kB / 0.5782 GB, free: 38.82 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.3787, allocations: 1.137 MB / 0.5794 GB, free: 38.18 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.3787, allocations: 0 / 0.5794 GB, free: 38.18 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.381e-05/0.3788, allocations: 34.31 kB / 0.5794 GB, free: 38.16 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.3788, allocations: 18.94 kB / 0.5794 GB, free: 38.16 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.3803, allocations: 1.258 MB / 0.5806 GB, free: 37.7 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.3814, allocations: 1.087 MB / 0.5817 GB, free: 36.96 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005314/0.3867, allocations: 2.786 MB / 0.5844 GB, free: 35.35 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008887/0.3876, allocations: 0.885 MB / 0.5853 GB, free: 34.46 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001962/0.3878, allocations: 131 kB / 0.5854 GB, free: 34.32 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.3878, allocations: 56.5 kB / 0.5855 GB, free: 34.25 MB / 462.3 MB Notification: Performance of pre-optimization done (n=203): time 2.535e-06/0.3878, allocations: 4 kB / 0.5855 GB, free: 34.25 MB / 462.3 MB Notification: Performance of matching and sorting (n=203): time 0.00298/0.3908, allocations: 2.648 MB / 0.5881 GB, free: 31.6 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.3909, allocations: 69.41 kB / 0.5881 GB, free: 31.52 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.391, allocations: 233 kB / 0.5883 GB, free: 31.29 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.338e-05/0.3911, allocations: 61.64 kB / 0.5884 GB, free: 31.22 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.3911, allocations: 135.3 kB / 0.5885 GB, free: 31.08 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003107/0.3914, allocations: 0.7778 MB / 0.5893 GB, free: 30.29 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003654/0.3918, allocations: 376.3 kB / 0.5896 GB, free: 29.92 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.503e-05/0.3918, allocations: 326 kB / 0.59 GB, free: 29.59 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.3929, allocations: 0.9177 MB / 0.5909 GB, free: 28.67 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.3939, allocations: 0.9525 MB / 0.5918 GB, free: 27.71 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/0.396, allocations: 2.07 MB / 0.5938 GB, free: 25.61 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.396, allocations: 0 / 0.5938 GB, free: 25.61 MB / 462.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002551/0.3986, allocations: 2.43 MB / 0.5962 GB, free: 23.13 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3986, allocations: 4 kB / 0.5962 GB, free: 23.13 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3986, allocations: 0 / 0.5962 GB, free: 23.13 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3986, allocations: 8 kB / 0.5962 GB, free: 23.12 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.4003, allocations: 0.5189 MB / 0.5967 GB, free: 22.6 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.4003, allocations: 12 kB / 0.5967 GB, free: 22.59 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005831/0.4009, allocations: 146.3 kB / 0.5968 GB, free: 22.45 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.401, allocations: 75.97 kB / 0.5969 GB, free: 22.37 MB / 462.3 MB 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 (284): * Single equations (assignments): 284 * 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.0002969/0.4013, allocations: 317.2 kB / 0.5972 GB, free: 22.05 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.4014, allocations: 86.97 kB / 0.5973 GB, free: 21.96 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00315/0.4046, allocations: 2.716 MB / 0.6 GB, free: 19.2 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.4046, allocations: 24 kB / 0.6 GB, free: 19.17 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4046, allocations: 7.984 kB / 0.6 GB, free: 19.16 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.4047, allocations: 15.95 kB / 0.6 GB, free: 19.15 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.4058, allocations: 1.334 MB / 0.6013 GB, free: 17.76 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.4058, allocations: 0 / 0.6013 GB, free: 17.76 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002326/0.4082, allocations: 0.5853 MB / 0.6019 GB, free: 17.17 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.4082, allocations: 8 kB / 0.6019 GB, free: 17.16 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/0.4083, allocations: 95.92 kB / 0.602 GB, free: 17.07 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.4083, allocations: 8 kB / 0.602 GB, free: 17.06 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4083, allocations: 3.938 kB / 0.602 GB, free: 17.06 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003594/0.4119, allocations: 3.619 MB / 0.6055 GB, free: 13.36 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/0.4123, allocations: 418.8 kB / 0.6059 GB, free: 12.93 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.4125, allocations: 75.95 kB / 0.606 GB, free: 12.86 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005921/0.4131, allocations: 44 kB / 0.606 GB, free: 12.82 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/0.4133, allocations: 166 kB / 0.6062 GB, free: 12.65 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.4134, allocations: 83.97 kB / 0.6063 GB, free: 12.57 MB / 462.3 MB Notification: Performance of sorting global known variables: time 8.15e-05/0.4135, allocations: 164.5 kB / 0.6064 GB, free: 12.41 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4135, allocations: 3.938 kB / 0.6064 GB, free: 12.41 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005756/0.4141, allocations: 456 kB / 0.6069 GB, free: 11.96 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (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],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],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],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40]) * 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 (284): * Single equations (assignments): 284 * 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.0002432/0.4144, allocations: 213 kB / 0.6071 GB, free: 11.75 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.007148/0.4215, allocations: 5.872 MB / 0.6128 GB, free: 5.844 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4215, allocations: 0 / 0.6128 GB, free: 5.844 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.4227, allocations: 1.265 MB / 0.614 GB, free: 4.574 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.4233, allocations: 204.9 kB / 0.6142 GB, free: 4.375 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005705/0.429, allocations: 5.933 MB / 0.62 GB, free: 14.39 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/0.4296, allocations: 1.155 MB / 0.6212 GB, free: 13.21 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.001459/0.4311, allocations: 0.7356 MB / 0.6219 GB, free: 12.47 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000508/0.4316, allocations: 167.4 kB / 0.622 GB, free: 12.3 MB / 478.3 MB Notification: Performance of SimCode: time 3.4e-07/0.4316, allocations: 0 / 0.622 GB, free: 12.3 MB / 478.3 MB Notification: Performance of Templates: time 0.0246/0.4562, allocations: 18.83 MB / 0.6404 GB, free: 9.531 MB / 494.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches