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.00124/0.001239, allocations: 112.9 kB / 17.69 MB, free: 5.309 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.001286/0.001286, allocations: 192 kB / 18.63 MB, free: 4.375 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.234/1.234, allocations: 222.9 MB / 242.3 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8272/0.8272, allocations: 119.3 MB / 411.8 MB, free: 9.527 MB / 334.2 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 59.89 kB / 0.4937 GB, free: 11.64 MB / 430.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4137, allocations: 80.7 MB / 0.5725 GB, free: 44 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002078/0.4158, allocations: 1.369 MB / 0.5739 GB, free: 42.91 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006726/0.4165, allocations: 0.5135 MB / 0.5744 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.4166, allocations: 4 kB / 0.5744 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.572e-05/0.4167, allocations: 9.297 kB / 0.5744 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.4169, allocations: 53.98 kB / 0.5744 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.983e-05/0.417, allocations: 42.55 kB / 0.5745 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003822/0.4174, allocations: 0.5485 MB / 0.575 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.4175, allocations: 6.688 kB / 0.575 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.4177, allocations: 197.4 kB / 0.5752 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.418, allocations: 288.9 kB / 0.5755 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.4181, allocations: 32.88 kB / 0.5755 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.4182, allocations: 53.59 kB / 0.5756 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.4184, allocations: 229.5 kB / 0.5758 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.4186, allocations: 239 kB / 0.576 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.419, allocations: 444.7 kB / 0.5764 GB, free: 41.34 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.419, allocations: 0 / 0.5764 GB, free: 41.34 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.102e-06/0.419, allocations: 0 / 0.5764 GB, free: 41.34 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.419, allocations: 1.344 kB / 0.5764 GB, free: 41.34 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.001527/0.4205, allocations: 0.8211 MB / 0.5772 GB, free: 40.71 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.4206, allocations: 15.81 kB / 0.5773 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.4207, allocations: 48.34 kB / 0.5773 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.4211, allocations: 323.2 kB / 0.5776 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.4212, allocations: 29.5 kB / 0.5776 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.4213, allocations: 64.75 kB / 0.5777 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007913/0.4221, allocations: 0.5824 MB / 0.5783 GB, free: 40.01 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.4221, allocations: 0 / 0.5783 GB, free: 40.01 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/0.4222, allocations: 19.56 kB / 0.5783 GB, free: 40 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.4222, allocations: 9.656 kB / 0.5783 GB, free: 40 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008925/0.4231, allocations: 0.59 MB / 0.5789 GB, free: 39.76 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007722/0.4238, allocations: 0.6265 MB / 0.5795 GB, free: 39.29 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003056/0.4269, allocations: 1.364 MB / 0.5808 GB, free: 38.68 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006383/0.4276, allocations: 456.2 kB / 0.5812 GB, free: 38.47 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/0.4278, allocations: 104 kB / 0.5813 GB, free: 38.37 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.4278, allocations: 39.34 kB / 0.5814 GB, free: 38.32 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 2.164e-06/0.4279, allocations: 0 / 0.5814 GB, free: 38.32 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.001986/0.4298, allocations: 1.342 MB / 0.5827 GB, free: 37.73 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.4299, allocations: 67.09 kB / 0.5828 GB, free: 37.66 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.43, allocations: 176.9 kB / 0.5829 GB, free: 37.53 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.4301, allocations: 40.27 kB / 0.583 GB, free: 37.48 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.4301, allocations: 108.9 kB / 0.5831 GB, free: 37.38 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.4303, allocations: 402.3 kB / 0.5835 GB, free: 37.03 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.4306, allocations: 199.7 kB / 0.5836 GB, free: 36.92 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.321e-05/0.4306, allocations: 366.9 kB / 0.584 GB, free: 36.57 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006058/0.4312, allocations: 479.4 kB / 0.5845 GB, free: 36.36 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006158/0.4319, allocations: 492.5 kB / 0.5849 GB, free: 36.14 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.4331, allocations: 1.045 MB / 0.5859 GB, free: 35.4 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4331, allocations: 0 / 0.5859 GB, free: 35.4 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001415/0.4345, allocations: 1.242 MB / 0.5872 GB, free: 34.15 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.4346, allocations: 4 kB / 0.5872 GB, free: 34.14 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4346, allocations: 0 / 0.5872 GB, free: 34.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4346, allocations: 4 kB / 0.5872 GB, free: 34.14 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009441/0.4356, allocations: 275.6 kB / 0.5874 GB, free: 33.87 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.4356, allocations: 4 kB / 0.5874 GB, free: 33.87 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.4359, allocations: 79.06 kB / 0.5875 GB, free: 33.79 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/0.436, allocations: 39.98 kB / 0.5875 GB, free: 33.75 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.000197/0.4362, allocations: 213.5 kB / 0.5877 GB, free: 33.53 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.98e-05/0.4363, allocations: 47.47 kB / 0.5878 GB, free: 33.48 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/0.4381, allocations: 1.392 MB / 0.5892 GB, free: 32.08 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.4381, allocations: 12 kB / 0.5892 GB, free: 32.07 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4381, allocations: 7.984 kB / 0.5892 GB, free: 32.06 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.4381, allocations: 3.984 kB / 0.5892 GB, free: 32.06 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006473/0.4388, allocations: 0.7438 MB / 0.5899 GB, free: 31.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.4388, allocations: 0 / 0.5899 GB, free: 31.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/0.4401, allocations: 303.7 kB / 0.5902 GB, free: 30.97 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.4401, allocations: 11.94 kB / 0.5902 GB, free: 30.96 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.911e-05/0.4402, allocations: 51.95 kB / 0.5903 GB, free: 30.91 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.73e-06/0.4402, allocations: 4 kB / 0.5903 GB, free: 30.9 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4402, allocations: 0 / 0.5903 GB, free: 30.9 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/0.4423, allocations: 1.854 MB / 0.5921 GB, free: 29.03 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.4427, allocations: 252 kB / 0.5923 GB, free: 28.77 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.872e-05/0.4428, allocations: 35.98 kB / 0.5923 GB, free: 28.73 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/0.4431, allocations: 24 kB / 0.5924 GB, free: 28.71 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.4432, allocations: 85.19 kB / 0.5924 GB, free: 28.62 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-05/0.4433, allocations: 39.98 kB / 0.5925 GB, free: 28.58 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.692e-05/0.4434, allocations: 136.3 kB / 0.5926 GB, free: 28.45 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4434, allocations: 0 / 0.5926 GB, free: 28.45 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004324/0.4438, allocations: 228 kB / 0.5928 GB, free: 28.23 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.0001844/0.444, allocations: 170.9 kB / 0.593 GB, free: 28.05 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.4453, allocations: 1.155 MB / 0.5941 GB, free: 26.89 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4454, allocations: 0 / 0.5941 GB, free: 26.89 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006482/0.446, allocations: 0.6436 MB / 0.5948 GB, free: 26.25 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.4465, allocations: 100.7 kB / 0.5948 GB, free: 26.16 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.4494, allocations: 2.816 MB / 0.5976 GB, free: 23.31 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.4496, allocations: 0.9231 MB / 0.5985 GB, free: 22.36 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006596/0.4503, allocations: 368.8 kB / 0.5988 GB, free: 22 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/0.4506, allocations: 91.41 kB / 0.5989 GB, free: 21.91 MB / 462.3 MB Notification: Performance of SimCode: time 6.01e-07/0.4506, allocations: 0 / 0.5989 GB, free: 21.91 MB / 462.3 MB Notification: Performance of Templates: time 0.01274/0.4633, allocations: 9.766 MB / 0.6085 GB, free: 12.2 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins1/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