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.0007545/0.0007546, allocations: 91.36 kB / 16.65 MB, free: 6.234 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.0008562/0.0008564, allocations: 177.5 kB / 17.56 MB, free: 5.848 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.246/1.246, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8744/0.8744, allocations: 120.5 MB / 413.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003066, allocations: 8 kB / 0.4962 GB, free: 10.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4787, allocations: 82.83 MB / 0.5771 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001272/0.48, allocations: 1.105 MB / 0.5782 GB, free: 40.89 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007966/0.4808, allocations: 0.5118 MB / 0.5787 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.286e-05/0.4808, allocations: 0 / 0.5787 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.084e-05/0.4809, allocations: 5.188 kB / 0.5787 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.4812, allocations: 46.3 kB / 0.5787 GB, free: 40.46 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.633e-05/0.4812, allocations: 46.05 kB / 0.5788 GB, free: 40.42 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000294/0.4815, allocations: 361 kB / 0.5791 GB, free: 40.24 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.276e-05/0.4816, allocations: 3.781 kB / 0.5791 GB, free: 40.24 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.4818, allocations: 107 kB / 0.5792 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.482, allocations: 172.5 kB / 0.5794 GB, free: 40.1 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.4821, allocations: 16.44 kB / 0.5794 GB, free: 40.1 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.4822, allocations: 41.73 kB / 0.5795 GB, free: 40.08 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.4823, allocations: 127.8 kB / 0.5796 GB, free: 40 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.4824, allocations: 149.2 kB / 0.5797 GB, free: 39.89 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.4827, allocations: 236.5 kB / 0.58 GB, free: 39.75 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.4827, allocations: 1.375 kB / 0.58 GB, free: 39.75 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4827, allocations: 0 / 0.58 GB, free: 39.75 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.4827, allocations: 0 / 0.58 GB, free: 39.75 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.0009599/0.4837, allocations: 0.5656 MB / 0.5805 GB, free: 39.27 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.4837, allocations: 8.25 kB / 0.5805 GB, free: 39.27 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/0.4838, allocations: 30.41 kB / 0.5805 GB, free: 39.26 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.4841, allocations: 259.5 kB / 0.5808 GB, free: 39 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.4841, allocations: 18.05 kB / 0.5808 GB, free: 38.99 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.27e-05/0.4842, allocations: 32.5 kB / 0.5808 GB, free: 38.97 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.4846, allocations: 319.9 kB / 0.5811 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4847, allocations: 0 / 0.5811 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.4847, allocations: 5.844 kB / 0.5811 GB, free: 38.78 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.4847, allocations: 5.531 kB / 0.5812 GB, free: 38.78 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004201/0.4851, allocations: 287.8 kB / 0.5814 GB, free: 38.66 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.4856, allocations: 404.9 kB / 0.5818 GB, free: 38.33 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.4871, allocations: 0.6754 MB / 0.5825 GB, free: 38.03 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.4874, allocations: 229.8 kB / 0.5827 GB, free: 37.93 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.4876, allocations: 106.2 kB / 0.5828 GB, free: 37.81 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.4876, allocations: 37.53 kB / 0.5828 GB, free: 37.77 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.553e-06/0.4876, allocations: 1.25 kB / 0.5828 GB, free: 37.77 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.0009929/0.4886, allocations: 0.6943 MB / 0.5835 GB, free: 37.45 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.4886, allocations: 60.88 kB / 0.5836 GB, free: 37.38 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.175e-05/0.4887, allocations: 150 kB / 0.5837 GB, free: 37.24 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.4888, allocations: 36.23 kB / 0.5837 GB, free: 37.2 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.818e-05/0.4888, allocations: 92.92 kB / 0.5838 GB, free: 37.11 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.4889, allocations: 206.3 kB / 0.584 GB, free: 36.93 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.154e-05/0.489, allocations: 52.62 kB / 0.5841 GB, free: 36.89 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.489, allocations: 339.7 kB / 0.5844 GB, free: 36.56 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.4894, allocations: 236.8 kB / 0.5846 GB, free: 36.46 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.4897, allocations: 254.2 kB / 0.5849 GB, free: 36.34 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006851/0.4904, allocations: 0.5352 MB / 0.5854 GB, free: 36.09 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.4904, allocations: 0 / 0.5854 GB, free: 36.09 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008234/0.4912, allocations: 0.6441 MB / 0.586 GB, free: 35.79 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.4913, allocations: 7.938 kB / 0.586 GB, free: 35.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4913, allocations: 0 / 0.586 GB, free: 35.79 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.4913, allocations: 2.344 kB / 0.586 GB, free: 35.79 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.4918, allocations: 143.4 kB / 0.5862 GB, free: 35.76 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.4918, allocations: 6.188 kB / 0.5862 GB, free: 35.76 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.492, allocations: 39.19 kB / 0.5862 GB, free: 35.73 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.4921, allocations: 18.72 kB / 0.5862 GB, free: 35.72 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.0001231/0.4922, allocations: 165.4 kB / 0.5864 GB, free: 35.57 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.4922, allocations: 29.05 kB / 0.5864 GB, free: 35.55 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.4933, allocations: 0.7191 MB / 0.5871 GB, free: 35.17 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.4933, allocations: 7.562 kB / 0.5871 GB, free: 35.17 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4933, allocations: 9.125 kB / 0.5871 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4933, allocations: 3.984 kB / 0.5871 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.4937, allocations: 459.2 kB / 0.5876 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4937, allocations: 0 / 0.5876 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007192/0.4945, allocations: 150.1 kB / 0.5877 GB, free: 34.77 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.341e-06/0.4945, allocations: 3.812 kB / 0.5877 GB, free: 34.77 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.693e-05/0.4945, allocations: 30.06 kB / 0.5878 GB, free: 34.75 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/0.4946, allocations: 2.531 kB / 0.5878 GB, free: 34.75 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4946, allocations: 11.81 kB / 0.5878 GB, free: 34.74 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.4957, allocations: 0.9638 MB / 0.5887 GB, free: 33.93 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.4958, allocations: 176.6 kB / 0.5889 GB, free: 33.73 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.204e-05/0.4959, allocations: 19.98 kB / 0.5889 GB, free: 33.71 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.496, allocations: 12 kB / 0.5889 GB, free: 33.7 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/0.4961, allocations: 44.59 kB / 0.589 GB, free: 33.66 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.4962, allocations: 19.98 kB / 0.589 GB, free: 33.64 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.454e-05/0.4962, allocations: 113.5 kB / 0.5891 GB, free: 33.53 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4962, allocations: 0 / 0.5891 GB, free: 33.53 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003019/0.4965, allocations: 124 kB / 0.5892 GB, free: 33.41 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.0001436/0.4967, allocations: 139 kB / 0.5893 GB, free: 33.27 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0006456/0.4973, allocations: 0.5755 MB / 0.5899 GB, free: 32.69 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4973, allocations: 0 / 0.5899 GB, free: 32.69 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003148/0.4977, allocations: 335.5 kB / 0.5902 GB, free: 32.36 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.498, allocations: 63.89 kB / 0.5903 GB, free: 32.3 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.4997, allocations: 1.796 MB / 0.592 GB, free: 30.48 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.4999, allocations: 0.8131 MB / 0.5928 GB, free: 29.64 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003304/0.5002, allocations: 183.1 kB / 0.593 GB, free: 29.46 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.5004, allocations: 51.42 kB / 0.593 GB, free: 29.41 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.5004, allocations: 0 / 0.593 GB, free: 29.41 MB / 462.3 MB Notification: Performance of Templates: time 0.006886/0.5073, allocations: 4.862 MB / 0.5978 GB, free: 24.59 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