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.001227/0.001227, allocations: 116.5 kB / 17.69 MB, free: 5.434 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.001223/0.001223, allocations: 191 kB / 18.63 MB, free: 4.5 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.229/1.229, allocations: 222.9 MB / 242.3 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.8269/0.8269, allocations: 119.3 MB / 411.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.001351, allocations: 59.91 kB / 0.4937 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4314, allocations: 80.68 MB / 0.5725 GB, free: 43.9 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002343/0.4338, allocations: 1.381 MB / 0.5739 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007599/0.4345, allocations: 0.5157 MB / 0.5744 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.816e-05/0.4346, allocations: 1.219 kB / 0.5744 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.061e-05/0.4347, allocations: 7.922 kB / 0.5744 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.4349, allocations: 58.83 kB / 0.5744 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.4351, allocations: 37.95 kB / 0.5745 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003925/0.4355, allocations: 0.5529 MB / 0.575 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.355e-05/0.4355, allocations: 7.094 kB / 0.575 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.4357, allocations: 197.7 kB / 0.5752 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003244/0.4361, allocations: 283.9 kB / 0.5755 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.4361, allocations: 30.81 kB / 0.5755 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.4363, allocations: 51.66 kB / 0.5756 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.4365, allocations: 238.7 kB / 0.5758 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.4367, allocations: 230.9 kB / 0.576 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.4371, allocations: 447.8 kB / 0.5764 GB, free: 41.22 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4371, allocations: 1.188 kB / 0.5764 GB, free: 41.22 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4371, allocations: 4 kB / 0.5764 GB, free: 41.22 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.4371, allocations: 0 / 0.5764 GB, free: 41.22 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.001551/0.4387, allocations: 0.813 MB / 0.5772 GB, free: 40.61 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.4387, allocations: 17.05 kB / 0.5773 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.4389, allocations: 47.69 kB / 0.5773 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.4393, allocations: 328.6 kB / 0.5776 GB, free: 40.28 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.4393, allocations: 33.28 kB / 0.5776 GB, free: 40.26 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.4394, allocations: 60.27 kB / 0.5777 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007857/0.4402, allocations: 0.5827 MB / 0.5783 GB, free: 39.89 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.4403, allocations: 0 / 0.5783 GB, free: 39.89 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.82e-05/0.4403, allocations: 18.73 kB / 0.5783 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.4403, allocations: 11 kB / 0.5783 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008837/0.4412, allocations: 0.5851 MB / 0.5789 GB, free: 39.65 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007339/0.442, allocations: 0.6226 MB / 0.5795 GB, free: 39.18 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003031/0.445, allocations: 1.363 MB / 0.5808 GB, free: 38.57 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000604/0.4456, allocations: 456.3 kB / 0.5812 GB, free: 38.36 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.4459, allocations: 104 kB / 0.5813 GB, free: 38.26 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.4459, allocations: 43.31 kB / 0.5814 GB, free: 38.21 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 3.347e-06/0.4459, allocations: 5.219 kB / 0.5814 GB, free: 38.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.002075/0.448, allocations: 1.342 MB / 0.5827 GB, free: 37.61 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.448, allocations: 67.44 kB / 0.5828 GB, free: 37.55 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.4482, allocations: 176.4 kB / 0.5829 GB, free: 37.41 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.4482, allocations: 45.02 kB / 0.583 GB, free: 37.36 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.4483, allocations: 107.7 kB / 0.5831 GB, free: 37.26 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/0.4485, allocations: 402.9 kB / 0.5835 GB, free: 36.91 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.4487, allocations: 195.1 kB / 0.5837 GB, free: 36.8 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.453e-05/0.4488, allocations: 371 kB / 0.584 GB, free: 36.45 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006171/0.4494, allocations: 471.6 kB / 0.5845 GB, free: 36.24 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006166/0.45, allocations: 490 kB / 0.5849 GB, free: 36.03 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.4512, allocations: 1.042 MB / 0.5859 GB, free: 35.36 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4513, allocations: 4 kB / 0.5859 GB, free: 35.35 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001347/0.4526, allocations: 1.246 MB / 0.5872 GB, free: 34.1 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4526, allocations: 4.781 kB / 0.5872 GB, free: 34.09 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4526, allocations: 0 / 0.5872 GB, free: 34.09 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.4527, allocations: 8 kB / 0.5872 GB, free: 34.09 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009065/0.4536, allocations: 263.7 kB / 0.5874 GB, free: 33.83 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.4536, allocations: 15.97 kB / 0.5874 GB, free: 33.81 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/0.4539, allocations: 79 kB / 0.5875 GB, free: 33.73 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/0.454, allocations: 43.98 kB / 0.5876 GB, free: 33.69 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.0001746/0.4542, allocations: 217.5 kB / 0.5878 GB, free: 33.47 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/0.4542, allocations: 39.53 kB / 0.5878 GB, free: 33.43 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.4559, allocations: 1.384 MB / 0.5892 GB, free: 32.04 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.456, allocations: 16 kB / 0.5892 GB, free: 32.02 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.456, allocations: 0 / 0.5892 GB, free: 32.02 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.456, allocations: 3.984 kB / 0.5892 GB, free: 32.02 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006096/0.4566, allocations: 0.7515 MB / 0.5899 GB, free: 31.21 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.4566, allocations: 3.984 kB / 0.5899 GB, free: 31.21 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.4579, allocations: 299.7 kB / 0.5902 GB, free: 30.92 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-06/0.4579, allocations: 4 kB / 0.5902 GB, free: 30.91 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-05/0.4579, allocations: 47.95 kB / 0.5902 GB, free: 30.87 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.458, allocations: 12 kB / 0.5903 GB, free: 30.86 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.458, allocations: 4 kB / 0.5903 GB, free: 30.85 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.4599, allocations: 1.854 MB / 0.5921 GB, free: 28.98 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.4602, allocations: 252 kB / 0.5923 GB, free: 28.71 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.155e-05/0.4603, allocations: 39.97 kB / 0.5924 GB, free: 28.68 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.4606, allocations: 24 kB / 0.5924 GB, free: 28.65 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.4607, allocations: 81.2 kB / 0.5925 GB, free: 28.57 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.855e-05/0.4608, allocations: 39.98 kB / 0.5925 GB, free: 28.53 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.649e-05/0.4609, allocations: 136.3 kB / 0.5926 GB, free: 28.4 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4609, allocations: 0 / 0.5926 GB, free: 28.4 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.00039/0.4613, allocations: 239.9 kB / 0.5928 GB, free: 28.16 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.0001767/0.4614, allocations: 159 kB / 0.593 GB, free: 28 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.4627, allocations: 1.163 MB / 0.5941 GB, free: 26.84 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4627, allocations: 0 / 0.5941 GB, free: 26.84 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006174/0.4633, allocations: 0.6319 MB / 0.5948 GB, free: 26.21 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.4637, allocations: 99.95 kB / 0.5948 GB, free: 26.11 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.4664, allocations: 2.816 MB / 0.5976 GB, free: 23.26 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.4667, allocations: 0.9194 MB / 0.5985 GB, free: 22.32 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005897/0.4673, allocations: 372.8 kB / 0.5989 GB, free: 21.95 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.4675, allocations: 87.41 kB / 0.5989 GB, free: 21.87 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.4675, allocations: 3.938 kB / 0.5989 GB, free: 21.86 MB / 462.3 MB Notification: Performance of Templates: time 0.01143/0.479, allocations: 9.759 MB / 0.6085 GB, free: 12.16 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 -s gbode -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