Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 109.3 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.000989/0.000989, allocations: 194.5 kB / 17.43 MB, free: 6.066 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.245/1.245, allocations: 222.9 MB / 241.1 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8185/0.8185, allocations: 119.3 MB / 410.5 MB, free: 9.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 67.91 kB / 0.4916 GB, free: 12.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4384, allocations: 80.68 MB / 0.5704 GB, free: 43.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.00253/0.441, allocations: 1.441 MB / 0.5718 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007782/0.4418, allocations: 0.5273 MB / 0.5723 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.154e-05/0.4418, allocations: 0 / 0.5723 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.571e-05/0.4419, allocations: 5.531 kB / 0.5723 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.4422, allocations: 50.53 kB / 0.5724 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.08e-05/0.4423, allocations: 32.77 kB / 0.5724 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.4426, allocations: 360.9 kB / 0.5727 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.4426, allocations: 4.156 kB / 0.5727 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.4428, allocations: 115.6 kB / 0.5728 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.443, allocations: 172.6 kB / 0.573 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.619e-05/0.443, allocations: 15.12 kB / 0.573 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.4432, allocations: 38.11 kB / 0.5731 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.4433, allocations: 129.2 kB / 0.5732 GB, free: 41.33 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.4434, allocations: 123.1 kB / 0.5733 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.4436, allocations: 236.9 kB / 0.5735 GB, free: 41.12 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4436, allocations: 0 / 0.5735 GB, free: 41.12 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4437, allocations: 1.375 kB / 0.5735 GB, free: 41.12 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.4437, allocations: 0 / 0.5735 GB, free: 41.12 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001085/0.4448, allocations: 0.583 MB / 0.5741 GB, free: 40.62 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4448, allocations: 10.34 kB / 0.5741 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.792e-05/0.4449, allocations: 29.78 kB / 0.5741 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.4451, allocations: 243.3 kB / 0.5744 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.4452, allocations: 20.88 kB / 0.5744 GB, free: 40.35 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.273e-05/0.4452, allocations: 33.42 kB / 0.5744 GB, free: 40.33 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.4457, allocations: 312.9 kB / 0.5747 GB, free: 40.15 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4457, allocations: 3.938 kB / 0.5747 GB, free: 40.15 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.4458, allocations: 13.33 kB / 0.5747 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.4458, allocations: 5.938 kB / 0.5747 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003986/0.4462, allocations: 294.4 kB / 0.575 GB, free: 40.01 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.4466, allocations: 393.8 kB / 0.5754 GB, free: 39.69 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.4482, allocations: 0.6832 MB / 0.5761 GB, free: 39.38 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.4485, allocations: 231.9 kB / 0.5763 GB, free: 39.28 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/0.4487, allocations: 92.95 kB / 0.5764 GB, free: 39.18 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.4487, allocations: 38.22 kB / 0.5764 GB, free: 39.13 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.403e-06/0.4487, allocations: 0 / 0.5764 GB, free: 39.13 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.001012/0.4497, allocations: 0.6985 MB / 0.5771 GB, free: 38.8 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.4497, allocations: 65.98 kB / 0.5772 GB, free: 38.73 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.445e-05/0.4498, allocations: 145.8 kB / 0.5773 GB, free: 38.6 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.4499, allocations: 35.02 kB / 0.5773 GB, free: 38.56 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.4499, allocations: 101.2 kB / 0.5774 GB, free: 38.46 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.45, allocations: 206.7 kB / 0.5776 GB, free: 38.29 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.4502, allocations: 102.5 kB / 0.5777 GB, free: 38.22 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.476e-05/0.4502, allocations: 343.9 kB / 0.578 GB, free: 37.89 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.4506, allocations: 240.2 kB / 0.5783 GB, free: 37.78 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.4509, allocations: 251.2 kB / 0.5785 GB, free: 37.66 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007015/0.4516, allocations: 0.5271 MB / 0.579 GB, free: 37.42 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4516, allocations: 0 / 0.579 GB, free: 37.42 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000905/0.4525, allocations: 0.6475 MB / 0.5797 GB, free: 37.12 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.4526, allocations: 5.531 kB / 0.5797 GB, free: 37.12 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.4526, allocations: 0 / 0.5797 GB, free: 37.12 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.4526, allocations: 2.781 kB / 0.5797 GB, free: 37.12 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/0.4531, allocations: 139.9 kB / 0.5798 GB, free: 37.09 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.4532, allocations: 7.5 kB / 0.5798 GB, free: 37.09 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.4533, allocations: 46.86 kB / 0.5799 GB, free: 37.05 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.4534, allocations: 18.25 kB / 0.5799 GB, free: 37.04 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 (74): * Single equations (assignments): 74 * 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.0001225/0.4535, allocations: 161 kB / 0.58 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.4536, allocations: 24.34 kB / 0.58 GB, free: 36.88 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.4546, allocations: 0.7195 MB / 0.5807 GB, free: 36.5 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.4546, allocations: 11.56 kB / 0.5808 GB, free: 36.5 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4547, allocations: 11.86 kB / 0.5808 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4547, allocations: 3.984 kB / 0.5808 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.4551, allocations: 459.2 kB / 0.5812 GB, free: 36.12 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.4551, allocations: 1.281 kB / 0.5812 GB, free: 36.12 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007167/0.4558, allocations: 154 kB / 0.5814 GB, free: 36.09 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.4558, allocations: 2.531 kB / 0.5814 GB, free: 36.09 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.4559, allocations: 30.06 kB / 0.5814 GB, free: 36.07 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.4559, allocations: 3.781 kB / 0.5814 GB, free: 36.07 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4559, allocations: 3.938 kB / 0.5814 GB, free: 36.07 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.4572, allocations: 0.9623 MB / 0.5823 GB, free: 35.6 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.4573, allocations: 174.9 kB / 0.5825 GB, free: 35.45 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.009e-05/0.4574, allocations: 23.58 kB / 0.5825 GB, free: 35.43 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.4576, allocations: 15.22 kB / 0.5825 GB, free: 35.42 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.403e-05/0.4577, allocations: 41.5 kB / 0.5826 GB, free: 35.4 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/0.4577, allocations: 23.05 kB / 0.5826 GB, free: 35.39 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.331e-05/0.4578, allocations: 111.9 kB / 0.5827 GB, free: 35.3 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4578, allocations: 1.031 kB / 0.5827 GB, free: 35.3 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003528/0.4581, allocations: 126 kB / 0.5828 GB, free: 35.28 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.0001817/0.4583, allocations: 138.2 kB / 0.583 GB, free: 35.16 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008553/0.4592, allocations: 0.5843 MB / 0.5835 GB, free: 34.92 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4592, allocations: 0 / 0.5835 GB, free: 34.92 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004137/0.4596, allocations: 324.7 kB / 0.5838 GB, free: 34.8 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.46, allocations: 68.64 kB / 0.5839 GB, free: 34.75 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.4619, allocations: 1.617 MB / 0.5855 GB, free: 33.61 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.4622, allocations: 0.8043 MB / 0.5863 GB, free: 32.86 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003815/0.4625, allocations: 179.8 kB / 0.5864 GB, free: 32.79 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.4627, allocations: 50.77 kB / 0.5865 GB, free: 32.78 MB / 462.3 MB Notification: Performance of SimCode: time 2.41e-07/0.4627, allocations: 3.938 kB / 0.5865 GB, free: 32.77 MB / 462.3 MB Notification: Performance of Templates: time 0.007023/0.4697, allocations: 4.928 MB / 0.5913 GB, free: 27.93 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches