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.001221/0.001221, allocations: 111.4 kB / 17.29 MB, free: 6.059 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.001281/0.001281, allocations: 197.3 kB / 18.21 MB, free: 5.145 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.268/1.268, allocations: 222.9 MB / 241.9 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9018/0.9018, allocations: 119.3 MB / 411.3 MB, free: 9.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 60.14 kB / 0.4924 GB, free: 12.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4919/0.4931, allocations: 80.69 MB / 0.5712 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.0022/0.4953, allocations: 1.444 MB / 0.5726 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007047/0.4961, allocations: 0.5144 MB / 0.5731 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.833e-05/0.4961, allocations: 1.156 kB / 0.5731 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.536e-05/0.4962, allocations: 7.938 kB / 0.5731 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.4965, allocations: 51.39 kB / 0.5732 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.058e-05/0.4966, allocations: 29.78 kB / 0.5732 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.4969, allocations: 321.5 kB / 0.5735 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.4969, allocations: 8.578 kB / 0.5735 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.497, allocations: 116.7 kB / 0.5736 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.4973, allocations: 167.1 kB / 0.5738 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.4973, allocations: 15.12 kB / 0.5738 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.74e-05/0.4974, allocations: 38.94 kB / 0.5738 GB, free: 41.44 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.4975, allocations: 124.5 kB / 0.574 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.4977, allocations: 130.6 kB / 0.5741 GB, free: 41.28 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.4978, allocations: 153.7 kB / 0.5742 GB, free: 41.21 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4978, allocations: 0 / 0.5742 GB, free: 41.21 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4978, allocations: 0 / 0.5742 GB, free: 41.21 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.4979, allocations: 0.9688 kB / 0.5742 GB, free: 41.21 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.0009566/0.4988, allocations: 0.5841 MB / 0.5748 GB, free: 40.71 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.4989, allocations: 12.83 kB / 0.5748 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.84e-05/0.4989, allocations: 25.47 kB / 0.5748 GB, free: 40.69 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.4991, allocations: 260.8 kB / 0.5751 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.4992, allocations: 16.53 kB / 0.5751 GB, free: 40.42 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.4992, allocations: 32.47 kB / 0.5751 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004396/0.4997, allocations: 317.4 kB / 0.5754 GB, free: 40.22 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.4997, allocations: 0 / 0.5754 GB, free: 40.22 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.4997, allocations: 13.47 kB / 0.5755 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.4997, allocations: 5.125 kB / 0.5755 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000401/0.5001, allocations: 287.7 kB / 0.5757 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.5005, allocations: 397 kB / 0.5761 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.5021, allocations: 0.6825 MB / 0.5768 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.5024, allocations: 234.1 kB / 0.577 GB, free: 39.35 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/0.5026, allocations: 90.53 kB / 0.5771 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.5026, allocations: 42.59 kB / 0.5771 GB, free: 39.21 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.593e-06/0.5026, allocations: 0 / 0.5771 GB, free: 39.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.001008/0.5037, allocations: 0.6989 MB / 0.5778 GB, free: 38.88 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.5037, allocations: 57.53 kB / 0.5779 GB, free: 38.81 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.073e-05/0.5038, allocations: 148.8 kB / 0.578 GB, free: 38.68 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.5038, allocations: 39.77 kB / 0.578 GB, free: 38.63 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.764e-05/0.5038, allocations: 97.58 kB / 0.5781 GB, free: 38.54 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.504, allocations: 206.5 kB / 0.5783 GB, free: 38.36 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.5041, allocations: 110.6 kB / 0.5784 GB, free: 38.29 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.927e-05/0.5042, allocations: 342.4 kB / 0.5788 GB, free: 37.95 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.5045, allocations: 237.1 kB / 0.579 GB, free: 37.85 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.5048, allocations: 247.2 kB / 0.5792 GB, free: 37.74 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007119/0.5055, allocations: 0.5311 MB / 0.5798 GB, free: 37.49 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5055, allocations: 0 / 0.5798 GB, free: 37.49 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009225/0.5064, allocations: 0.6473 MB / 0.5804 GB, free: 37.19 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.5065, allocations: 8.188 kB / 0.5804 GB, free: 37.19 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.5065, allocations: 0 / 0.5804 GB, free: 37.19 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.5065, allocations: 2.75 kB / 0.5804 GB, free: 37.19 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005224/0.507, allocations: 143.4 kB / 0.5805 GB, free: 37.16 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.507, allocations: 7.625 kB / 0.5805 GB, free: 37.15 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.5072, allocations: 38.44 kB / 0.5806 GB, free: 37.12 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.5073, allocations: 24.89 kB / 0.5806 GB, free: 37.11 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.0001178/0.5074, allocations: 155.2 kB / 0.5807 GB, free: 36.97 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.5074, allocations: 24.34 kB / 0.5808 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.5085, allocations: 0.7311 MB / 0.5815 GB, free: 36.56 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.5085, allocations: 7.594 kB / 0.5815 GB, free: 36.56 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5085, allocations: 3.938 kB / 0.5815 GB, free: 36.56 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.5085, allocations: 5.266 kB / 0.5815 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.5089, allocations: 457.9 kB / 0.5819 GB, free: 36.19 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.5089, allocations: 1.25 kB / 0.5819 GB, free: 36.19 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000711/0.5096, allocations: 166.6 kB / 0.5821 GB, free: 36.15 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.5097, allocations: 2.531 kB / 0.5821 GB, free: 36.15 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-05/0.5097, allocations: 22.08 kB / 0.5821 GB, free: 36.14 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.5097, allocations: 2.531 kB / 0.5821 GB, free: 36.14 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5097, allocations: 7.938 kB / 0.5821 GB, free: 36.13 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.511, allocations: 0.9596 MB / 0.5831 GB, free: 35.67 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.5112, allocations: 181.8 kB / 0.5832 GB, free: 35.51 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.5112, allocations: 23.98 kB / 0.5833 GB, free: 35.49 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.5114, allocations: 10.19 kB / 0.5833 GB, free: 35.48 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/0.5115, allocations: 42.56 kB / 0.5833 GB, free: 35.46 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.5115, allocations: 22.53 kB / 0.5833 GB, free: 35.46 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.393e-05/0.5116, allocations: 117.6 kB / 0.5834 GB, free: 35.36 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5116, allocations: 0 / 0.5834 GB, free: 35.36 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003437/0.5119, allocations: 122.5 kB / 0.5836 GB, free: 35.34 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.000173/0.5121, allocations: 136.7 kB / 0.5837 GB, free: 35.23 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.5134, allocations: 0.8352 MB / 0.5845 GB, free: 34.97 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5134, allocations: 0 / 0.5845 GB, free: 34.97 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004124/0.5138, allocations: 331.4 kB / 0.5848 GB, free: 34.84 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.5141, allocations: 56.48 kB / 0.5849 GB, free: 34.8 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.5161, allocations: 1.662 MB / 0.5865 GB, free: 33.61 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.5163, allocations: 0.8087 MB / 0.5873 GB, free: 32.8 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.5164, allocations: 51.42 kB / 0.5873 GB, free: 32.75 MB / 462.3 MB Notification: Performance of SimCode: time 3.51e-07/0.5164, allocations: 0 / 0.5873 GB, free: 32.75 MB / 462.3 MB Notification: Performance of Templates: time 0.00541/0.5218, allocations: 5.101 MB / 0.5923 GB, free: 27.66 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/jenkins1/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