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.001267/0.001267, allocations: 109.9 kB / 17.68 MB, free: 5.332 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.001263/0.001264, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.266/1.266, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.844/0.844, allocations: 119.3 MB / 411.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001358, allocations: 59.91 kB / 0.4937 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4187, allocations: 80.69 MB / 0.5725 GB, free: 44.13 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002229/0.421, allocations: 1.374 MB / 0.5739 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007607/0.4217, allocations: 0.517 MB / 0.5744 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.939e-05/0.4218, allocations: 4 kB / 0.5744 GB, free: 42.63 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.998e-05/0.4219, allocations: 5.031 kB / 0.5744 GB, free: 42.63 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.4221, allocations: 54.48 kB / 0.5744 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.4223, allocations: 42.69 kB / 0.5745 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.4225, allocations: 194.6 kB / 0.5747 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.4225, allocations: 4.375 kB / 0.5747 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.4226, allocations: 76.03 kB / 0.5747 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.4228, allocations: 96.31 kB / 0.5748 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.4228, allocations: 12.06 kB / 0.5748 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.064e-05/0.4229, allocations: 35 kB / 0.5749 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.131e-05/0.423, allocations: 65.45 kB / 0.5749 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.4231, allocations: 71.61 kB / 0.575 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.4232, allocations: 143.8 kB / 0.5751 GB, free: 42.18 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4233, allocations: 1.469 kB / 0.5751 GB, free: 42.18 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4233, allocations: 0 / 0.5751 GB, free: 42.18 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.4233, allocations: 0 / 0.5751 GB, free: 42.18 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.0006341/0.4239, allocations: 475.2 kB / 0.5756 GB, free: 41.74 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.4239, allocations: 12.2 kB / 0.5756 GB, free: 41.74 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.389e-05/0.424, allocations: 20.34 kB / 0.5756 GB, free: 41.73 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.4242, allocations: 223.9 kB / 0.5758 GB, free: 41.49 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.4242, allocations: 11.89 kB / 0.5758 GB, free: 41.48 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.4243, allocations: 21.33 kB / 0.5759 GB, free: 41.47 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.4245, allocations: 178.6 kB / 0.576 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.4245, allocations: 0 / 0.576 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.4245, allocations: 0.875 kB / 0.576 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4245, allocations: 7.188 kB / 0.576 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.4248, allocations: 144.8 kB / 0.5762 GB, free: 41.3 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.425, allocations: 283.2 kB / 0.5765 GB, free: 41.03 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008477/0.4258, allocations: 353.8 kB / 0.5768 GB, free: 40.88 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.426, allocations: 117 kB / 0.5769 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.4262, allocations: 87.78 kB / 0.577 GB, free: 40.72 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.4262, allocations: 39.94 kB / 0.577 GB, free: 40.68 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.453e-06/0.4262, allocations: 0 / 0.577 GB, free: 40.68 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0005467/0.4267, allocations: 385.9 kB / 0.5774 GB, free: 40.49 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.758e-05/0.4268, allocations: 53.19 kB / 0.5774 GB, free: 40.43 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.876e-05/0.4268, allocations: 133.1 kB / 0.5776 GB, free: 40.31 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.4269, allocations: 29.7 kB / 0.5776 GB, free: 40.27 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.258e-05/0.4269, allocations: 101 kB / 0.5777 GB, free: 40.18 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.771e-05/0.427, allocations: 103.2 kB / 0.5778 GB, free: 40.09 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.361e-05/0.427, allocations: 67.64 kB / 0.5779 GB, free: 40.04 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.4271, allocations: 332.3 kB / 0.5782 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.4272, allocations: 119.9 kB / 0.5783 GB, free: 39.66 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.4274, allocations: 127.3 kB / 0.5784 GB, free: 39.6 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.4277, allocations: 284.8 kB / 0.5787 GB, free: 39.47 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4277, allocations: 0 / 0.5787 GB, free: 39.47 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004518/0.4282, allocations: 355.1 kB / 0.579 GB, free: 39.3 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.4282, allocations: 8.5 kB / 0.579 GB, free: 39.3 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4282, allocations: 0 / 0.579 GB, free: 39.3 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4282, allocations: 9.781 kB / 0.579 GB, free: 39.29 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.4285, allocations: 74.91 kB / 0.5791 GB, free: 39.27 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4286, allocations: 1.844 kB / 0.5791 GB, free: 39.27 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.4287, allocations: 27.38 kB / 0.5791 GB, free: 39.25 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.4287, allocations: 12.28 kB / 0.5791 GB, free: 39.25 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 7.732e-05/0.4288, allocations: 140.8 kB / 0.5793 GB, free: 39.11 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.4288, allocations: 11.28 kB / 0.5793 GB, free: 39.11 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000572/0.4294, allocations: 406 kB / 0.5797 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.4294, allocations: 8.609 kB / 0.5797 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4294, allocations: 0 / 0.5797 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.4294, allocations: 0.9062 kB / 0.5797 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.4296, allocations: 317.2 kB / 0.58 GB, free: 38.58 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4297, allocations: 0.9062 kB / 0.58 GB, free: 38.58 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/0.4301, allocations: 83.22 kB / 0.5801 GB, free: 38.57 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.4301, allocations: 5.844 kB / 0.5801 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.4301, allocations: 13.52 kB / 0.5801 GB, free: 38.55 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4301, allocations: 1.844 kB / 0.5801 GB, free: 38.55 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4301, allocations: 0 / 0.5801 GB, free: 38.55 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006529/0.4308, allocations: 0.5217 MB / 0.5806 GB, free: 38.28 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.4309, allocations: 128.9 kB / 0.5807 GB, free: 38.15 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.4309, allocations: 13.05 kB / 0.5807 GB, free: 38.14 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.431, allocations: 5.25 kB / 0.5807 GB, free: 38.14 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.4311, allocations: 27.34 kB / 0.5808 GB, free: 38.12 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.4311, allocations: 7.562 kB / 0.5808 GB, free: 38.12 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.301e-05/0.4312, allocations: 106.4 kB / 0.5809 GB, free: 38.04 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4312, allocations: 0 / 0.5809 GB, free: 38.04 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002648/0.4314, allocations: 68.78 kB / 0.5809 GB, free: 38.02 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.0001211/0.4316, allocations: 124 kB / 0.5811 GB, free: 37.91 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00043/0.432, allocations: 305.3 kB / 0.5814 GB, free: 37.8 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.432, allocations: 4 kB / 0.5814 GB, free: 37.79 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.4322, allocations: 170.1 kB / 0.5815 GB, free: 37.73 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.4325, allocations: 35.27 kB / 0.5816 GB, free: 37.7 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.4335, allocations: 0.8403 MB / 0.5824 GB, free: 37.11 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.4336, allocations: 0.7511 MB / 0.5831 GB, free: 36.38 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.4338, allocations: 96.14 kB / 0.5832 GB, free: 36.33 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.339e-05/0.4339, allocations: 29.89 kB / 0.5832 GB, free: 36.32 MB / 462.3 MB Notification: Performance of SimCode: time 3.21e-07/0.4339, allocations: 0 / 0.5832 GB, free: 36.32 MB / 462.3 MB Notification: Performance of Templates: time 0.005194/0.4391, allocations: 2.982 MB / 0.5861 GB, free: 34.88 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches