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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 107.3 kB / 16.92 MB, free: 6.117 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.001118/0.001118, allocations: 191.3 kB / 17.85 MB, free: 5.277 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.202/1.202, allocations: 222.9 MB / 241.5 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8189/0.8189, allocations: 119.3 MB / 411 MB, free: 9.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 63.91 kB / 0.4923 GB, free: 12.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3918, allocations: 80.68 MB / 0.5711 GB, free: 43.77 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001907/0.3937, allocations: 1.387 MB / 0.5725 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005955/0.3944, allocations: 0.5127 MB / 0.573 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.57e-05/0.3944, allocations: 5.156 kB / 0.573 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.702e-05/0.3945, allocations: 7.922 kB / 0.573 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.3947, allocations: 47.31 kB / 0.573 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.061e-05/0.3948, allocations: 41.28 kB / 0.5731 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003607/0.3952, allocations: 0.5532 MB / 0.5736 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.3953, allocations: 5.75 kB / 0.5736 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.3954, allocations: 203.1 kB / 0.5738 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.3957, allocations: 280.3 kB / 0.5741 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.176e-05/0.3958, allocations: 29.62 kB / 0.5741 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.396, allocations: 57.41 kB / 0.5741 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.3961, allocations: 233.4 kB / 0.5744 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.3963, allocations: 243.9 kB / 0.5746 GB, free: 41.33 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.3966, allocations: 435.9 kB / 0.575 GB, free: 41.08 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.3966, allocations: 1.094 kB / 0.575 GB, free: 41.08 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3966, allocations: 0 / 0.575 GB, free: 41.08 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.3967, allocations: 0 / 0.575 GB, free: 41.08 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001391/0.3981, allocations: 0.8134 MB / 0.5758 GB, free: 40.46 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/0.3981, allocations: 12.8 kB / 0.5758 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.3982, allocations: 48.16 kB / 0.5759 GB, free: 40.44 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.3985, allocations: 336.1 kB / 0.5762 GB, free: 40.13 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.3985, allocations: 29.19 kB / 0.5762 GB, free: 40.12 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.825e-05/0.3986, allocations: 63.91 kB / 0.5763 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007034/0.3993, allocations: 0.5869 MB / 0.5769 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3993, allocations: 0 / 0.5769 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.941e-05/0.3994, allocations: 20.12 kB / 0.5769 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.3994, allocations: 13.62 kB / 0.5769 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007185/0.4001, allocations: 0.5818 MB / 0.5775 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006314/0.4008, allocations: 0.6138 MB / 0.5781 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/0.4036, allocations: 1.36 MB / 0.5794 GB, free: 38.44 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005155/0.4041, allocations: 459.7 kB / 0.5798 GB, free: 38.23 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.4043, allocations: 108 kB / 0.5799 GB, free: 38.12 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.4043, allocations: 48.52 kB / 0.58 GB, free: 38.07 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 1.903e-06/0.4043, allocations: 0 / 0.58 GB, free: 38.07 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.0018/0.4061, allocations: 1.347 MB / 0.5813 GB, free: 37.47 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.4061, allocations: 62.66 kB / 0.5813 GB, free: 37.41 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.4063, allocations: 176.5 kB / 0.5815 GB, free: 37.27 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.4063, allocations: 41.77 kB / 0.5816 GB, free: 37.23 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.919e-05/0.4063, allocations: 107.2 kB / 0.5817 GB, free: 37.12 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.4065, allocations: 402.7 kB / 0.582 GB, free: 36.77 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.4067, allocations: 198.8 kB / 0.5822 GB, free: 36.66 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.73e-05/0.4068, allocations: 367.3 kB / 0.5826 GB, free: 36.31 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005824/0.4074, allocations: 480.1 kB / 0.583 GB, free: 36.1 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/0.408, allocations: 488.2 kB / 0.5835 GB, free: 35.88 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.4092, allocations: 1.043 MB / 0.5845 GB, free: 35.4 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4092, allocations: 1.25 kB / 0.5845 GB, free: 35.4 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001353/0.4106, allocations: 1.246 MB / 0.5857 GB, free: 34.26 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.4106, allocations: 4 kB / 0.5857 GB, free: 34.25 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4106, allocations: 0 / 0.5857 GB, free: 34.25 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.4106, allocations: 4 kB / 0.5857 GB, free: 34.25 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008693/0.4115, allocations: 271.6 kB / 0.586 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.4115, allocations: 4 kB / 0.586 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.4119, allocations: 87.06 kB / 0.5861 GB, free: 33.89 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.527e-05/0.4119, allocations: 39.98 kB / 0.5861 GB, free: 33.86 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 (144): * Single equations (assignments): 144 * 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.0001654/0.4121, allocations: 209.5 kB / 0.5863 GB, free: 33.64 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.623e-05/0.4122, allocations: 47.47 kB / 0.5864 GB, free: 33.59 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.4139, allocations: 1.392 MB / 0.5877 GB, free: 32.19 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.4139, allocations: 16 kB / 0.5878 GB, free: 32.18 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4139, allocations: 0 / 0.5878 GB, free: 32.18 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.4139, allocations: 7.969 kB / 0.5878 GB, free: 32.17 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006374/0.4145, allocations: 0.7438 MB / 0.5885 GB, free: 31.38 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4146, allocations: 0 / 0.5885 GB, free: 31.38 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.4158, allocations: 303.7 kB / 0.5888 GB, free: 31.08 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.4158, allocations: 4 kB / 0.5888 GB, free: 31.07 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.097e-05/0.4159, allocations: 47.97 kB / 0.5888 GB, free: 31.03 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.4159, allocations: 4 kB / 0.5888 GB, free: 31.02 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4159, allocations: 8 kB / 0.5888 GB, free: 31.02 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.4179, allocations: 1.858 MB / 0.5906 GB, free: 29.14 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002411/0.4181, allocations: 248 kB / 0.5909 GB, free: 28.88 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.4182, allocations: 43.98 kB / 0.5909 GB, free: 28.84 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/0.4186, allocations: 20 kB / 0.5909 GB, free: 28.82 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.4187, allocations: 89.19 kB / 0.591 GB, free: 28.73 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.875e-05/0.4188, allocations: 39.98 kB / 0.5911 GB, free: 28.69 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.562e-05/0.4189, allocations: 136.3 kB / 0.5912 GB, free: 28.55 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4189, allocations: 0 / 0.5912 GB, free: 28.55 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003951/0.4193, allocations: 232 kB / 0.5914 GB, free: 28.33 MB / 462.3 MB 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 () * Number of clocked 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 (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.0001719/0.4194, allocations: 159 kB / 0.5916 GB, free: 28.16 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002404/0.4218, allocations: 2.092 MB / 0.5936 GB, free: 26.07 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4219, allocations: 0 / 0.5936 GB, free: 26.07 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006098/0.4225, allocations: 0.6358 MB / 0.5942 GB, free: 25.44 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.4229, allocations: 110.2 kB / 0.5943 GB, free: 25.33 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.4257, allocations: 2.824 MB / 0.5971 GB, free: 22.48 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.426, allocations: 0.9194 MB / 0.598 GB, free: 21.53 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006191/0.4266, allocations: 368.8 kB / 0.5984 GB, free: 21.17 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/0.4268, allocations: 95.34 kB / 0.5984 GB, free: 21.08 MB / 462.3 MB Notification: Performance of SimCode: time 2.1e-07/0.4268, allocations: 0 / 0.5984 GB, free: 21.08 MB / 462.3 MB Notification: Performance of Templates: time 0.01117/0.438, allocations: 9.766 MB / 0.608 GB, free: 11.36 MB / 462.3 MB 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches