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.0007661/0.0007664, allocations: 90.67 kB / 16.65 MB, free: 6.59 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.0008236/0.0008236, allocations: 185.2 kB / 17.57 MB, free: 6.199 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.26/1.26, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.89/0.89, allocations: 120.5 MB / 413.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.0002971, allocations: 8 kB / 0.4962 GB, free: 10.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4681/0.4684, allocations: 82.83 MB / 0.5771 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001124/0.4696, allocations: 1.106 MB / 0.5782 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006792/0.4703, allocations: 0.5077 MB / 0.5787 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.4703, allocations: 4 kB / 0.5787 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.455e-05/0.4704, allocations: 5.359 kB / 0.5787 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.4706, allocations: 50.31 kB / 0.5788 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.524e-05/0.4707, allocations: 33.45 kB / 0.5788 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.4711, allocations: 0.5802 MB / 0.5794 GB, free: 40.74 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.4712, allocations: 5.688 kB / 0.5794 GB, free: 40.74 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.4714, allocations: 202.3 kB / 0.5796 GB, free: 40.65 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003529/0.4717, allocations: 300.6 kB / 0.5799 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.931e-05/0.4718, allocations: 29.53 kB / 0.5799 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.4719, allocations: 52.56 kB / 0.5799 GB, free: 40.47 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.4721, allocations: 242.1 kB / 0.5802 GB, free: 40.33 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002104/0.4723, allocations: 260.9 kB / 0.5804 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.4727, allocations: 432.1 kB / 0.5808 GB, free: 39.9 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4727, allocations: 1.281 kB / 0.5808 GB, free: 39.9 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4727, allocations: 0 / 0.5808 GB, free: 39.9 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.4727, allocations: 0 / 0.5808 GB, free: 39.9 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.001496/0.4742, allocations: 0.8546 MB / 0.5817 GB, free: 39.27 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.4742, allocations: 8.844 kB / 0.5817 GB, free: 39.27 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.906e-05/0.4743, allocations: 44.44 kB / 0.5817 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.4746, allocations: 315.7 kB / 0.582 GB, free: 38.97 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.4747, allocations: 41.28 kB / 0.5821 GB, free: 38.95 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-05/0.4748, allocations: 59.33 kB / 0.5821 GB, free: 38.92 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007838/0.4756, allocations: 0.5912 MB / 0.5827 GB, free: 38.58 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.4756, allocations: 0 / 0.5827 GB, free: 38.58 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.049e-05/0.4756, allocations: 19.62 kB / 0.5827 GB, free: 38.56 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.4756, allocations: 10.16 kB / 0.5827 GB, free: 38.56 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008273/0.4765, allocations: 0.5815 MB / 0.5833 GB, free: 38.33 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006598/0.4771, allocations: 0.6226 MB / 0.5839 GB, free: 37.86 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002887/0.48, allocations: 1.364 MB / 0.5852 GB, free: 37.25 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005566/0.4806, allocations: 451.9 kB / 0.5857 GB, free: 37.05 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/0.4808, allocations: 104 kB / 0.5858 GB, free: 36.95 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.4808, allocations: 51.31 kB / 0.5858 GB, free: 36.89 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 2.124e-06/0.4808, allocations: 0 / 0.5858 GB, free: 36.89 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.001655/0.4825, allocations: 1.345 MB / 0.5871 GB, free: 35.69 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/0.4825, allocations: 60.41 kB / 0.5872 GB, free: 35.62 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.4826, allocations: 183.2 kB / 0.5873 GB, free: 35.43 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/0.4827, allocations: 41.7 kB / 0.5874 GB, free: 35.39 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.4827, allocations: 102.1 kB / 0.5875 GB, free: 35.29 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.4829, allocations: 406.2 kB / 0.5879 GB, free: 34.88 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.637e-05/0.483, allocations: 97.67 kB / 0.588 GB, free: 34.78 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.777e-05/0.4831, allocations: 374.7 kB / 0.5883 GB, free: 34.41 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/0.4836, allocations: 470.3 kB / 0.5888 GB, free: 33.95 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/0.4841, allocations: 487.5 kB / 0.5892 GB, free: 33.47 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.4853, allocations: 1.048 MB / 0.5903 GB, free: 32.42 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4853, allocations: 0 / 0.5903 GB, free: 32.42 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001359/0.4866, allocations: 1.234 MB / 0.5915 GB, free: 31.18 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.4867, allocations: 10.34 kB / 0.5915 GB, free: 31.17 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4867, allocations: 0 / 0.5915 GB, free: 31.17 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.4867, allocations: 11.94 kB / 0.5915 GB, free: 31.16 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008884/0.4876, allocations: 271.7 kB / 0.5917 GB, free: 30.89 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.4876, allocations: 11.92 kB / 0.5918 GB, free: 30.88 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.4879, allocations: 75.12 kB / 0.5918 GB, free: 30.8 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.876e-05/0.488, allocations: 35.98 kB / 0.5919 GB, free: 30.77 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.0001888/0.4882, allocations: 213.5 kB / 0.5921 GB, free: 30.55 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.4883, allocations: 43.53 kB / 0.5921 GB, free: 30.51 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/0.4901, allocations: 1.4 MB / 0.5935 GB, free: 29.1 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.647e-06/0.4901, allocations: 12 kB / 0.5935 GB, free: 29.09 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4901, allocations: 0 / 0.5935 GB, free: 29.09 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.4901, allocations: 3.984 kB / 0.5935 GB, free: 29.08 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/0.4908, allocations: 0.7465 MB / 0.5942 GB, free: 28.29 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.4908, allocations: 3.984 kB / 0.5942 GB, free: 28.29 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/0.492, allocations: 299.7 kB / 0.5945 GB, free: 27.99 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.492, allocations: 8 kB / 0.5945 GB, free: 27.98 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.45e-05/0.4921, allocations: 51.95 kB / 0.5946 GB, free: 27.93 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.4921, allocations: 4 kB / 0.5946 GB, free: 27.93 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.4921, allocations: 0 / 0.5946 GB, free: 27.93 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.4941, allocations: 1.854 MB / 0.5964 GB, free: 26.05 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.4943, allocations: 252 kB / 0.5966 GB, free: 25.79 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.914e-05/0.4944, allocations: 39.97 kB / 0.5967 GB, free: 25.75 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.4948, allocations: 24 kB / 0.5967 GB, free: 25.72 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.4949, allocations: 81.2 kB / 0.5968 GB, free: 25.64 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.693e-05/0.495, allocations: 43.97 kB / 0.5968 GB, free: 25.6 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.328e-05/0.495, allocations: 136.3 kB / 0.5969 GB, free: 25.47 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.495, allocations: 0 / 0.5969 GB, free: 25.47 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004198/0.4954, allocations: 232 kB / 0.5972 GB, free: 25.24 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.0001902/0.4956, allocations: 163.8 kB / 0.5973 GB, free: 25.07 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.4969, allocations: 1.147 MB / 0.5984 GB, free: 23.93 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4969, allocations: 0 / 0.5984 GB, free: 23.93 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006257/0.4975, allocations: 0.6358 MB / 0.5991 GB, free: 23.29 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.498, allocations: 106 kB / 0.5992 GB, free: 23.19 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/0.5011, allocations: 3.402 MB / 0.6025 GB, free: 19.75 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.5013, allocations: 0.927 MB / 0.6034 GB, free: 18.8 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006935/0.502, allocations: 364.8 kB / 0.6037 GB, free: 18.45 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.5023, allocations: 83.41 kB / 0.6038 GB, free: 18.36 MB / 462.3 MB Notification: Performance of SimCode: time 3.91e-07/0.5023, allocations: 4 kB / 0.6038 GB, free: 18.36 MB / 462.3 MB Notification: Performance of Templates: time 0.01252/0.5149, allocations: 9.069 MB / 0.6127 GB, free: 9.34 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches