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.000877/0.0008771, allocations: 89.23 kB / 16.65 MB, free: 6.258 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.001058/0.001058, allocations: 182.4 kB / 17.57 MB, free: 5.871 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.265/1.265, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8832/0.8832, allocations: 120.5 MB / 413.2 MB, free: 9.195 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.000335, allocations: 8 kB / 0.4962 GB, free: 10.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4537/0.454, allocations: 82.83 MB / 0.5771 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001194/0.4552, allocations: 1.106 MB / 0.5782 GB, free: 40.94 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006691/0.4559, allocations: 0.5083 MB / 0.5787 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.841e-05/0.456, allocations: 0 / 0.5787 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.485e-05/0.456, allocations: 11.88 kB / 0.5787 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.4563, allocations: 51.89 kB / 0.5788 GB, free: 40.5 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.475e-05/0.4564, allocations: 36.97 kB / 0.5788 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.4566, allocations: 234.7 kB / 0.579 GB, free: 40.36 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.4566, allocations: 12.28 kB / 0.579 GB, free: 40.35 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.4567, allocations: 75.69 kB / 0.5791 GB, free: 40.32 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.4569, allocations: 96.7 kB / 0.5792 GB, free: 40.27 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.4569, allocations: 7.562 kB / 0.5792 GB, free: 40.27 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.134e-05/0.457, allocations: 35.44 kB / 0.5793 GB, free: 40.25 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.383e-05/0.4571, allocations: 66.34 kB / 0.5793 GB, free: 40.21 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.378e-05/0.4572, allocations: 95.77 kB / 0.5794 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.4574, allocations: 145.9 kB / 0.5795 GB, free: 40.05 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4574, allocations: 1.25 kB / 0.5795 GB, free: 40.05 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4574, allocations: 0 / 0.5795 GB, free: 40.05 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.4574, allocations: 0 / 0.5795 GB, free: 40.05 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.0006201/0.458, allocations: 454.1 kB / 0.58 GB, free: 39.62 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.4581, allocations: 10.25 kB / 0.58 GB, free: 39.62 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.4581, allocations: 19.62 kB / 0.58 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.4583, allocations: 216.8 kB / 0.5802 GB, free: 39.38 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.4583, allocations: 17.58 kB / 0.5802 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.4583, allocations: 16.31 kB / 0.5802 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.4586, allocations: 175.7 kB / 0.5804 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.4586, allocations: 1.281 kB / 0.5804 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.4587, allocations: 5.5 kB / 0.5804 GB, free: 39.24 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.4587, allocations: 2.938 kB / 0.5804 GB, free: 39.24 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.4589, allocations: 143.6 kB / 0.5806 GB, free: 39.18 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002451/0.4591, allocations: 284 kB / 0.5808 GB, free: 38.91 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000833/0.46, allocations: 350.2 kB / 0.5812 GB, free: 38.76 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.4602, allocations: 120.4 kB / 0.5813 GB, free: 38.7 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/0.4603, allocations: 95.52 kB / 0.5814 GB, free: 38.6 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.4603, allocations: 36.41 kB / 0.5814 GB, free: 38.55 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.332e-06/0.4604, allocations: 0 / 0.5814 GB, free: 38.55 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0006285/0.461, allocations: 382.5 kB / 0.5818 GB, free: 38.38 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.461, allocations: 54.19 kB / 0.5818 GB, free: 38.31 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/0.4611, allocations: 134.2 kB / 0.582 GB, free: 38.2 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.4611, allocations: 31.55 kB / 0.582 GB, free: 38.16 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.4612, allocations: 91.48 kB / 0.5821 GB, free: 38.07 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.381e-05/0.4612, allocations: 111.4 kB / 0.5822 GB, free: 37.97 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.4613, allocations: 35.86 kB / 0.5822 GB, free: 37.94 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.11e-05/0.4614, allocations: 328.3 kB / 0.5825 GB, free: 37.62 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.4615, allocations: 127.8 kB / 0.5826 GB, free: 37.55 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.4617, allocations: 127.2 kB / 0.5828 GB, free: 37.5 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.4621, allocations: 279.4 kB / 0.583 GB, free: 37.38 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4621, allocations: 0 / 0.583 GB, free: 37.38 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000459/0.4626, allocations: 353.3 kB / 0.5834 GB, free: 37.2 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.4626, allocations: 5.062 kB / 0.5834 GB, free: 37.2 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4626, allocations: 5.25 kB / 0.5834 GB, free: 37.2 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.4626, allocations: 1.281 kB / 0.5834 GB, free: 37.2 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.4629, allocations: 79.17 kB / 0.5835 GB, free: 37.18 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.4629, allocations: 5.188 kB / 0.5835 GB, free: 37.18 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.463, allocations: 23.5 kB / 0.5835 GB, free: 37.16 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.4631, allocations: 11.56 kB / 0.5835 GB, free: 37.15 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.909e-05/0.4632, allocations: 137.1 kB / 0.5836 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.4632, allocations: 15.38 kB / 0.5836 GB, free: 37.01 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005885/0.4638, allocations: 406.5 kB / 0.584 GB, free: 36.78 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4638, allocations: 3.75 kB / 0.584 GB, free: 36.78 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.4638, allocations: 1.281 kB / 0.584 GB, free: 36.78 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.4638, allocations: 3.984 kB / 0.584 GB, free: 36.78 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.4641, allocations: 325.8 kB / 0.5843 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.4641, allocations: 0 / 0.5843 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/0.4645, allocations: 80.22 kB / 0.5844 GB, free: 36.47 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4645, allocations: 1.281 kB / 0.5844 GB, free: 36.47 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.4645, allocations: 17.02 kB / 0.5844 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4645, allocations: 2.531 kB / 0.5844 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4645, allocations: 0 / 0.5844 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006877/0.4652, allocations: 0.5222 MB / 0.585 GB, free: 36.18 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.337e-05/0.4653, allocations: 129 kB / 0.5851 GB, free: 36.05 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.4653, allocations: 16.39 kB / 0.5851 GB, free: 36.04 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.4654, allocations: 5.656 kB / 0.5851 GB, free: 36.04 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.4655, allocations: 19.78 kB / 0.5851 GB, free: 36.03 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.4655, allocations: 11.69 kB / 0.5851 GB, free: 36.03 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.055e-05/0.4656, allocations: 100.9 kB / 0.5852 GB, free: 35.94 MB / 462.3 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4656, allocations: 0.9062 kB / 0.5852 GB, free: 35.94 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000263/0.4658, allocations: 76.2 kB / 0.5853 GB, free: 35.92 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.0001258/0.466, allocations: 112.5 kB / 0.5854 GB, free: 35.82 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004441/0.4664, allocations: 310.3 kB / 0.5857 GB, free: 35.7 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4664, allocations: 3.938 kB / 0.5857 GB, free: 35.7 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.4666, allocations: 169.9 kB / 0.5859 GB, free: 35.63 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.4669, allocations: 36.58 kB / 0.5859 GB, free: 35.61 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.468, allocations: 1.01 MB / 0.5869 GB, free: 34.84 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.4681, allocations: 0.7516 MB / 0.5876 GB, free: 34.12 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.4683, allocations: 96.53 kB / 0.5877 GB, free: 34.08 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.686e-05/0.4684, allocations: 33.3 kB / 0.5877 GB, free: 34.07 MB / 462.3 MB Notification: Performance of SimCode: time 3.9e-07/0.4684, allocations: 0 / 0.5877 GB, free: 34.07 MB / 462.3 MB Notification: Performance of Templates: time 0.00494/0.4734, allocations: 2.777 MB / 0.5905 GB, free: 32.11 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 -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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches