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.0007542/0.0007542, allocations: 93.31 kB / 17.31 MB, free: 6.535 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.0008241/0.000824, allocations: 179.4 kB / 18.21 MB, free: 5.68 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.287/1.287, allocations: 223.3 MB / 242.3 MB, free: 14.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.885/0.885, allocations: 120.5 MB / 413.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003233, allocations: 8 kB / 0.4969 GB, free: 10.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5086/0.5089, allocations: 82.83 MB / 0.5778 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001261/0.5102, allocations: 1.113 MB / 0.5789 GB, free: 40.94 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008266/0.5111, allocations: 0.5062 MB / 0.5794 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.5111, allocations: 0 / 0.5794 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.401e-05/0.5112, allocations: 9.703 kB / 0.5794 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.5115, allocations: 53.39 kB / 0.5794 GB, free: 40.5 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.286e-05/0.5116, allocations: 29.84 kB / 0.5794 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004454/0.512, allocations: 0.5836 MB / 0.58 GB, free: 40.18 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.487e-05/0.5121, allocations: 7.062 kB / 0.58 GB, free: 40.18 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.5123, allocations: 193.7 kB / 0.5802 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.5127, allocations: 300.8 kB / 0.5805 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.905e-05/0.5128, allocations: 33.69 kB / 0.5805 GB, free: 39.92 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.5129, allocations: 60.19 kB / 0.5806 GB, free: 39.9 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.5131, allocations: 230.5 kB / 0.5808 GB, free: 39.77 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.5134, allocations: 264.4 kB / 0.5811 GB, free: 39.59 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.5136, allocations: 289.1 kB / 0.5813 GB, free: 39.44 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5136, allocations: 0 / 0.5813 GB, free: 39.44 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5136, allocations: 0 / 0.5813 GB, free: 39.44 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.5136, allocations: 0 / 0.5813 GB, free: 39.44 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.001593/0.5152, allocations: 0.8469 MB / 0.5822 GB, free: 38.82 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.5153, allocations: 9.219 kB / 0.5822 GB, free: 38.82 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.5154, allocations: 43.5 kB / 0.5822 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.5157, allocations: 327.8 kB / 0.5825 GB, free: 38.51 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.5158, allocations: 37.52 kB / 0.5826 GB, free: 38.48 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.82e-05/0.5159, allocations: 60.62 kB / 0.5826 GB, free: 38.46 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000827/0.5167, allocations: 0.5857 MB / 0.5832 GB, free: 38.12 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.5167, allocations: 1.281 kB / 0.5832 GB, free: 38.12 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.239e-05/0.5168, allocations: 18.5 kB / 0.5832 GB, free: 38.11 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.5168, allocations: 14.09 kB / 0.5832 GB, free: 38.1 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008547/0.5177, allocations: 0.5818 MB / 0.5838 GB, free: 37.87 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007469/0.5184, allocations: 0.6231 MB / 0.5844 GB, free: 37.4 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003122/0.5216, allocations: 1.359 MB / 0.5857 GB, free: 36.8 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006261/0.5222, allocations: 455.9 kB / 0.5862 GB, free: 36.59 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.5224, allocations: 112 kB / 0.5863 GB, free: 36.48 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.5224, allocations: 44.31 kB / 0.5863 GB, free: 36.43 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 2.565e-06/0.5224, allocations: 0 / 0.5863 GB, free: 36.43 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.002008/0.5245, allocations: 1.347 MB / 0.5876 GB, free: 35.83 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.5245, allocations: 62.5 kB / 0.5877 GB, free: 35.77 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.5246, allocations: 177.4 kB / 0.5878 GB, free: 35.61 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.781e-05/0.5247, allocations: 41.7 kB / 0.5879 GB, free: 35.56 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.5247, allocations: 110.1 kB / 0.588 GB, free: 35.45 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.5249, allocations: 402.2 kB / 0.5884 GB, free: 35.05 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.484e-05/0.525, allocations: 97.66 kB / 0.5885 GB, free: 34.95 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.603e-05/0.5251, allocations: 366.7 kB / 0.5888 GB, free: 34.58 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005326/0.5256, allocations: 478.3 kB / 0.5893 GB, free: 34.11 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/0.5262, allocations: 491.5 kB / 0.5897 GB, free: 33.63 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.5273, allocations: 1.036 MB / 0.5908 GB, free: 32.59 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5273, allocations: 0 / 0.5908 GB, free: 32.59 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001358/0.5287, allocations: 1.246 MB / 0.592 GB, free: 31.34 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.5287, allocations: 4 kB / 0.592 GB, free: 31.34 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.5287, allocations: 0 / 0.592 GB, free: 31.34 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.5287, allocations: 4 kB / 0.592 GB, free: 31.33 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008997/0.5296, allocations: 271.6 kB / 0.5922 GB, free: 31.07 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.5297, allocations: 7.938 kB / 0.5922 GB, free: 31.06 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/0.53, allocations: 83.12 kB / 0.5923 GB, free: 30.98 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.805e-05/0.5301, allocations: 39.98 kB / 0.5924 GB, free: 30.94 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.0001851/0.5303, allocations: 213.5 kB / 0.5926 GB, free: 30.72 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.539e-05/0.5304, allocations: 43.53 kB / 0.5926 GB, free: 30.68 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.5322, allocations: 1.396 MB / 0.594 GB, free: 29.27 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.5322, allocations: 16 kB / 0.594 GB, free: 29.25 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5322, allocations: 0 / 0.594 GB, free: 29.25 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.5322, allocations: 7.969 kB / 0.594 GB, free: 29.25 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006341/0.5328, allocations: 0.7426 MB / 0.5947 GB, free: 28.46 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5328, allocations: 0 / 0.5947 GB, free: 28.46 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/0.5341, allocations: 303.7 kB / 0.595 GB, free: 28.16 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.5341, allocations: 4 kB / 0.595 GB, free: 28.16 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.348e-05/0.5342, allocations: 51.95 kB / 0.5951 GB, free: 28.11 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.5342, allocations: 4 kB / 0.5951 GB, free: 28.1 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5342, allocations: 11.94 kB / 0.5951 GB, free: 28.09 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.5361, allocations: 1.85 MB / 0.5969 GB, free: 26.21 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.5364, allocations: 248 kB / 0.5971 GB, free: 25.95 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.901e-05/0.5365, allocations: 39.98 kB / 0.5972 GB, free: 25.91 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.5368, allocations: 20 kB / 0.5972 GB, free: 25.89 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.5369, allocations: 89.19 kB / 0.5973 GB, free: 25.81 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.508e-05/0.537, allocations: 39.98 kB / 0.5973 GB, free: 25.77 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.195e-05/0.537, allocations: 132.3 kB / 0.5974 GB, free: 25.64 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.537, allocations: 4 kB / 0.5974 GB, free: 25.64 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000423/0.5375, allocations: 232 kB / 0.5977 GB, free: 25.41 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.0001892/0.5377, allocations: 159.8 kB / 0.5978 GB, free: 25.24 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.5389, allocations: 1.143 MB / 0.5989 GB, free: 24.1 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5389, allocations: 0 / 0.5989 GB, free: 24.1 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006229/0.5395, allocations: 0.6319 MB / 0.5995 GB, free: 23.47 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.54, allocations: 108.7 kB / 0.5996 GB, free: 23.36 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.5431, allocations: 3.436 MB / 0.603 GB, free: 19.89 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.5434, allocations: 0.923 MB / 0.6039 GB, free: 18.94 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.5437, allocations: 95.41 kB / 0.604 GB, free: 18.85 MB / 462.3 MB Notification: Performance of SimCode: time 2.9e-07/0.5437, allocations: 0 / 0.604 GB, free: 18.85 MB / 462.3 MB Notification: Performance of Templates: time 0.009152/0.5529, allocations: 9.424 MB / 0.6132 GB, free: 9.438 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