Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001135/0.001135, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001099/0.001099, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.152/1.152, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7609/0.7609, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 63.91 kB / 0.4923 GB, free: 12.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3885, 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.002068/0.3907, allocations: 1.379 MB / 0.5724 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006527/0.3913, allocations: 0.5128 MB / 0.5729 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.492e-05/0.3914, allocations: 1.281 kB / 0.5729 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.746e-05/0.3914, allocations: 7.938 kB / 0.573 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.3917, allocations: 51.92 kB / 0.573 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.81e-05/0.3918, allocations: 37.02 kB / 0.573 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003539/0.3922, allocations: 0.5525 MB / 0.5736 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.054e-05/0.3922, allocations: 10.47 kB / 0.5736 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.3924, allocations: 199.4 kB / 0.5738 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.3927, allocations: 279.8 kB / 0.574 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.208e-05/0.3928, allocations: 29.78 kB / 0.5741 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.3929, allocations: 60.5 kB / 0.5741 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.3931, allocations: 234.2 kB / 0.5744 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.3933, allocations: 235.6 kB / 0.5746 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.3936, allocations: 439.7 kB / 0.575 GB, free: 41.09 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3936, allocations: 1.688 kB / 0.575 GB, free: 41.09 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3936, allocations: 0 / 0.575 GB, free: 41.09 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.3936, allocations: 0 / 0.575 GB, free: 41.09 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.001399/0.3951, allocations: 0.8084 MB / 0.5758 GB, free: 40.48 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.3951, allocations: 17.23 kB / 0.5758 GB, free: 40.47 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.3952, allocations: 48.34 kB / 0.5759 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.3955, allocations: 335.5 kB / 0.5762 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.3955, allocations: 33.06 kB / 0.5762 GB, free: 40.12 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.149e-05/0.3956, allocations: 60.41 kB / 0.5763 GB, free: 40.1 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007159/0.3964, allocations: 0.5825 MB / 0.5768 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3964, allocations: 1.375 kB / 0.5768 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.3964, allocations: 26.73 kB / 0.5769 GB, free: 39.74 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.3964, allocations: 9.625 kB / 0.5769 GB, free: 39.74 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007091/0.3971, allocations: 0.5819 MB / 0.5774 GB, free: 39.51 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006476/0.3978, allocations: 0.6222 MB / 0.578 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002942/0.4008, allocations: 1.364 MB / 0.5794 GB, free: 38.44 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005684/0.4013, allocations: 455.7 kB / 0.5798 GB, free: 38.23 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001942/0.4015, allocations: 107.9 kB / 0.5799 GB, free: 38.12 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.4016, allocations: 40.62 kB / 0.58 GB, free: 38.07 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 2.414e-06/0.4016, allocations: 0 / 0.58 GB, free: 38.07 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.001832/0.4034, allocations: 1.346 MB / 0.5813 GB, free: 37.48 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.4035, allocations: 62.53 kB / 0.5813 GB, free: 37.41 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.4036, allocations: 180.9 kB / 0.5815 GB, free: 37.27 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.4036, allocations: 41.83 kB / 0.5815 GB, free: 37.23 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.4037, allocations: 106.3 kB / 0.5816 GB, free: 37.13 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.4039, allocations: 403.6 kB / 0.582 GB, free: 36.78 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.4041, allocations: 198.8 kB / 0.5822 GB, free: 36.66 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.92e-05/0.4042, allocations: 368.4 kB / 0.5826 GB, free: 36.31 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006179/0.4048, allocations: 474.1 kB / 0.583 GB, free: 36.11 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006154/0.4055, allocations: 489.6 kB / 0.5835 GB, free: 35.89 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.4067, allocations: 1.039 MB / 0.5845 GB, free: 35.41 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4067, allocations: 0 / 0.5845 GB, free: 35.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001354/0.4081, allocations: 1.249 MB / 0.5857 GB, free: 34.26 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4081, allocations: 4.781 kB / 0.5857 GB, free: 34.26 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4081, allocations: 7.938 kB / 0.5857 GB, free: 34.25 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.4081, allocations: 4 kB / 0.5857 GB, free: 34.25 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008681/0.409, allocations: 267.7 kB / 0.586 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.409, allocations: 4 kB / 0.586 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/0.4094, allocations: 79.06 kB / 0.5861 GB, free: 33.9 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/0.4094, 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.0001808/0.4096, allocations: 221.5 kB / 0.5863 GB, free: 33.64 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.753e-05/0.4097, allocations: 43.53 kB / 0.5864 GB, free: 33.59 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.4113, allocations: 1.388 MB / 0.5877 GB, free: 32.2 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.4114, allocations: 16 kB / 0.5877 GB, free: 32.18 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4114, allocations: 0 / 0.5877 GB, free: 32.18 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.4114, allocations: 11.95 kB / 0.5877 GB, free: 32.17 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006187/0.412, allocations: 0.7438 MB / 0.5885 GB, free: 31.38 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.412, allocations: 0 / 0.5885 GB, free: 31.38 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.4132, allocations: 307.6 kB / 0.5888 GB, free: 31.07 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.4132, allocations: 8 kB / 0.5888 GB, free: 31.07 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.111e-05/0.4133, allocations: 51.95 kB / 0.5888 GB, free: 31.02 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.4133, allocations: 4 kB / 0.5888 GB, free: 31.01 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4133, allocations: 0 / 0.5888 GB, free: 31.01 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.4152, allocations: 1.854 MB / 0.5906 GB, free: 29.14 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.4154, allocations: 252 kB / 0.5909 GB, free: 28.88 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.306e-05/0.4155, allocations: 35.98 kB / 0.5909 GB, free: 28.84 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.4158, allocations: 28 kB / 0.5909 GB, free: 28.81 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.416, allocations: 89.12 kB / 0.591 GB, free: 28.72 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.457e-05/0.416, allocations: 39.98 kB / 0.5911 GB, free: 28.68 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.13e-05/0.4161, allocations: 132.3 kB / 0.5912 GB, free: 28.55 MB / 462.3 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4161, allocations: 4 kB / 0.5912 GB, free: 28.55 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.00042/0.4165, allocations: 232 kB / 0.5914 GB, free: 28.32 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.0001943/0.4167, allocations: 155 kB / 0.5916 GB, free: 28.16 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002508/0.4192, allocations: 2.092 MB / 0.5936 GB, free: 26.07 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4193, allocations: 4 kB / 0.5936 GB, free: 26.07 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006099/0.4199, allocations: 0.6358 MB / 0.5942 GB, free: 25.43 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.4203, allocations: 103.9 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.002865/0.4232, allocations: 2.833 MB / 0.5971 GB, free: 22.47 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.4234, allocations: 0.9236 MB / 0.598 GB, free: 21.52 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006202/0.424, allocations: 368.8 kB / 0.5983 GB, free: 21.16 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/0.4243, allocations: 83.41 kB / 0.5984 GB, free: 21.08 MB / 462.3 MB Notification: Performance of SimCode: time 5.31e-07/0.4243, allocations: 0 / 0.5984 GB, free: 21.08 MB / 462.3 MB Notification: Performance of Templates: time 0.01139/0.4357, allocations: 9.771 MB / 0.608 GB, free: 11.36 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches