Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001613, allocations: 96.89 kB / 16.5 MB, free: 6.641 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.002232/0.002233, allocations: 198.5 kB / 17.43 MB, free: 6.062 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.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9041/0.9041, allocations: 119.3 MB / 410.6 MB, free: 9.785 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.91 kB / 0.4916 GB, free: 12.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5282/0.5296, allocations: 80.68 MB / 0.5704 GB, free: 43.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002323/0.532, allocations: 1.441 MB / 0.5718 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007852/0.5328, allocations: 0.5206 MB / 0.5723 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.5328, allocations: 0 / 0.5723 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.033e-05/0.5329, allocations: 8.953 kB / 0.5723 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.5332, allocations: 46.11 kB / 0.5724 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.865e-05/0.5333, allocations: 29.97 kB / 0.5724 GB, free: 41.74 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.5335, allocations: 250.6 kB / 0.5726 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.5336, allocations: 5.031 kB / 0.5726 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.5337, allocations: 70.84 kB / 0.5727 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.5339, allocations: 105.4 kB / 0.5728 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.5339, allocations: 7.625 kB / 0.5728 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.383e-05/0.534, allocations: 35.09 kB / 0.5728 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.015e-05/0.5341, allocations: 65.94 kB / 0.5729 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.976e-05/0.5342, allocations: 71.09 kB / 0.573 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.5344, allocations: 142.4 kB / 0.5731 GB, free: 41.34 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.5344, allocations: 0 / 0.5731 GB, free: 41.34 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5344, allocations: 0 / 0.5731 GB, free: 41.34 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.5344, allocations: 0 / 0.5731 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007078/0.5351, allocations: 474.7 kB / 0.5736 GB, free: 40.9 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.5351, allocations: 9.562 kB / 0.5736 GB, free: 40.9 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.321e-05/0.5352, allocations: 17 kB / 0.5736 GB, free: 40.89 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.5354, allocations: 212.4 kB / 0.5738 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.5354, allocations: 12.08 kB / 0.5738 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.5355, allocations: 25.61 kB / 0.5738 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.5357, allocations: 167.4 kB / 0.574 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.5358, allocations: 1.219 kB / 0.574 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.5358, allocations: 9.281 kB / 0.574 GB, free: 40.53 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.5358, allocations: 10.23 kB / 0.574 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002355/0.536, allocations: 148 kB / 0.5741 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.5363, allocations: 284.4 kB / 0.5744 GB, free: 40.19 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009619/0.5373, allocations: 358.5 kB / 0.5748 GB, free: 40.03 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.5375, allocations: 115.9 kB / 0.5749 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/0.5376, allocations: 95.95 kB / 0.575 GB, free: 39.87 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.5377, allocations: 36.09 kB / 0.575 GB, free: 39.83 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.522e-06/0.5377, allocations: 1.375 kB / 0.575 GB, free: 39.83 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0006505/0.5383, allocations: 379.5 kB / 0.5754 GB, free: 39.65 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.5384, allocations: 55.16 kB / 0.5754 GB, free: 39.59 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.019e-05/0.5385, allocations: 137.2 kB / 0.5755 GB, free: 39.46 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.5385, allocations: 31.05 kB / 0.5756 GB, free: 39.43 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.5385, allocations: 95.22 kB / 0.5757 GB, free: 39.34 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.795e-05/0.5386, allocations: 104 kB / 0.5758 GB, free: 39.25 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.838e-05/0.5387, allocations: 64.42 kB / 0.5758 GB, free: 39.2 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.052e-05/0.5388, allocations: 331.6 kB / 0.5761 GB, free: 38.88 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.539, allocations: 119.9 kB / 0.5762 GB, free: 38.82 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.5392, allocations: 127.9 kB / 0.5764 GB, free: 38.77 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/0.5396, allocations: 287.9 kB / 0.5766 GB, free: 38.63 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5396, allocations: 0 / 0.5766 GB, free: 38.63 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005223/0.5401, allocations: 348 kB / 0.577 GB, free: 38.46 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.5401, allocations: 5.062 kB / 0.577 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5401, allocations: 3.984 kB / 0.577 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.5401, allocations: 2.156 kB / 0.577 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.5405, allocations: 78.53 kB / 0.5771 GB, free: 38.44 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.5405, allocations: 1.406 kB / 0.5771 GB, free: 38.44 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.5406, allocations: 25.09 kB / 0.5771 GB, free: 38.42 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.5406, allocations: 11.34 kB / 0.5771 GB, free: 38.41 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 (39): * Single equations (assignments): 39 * 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 9.51e-05/0.5407, allocations: 144.5 kB / 0.5772 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.5408, allocations: 11.19 kB / 0.5772 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006491/0.5414, allocations: 407.2 kB / 0.5776 GB, free: 38.04 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.5414, allocations: 2.625 kB / 0.5776 GB, free: 38.04 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5414, allocations: 1.5 kB / 0.5776 GB, free: 38.04 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.5414, allocations: 3.984 kB / 0.5776 GB, free: 38.04 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.5417, allocations: 321.6 kB / 0.5779 GB, free: 37.74 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5417, allocations: 0 / 0.5779 GB, free: 37.74 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004102/0.5422, allocations: 80.22 kB / 0.578 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5422, allocations: 1.125 kB / 0.578 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.5422, allocations: 17.98 kB / 0.578 GB, free: 37.72 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.5422, allocations: 1.344 kB / 0.578 GB, free: 37.72 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5422, allocations: 0 / 0.578 GB, free: 37.72 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007032/0.5429, allocations: 0.5264 MB / 0.5786 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.698e-05/0.543, allocations: 125.4 kB / 0.5787 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.5431, allocations: 12.11 kB / 0.5787 GB, free: 37.31 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.5432, allocations: 9.375 kB / 0.5787 GB, free: 37.3 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.5432, allocations: 24.34 kB / 0.5787 GB, free: 37.29 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.5433, allocations: 6.875 kB / 0.5787 GB, free: 37.29 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.796e-05/0.5433, allocations: 112.7 kB / 0.5788 GB, free: 37.2 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5433, allocations: 7.938 kB / 0.5788 GB, free: 37.19 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002675/0.5436, allocations: 68.38 kB / 0.5789 GB, free: 37.18 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.0001492/0.5437, allocations: 111.9 kB / 0.579 GB, free: 37.08 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004818/0.5442, allocations: 310.8 kB / 0.5793 GB, free: 36.95 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5442, allocations: 0 / 0.5793 GB, free: 36.95 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.5445, allocations: 169.8 kB / 0.5795 GB, free: 36.89 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.5448, allocations: 36.86 kB / 0.5795 GB, free: 36.86 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.546, allocations: 0.9108 MB / 0.5804 GB, free: 36.19 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.5462, allocations: 0.7448 MB / 0.5811 GB, free: 35.47 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.5464, allocations: 94.08 kB / 0.5812 GB, free: 35.43 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.429e-05/0.5465, allocations: 28.05 kB / 0.5812 GB, free: 35.43 MB / 462.3 MB Notification: Performance of SimCode: time 2.91e-07/0.5465, allocations: 0 / 0.5812 GB, free: 35.43 MB / 462.3 MB Notification: Performance of Templates: time 0.005515/0.552, allocations: 2.814 MB / 0.584 GB, free: 34.07 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches