Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.0009399/0.0009399, allocations: 93.7 kB / 17.31 MB, free: 6.535 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.0009823/0.0009821, allocations: 182.7 kB / 18.21 MB, free: 5.68 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.342/1.342, allocations: 223.3 MB / 242.3 MB, free: 14.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9507/0.9507, allocations: 120.5 MB / 413.8 MB, free: 9.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005048/0.0005048, allocations: 8 kB / 0.4969 GB, free: 10.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5202/0.5207, allocations: 82.83 MB / 0.5778 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001134/0.5219, allocations: 1.11 MB / 0.5789 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006844/0.5226, allocations: 0.5059 MB / 0.5793 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.5226, allocations: 0 / 0.5793 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.476e-05/0.5227, allocations: 8.797 kB / 0.5794 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.523, allocations: 54.39 kB / 0.5794 GB, free: 40.44 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.93e-05/0.5231, allocations: 37.28 kB / 0.5794 GB, free: 40.41 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.5233, allocations: 239.5 kB / 0.5797 GB, free: 40.29 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.301e-05/0.5233, allocations: 4.375 kB / 0.5797 GB, free: 40.29 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.5234, allocations: 75.16 kB / 0.5797 GB, free: 40.25 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.5236, allocations: 104.5 kB / 0.5798 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.5237, allocations: 9.188 kB / 0.5799 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.168e-05/0.5238, allocations: 25.98 kB / 0.5799 GB, free: 40.19 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.964e-05/0.5238, allocations: 67.64 kB / 0.5799 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.264e-05/0.5239, allocations: 103.5 kB / 0.58 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.524, allocations: 91.58 kB / 0.5801 GB, free: 40.02 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.524, allocations: 1.375 kB / 0.5801 GB, free: 40.02 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.322e-06/0.524, allocations: 0 / 0.5801 GB, free: 40.02 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.5241, allocations: 0 / 0.5801 GB, free: 40.02 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.000613/0.5247, allocations: 458.7 kB / 0.5806 GB, free: 39.58 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.5247, allocations: 9.625 kB / 0.5806 GB, free: 39.58 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.5248, allocations: 15.62 kB / 0.5806 GB, free: 39.57 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.5249, allocations: 215 kB / 0.5808 GB, free: 39.35 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.525, allocations: 17.67 kB / 0.5808 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.525, allocations: 16.16 kB / 0.5808 GB, free: 39.33 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.5253, allocations: 176.2 kB / 0.581 GB, free: 39.22 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.5253, allocations: 1.375 kB / 0.581 GB, free: 39.22 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.853e-05/0.5253, allocations: 3.938 kB / 0.581 GB, free: 39.21 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.5253, allocations: 4.125 kB / 0.581 GB, free: 39.21 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.5255, allocations: 144.5 kB / 0.5811 GB, free: 39.16 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.5258, allocations: 284 kB / 0.5814 GB, free: 38.89 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008786/0.5267, allocations: 352.7 kB / 0.5818 GB, free: 38.73 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.5268, allocations: 120.8 kB / 0.5819 GB, free: 38.67 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001379/0.527, allocations: 88.62 kB / 0.582 GB, free: 38.57 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.472e-05/0.527, allocations: 44.22 kB / 0.582 GB, free: 38.52 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.453e-06/0.527, allocations: 0 / 0.582 GB, free: 38.52 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0006043/0.5276, allocations: 381.9 kB / 0.5824 GB, free: 38.34 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.5277, allocations: 54.19 kB / 0.5824 GB, free: 38.28 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.687e-05/0.5277, allocations: 132.8 kB / 0.5825 GB, free: 38.16 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.5278, allocations: 30.61 kB / 0.5826 GB, free: 38.13 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.5278, allocations: 91.48 kB / 0.5827 GB, free: 38.04 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.407e-05/0.5279, allocations: 111.3 kB / 0.5828 GB, free: 37.94 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.5279, allocations: 35.86 kB / 0.5828 GB, free: 37.91 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.95e-05/0.528, allocations: 332.3 kB / 0.5831 GB, free: 37.58 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.5282, allocations: 128.3 kB / 0.5832 GB, free: 37.52 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.5284, allocations: 131.2 kB / 0.5834 GB, free: 37.46 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.5287, allocations: 273.5 kB / 0.5836 GB, free: 37.34 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5287, allocations: 0 / 0.5836 GB, free: 37.34 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000487/0.5292, allocations: 359.8 kB / 0.584 GB, free: 37.16 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.5292, allocations: 7.531 kB / 0.584 GB, free: 37.16 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5292, allocations: 0 / 0.584 GB, free: 37.16 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.5293, allocations: 9.25 kB / 0.584 GB, free: 37.16 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.5296, allocations: 79.25 kB / 0.5841 GB, free: 37.14 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.5296, allocations: 1.25 kB / 0.5841 GB, free: 37.14 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.5297, allocations: 23.47 kB / 0.5841 GB, free: 37.12 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.5297, allocations: 12.84 kB / 0.5841 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 (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 8.221e-05/0.5298, allocations: 135.8 kB / 0.5842 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.5298, allocations: 20.64 kB / 0.5842 GB, free: 36.97 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005991/0.5304, allocations: 397.5 kB / 0.5846 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5305, allocations: 3.781 kB / 0.5846 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5305, allocations: 1.25 kB / 0.5846 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.5305, allocations: 3.984 kB / 0.5846 GB, free: 36.74 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.5307, allocations: 314.5 kB / 0.5849 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5307, allocations: 0 / 0.5849 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.5311, allocations: 82.78 kB / 0.585 GB, free: 36.44 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5311, allocations: 6.531 kB / 0.585 GB, free: 36.44 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.5312, allocations: 13.02 kB / 0.585 GB, free: 36.43 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5312, allocations: 1.281 kB / 0.585 GB, free: 36.43 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5312, allocations: 1.25 kB / 0.585 GB, free: 36.43 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006964/0.5319, allocations: 0.5295 MB / 0.5855 GB, free: 36.14 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 9.736e-05/0.532, allocations: 120.2 kB / 0.5857 GB, free: 36.03 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.532, allocations: 16.61 kB / 0.5857 GB, free: 36.02 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.5322, allocations: 5.922 kB / 0.5857 GB, free: 36.01 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.5322, allocations: 27.91 kB / 0.5857 GB, free: 36 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.5322, allocations: 11.38 kB / 0.5857 GB, free: 35.99 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.225e-05/0.5323, allocations: 106 kB / 0.5858 GB, free: 35.9 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5323, allocations: 0 / 0.5858 GB, free: 35.9 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002861/0.5326, allocations: 69.19 kB / 0.5859 GB, free: 35.89 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.0001499/0.5327, allocations: 107.5 kB / 0.586 GB, free: 35.8 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004918/0.5332, allocations: 310.7 kB / 0.5863 GB, free: 35.67 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5333, allocations: 4 kB / 0.5863 GB, free: 35.67 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.5335, allocations: 169.8 kB / 0.5864 GB, free: 35.6 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.5338, allocations: 38.48 kB / 0.5865 GB, free: 35.58 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.5351, allocations: 1.045 MB / 0.5875 GB, free: 34.78 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.5354, allocations: 0.7476 MB / 0.5882 GB, free: 34.05 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.5355, allocations: 31.34 kB / 0.5883 GB, free: 34.05 MB / 462.3 MB Notification: Performance of SimCode: time 2.91e-07/0.5355, allocations: 3.938 kB / 0.5883 GB, free: 34.04 MB / 462.3 MB Notification: Performance of Templates: time 0.00556/0.541, allocations: 2.948 MB / 0.5911 GB, free: 32 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches