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.001083/0.001088, allocations: 108.5 kB / 16.51 MB, free: 6.707 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.00114/0.001141, allocations: 193.9 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.321/1.321, allocations: 222.9 MB / 241.1 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9752/0.9752, allocations: 119.3 MB / 410.6 MB, free: 9.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 55.91 kB / 0.4916 GB, free: 12.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5106/0.512, allocations: 80.69 MB / 0.5704 GB, free: 43.91 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002308/0.5143, allocations: 1.442 MB / 0.5718 GB, free: 42.77 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008149/0.5152, allocations: 0.5244 MB / 0.5723 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.241e-05/0.5152, allocations: 0 / 0.5723 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.752e-05/0.5153, allocations: 9.141 kB / 0.5723 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.5156, allocations: 46.94 kB / 0.5723 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.895e-05/0.5157, allocations: 36.61 kB / 0.5724 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.5159, allocations: 238.8 kB / 0.5726 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.01e-05/0.516, allocations: 4.438 kB / 0.5726 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.5161, allocations: 76.59 kB / 0.5727 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.5163, allocations: 104.7 kB / 0.5728 GB, free: 42.08 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.5163, allocations: 7.375 kB / 0.5728 GB, free: 42.08 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.5164, allocations: 31.45 kB / 0.5728 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.778e-05/0.5166, allocations: 65.34 kB / 0.5729 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.135e-05/0.5166, allocations: 75.75 kB / 0.573 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.5168, allocations: 132.9 kB / 0.5731 GB, free: 41.91 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/0.5168, allocations: 5.375 kB / 0.5731 GB, free: 41.91 MB / 462.3 MB Notification: Performance of FrontEnd: time 6.92e-07/0.5168, allocations: 0 / 0.5731 GB, free: 41.91 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.5168, allocations: 0 / 0.5731 GB, free: 41.91 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.000753/0.5176, allocations: 479.7 kB / 0.5735 GB, free: 41.46 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.5176, allocations: 9.188 kB / 0.5736 GB, free: 41.46 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/0.5177, allocations: 16 kB / 0.5736 GB, free: 41.45 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.5179, allocations: 217.5 kB / 0.5738 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.5179, allocations: 12.33 kB / 0.5738 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.518, allocations: 17.91 kB / 0.5738 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.5183, allocations: 171.6 kB / 0.574 GB, free: 41.1 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.5183, allocations: 0 / 0.574 GB, free: 41.1 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.5183, allocations: 5.219 kB / 0.574 GB, free: 41.1 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.5183, allocations: 3.312 kB / 0.574 GB, free: 41.1 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.5186, allocations: 152.1 kB / 0.5741 GB, free: 41.03 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.5189, allocations: 287.7 kB / 0.5744 GB, free: 40.76 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009502/0.5198, allocations: 350.7 kB / 0.5747 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.52, allocations: 124.2 kB / 0.5749 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/0.5202, allocations: 88.84 kB / 0.5749 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.5202, allocations: 35.78 kB / 0.575 GB, free: 40.4 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.292e-06/0.5202, allocations: 0 / 0.575 GB, free: 40.4 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0006492/0.5209, allocations: 375.4 kB / 0.5753 GB, free: 40.22 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.5209, allocations: 56.97 kB / 0.5754 GB, free: 40.16 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.695e-05/0.521, allocations: 143.6 kB / 0.5755 GB, free: 40.03 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.521, allocations: 33.7 kB / 0.5756 GB, free: 39.99 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.242e-05/0.5211, allocations: 91.58 kB / 0.5756 GB, free: 39.9 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.76e-05/0.5211, allocations: 112.6 kB / 0.5757 GB, free: 39.8 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.5213, allocations: 59.78 kB / 0.5758 GB, free: 39.77 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.64e-05/0.5213, allocations: 335.1 kB / 0.5761 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.5215, allocations: 117.2 kB / 0.5762 GB, free: 39.39 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.5217, allocations: 126.2 kB / 0.5764 GB, free: 39.33 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.5221, allocations: 281.1 kB / 0.5766 GB, free: 39.2 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5221, allocations: 3.938 kB / 0.5766 GB, free: 39.2 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004887/0.5226, allocations: 364.4 kB / 0.577 GB, free: 39.02 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.5226, allocations: 3.906 kB / 0.577 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5226, allocations: 2 kB / 0.577 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.5226, allocations: 0 / 0.577 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.5229, allocations: 71.62 kB / 0.5771 GB, free: 39.01 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.5229, allocations: 0.9375 kB / 0.5771 GB, free: 39.01 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.5231, allocations: 24.28 kB / 0.5771 GB, free: 38.99 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.5231, allocations: 15.36 kB / 0.5771 GB, free: 38.98 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 0.0001004/0.5232, allocations: 140.8 kB / 0.5772 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.5232, allocations: 12.19 kB / 0.5772 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006276/0.5239, allocations: 401.4 kB / 0.5776 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.5239, allocations: 4.125 kB / 0.5776 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.5239, allocations: 9.375 kB / 0.5776 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5239, allocations: 0 / 0.5776 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.5242, allocations: 317.9 kB / 0.5779 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5242, allocations: 0 / 0.5779 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004269/0.5246, allocations: 87.23 kB / 0.578 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.5247, allocations: 1.844 kB / 0.578 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.5247, allocations: 9.531 kB / 0.578 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.5247, allocations: 1.844 kB / 0.578 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.5247, allocations: 3.984 kB / 0.578 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008268/0.5255, allocations: 0.5305 MB / 0.5786 GB, free: 38 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.5256, allocations: 124.1 kB / 0.5787 GB, free: 37.88 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.5257, allocations: 9.281 kB / 0.5787 GB, free: 37.88 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.5258, allocations: 5.5 kB / 0.5787 GB, free: 37.88 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.5259, allocations: 22.66 kB / 0.5787 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.5259, allocations: 13.17 kB / 0.5787 GB, free: 37.86 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.655e-05/0.526, allocations: 103.5 kB / 0.5788 GB, free: 37.77 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.5e-07/0.526, allocations: 3.938 kB / 0.5788 GB, free: 37.77 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003113/0.5263, allocations: 68.19 kB / 0.5789 GB, free: 37.76 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.0001687/0.5265, allocations: 120.4 kB / 0.579 GB, free: 37.65 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004834/0.5269, allocations: 302.4 kB / 0.5793 GB, free: 37.54 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.527, allocations: 3.938 kB / 0.5793 GB, free: 37.53 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.5272, allocations: 170.1 kB / 0.5795 GB, free: 37.46 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.5275, allocations: 36.7 kB / 0.5795 GB, free: 37.44 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.5288, allocations: 0.9196 MB / 0.5804 GB, free: 36.76 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.529, allocations: 0.7437 MB / 0.5811 GB, free: 36.04 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.000217/0.5292, allocations: 92.12 kB / 0.5812 GB, free: 36 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.124e-05/0.5293, allocations: 25.09 kB / 0.5812 GB, free: 36 MB / 462.3 MB Notification: Performance of SimCode: time 3.81e-07/0.5293, allocations: 5.281 kB / 0.5812 GB, free: 36 MB / 462.3 MB Notification: Performance of Templates: time 0.006171/0.5355, allocations: 2.819 MB / 0.584 GB, free: 34.64 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/jenkins/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