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.001188/0.001188, allocations: 106 kB / 16.92 MB, free: 5.777 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.001166/0.001166, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.209/1.209, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.82/0.82, allocations: 119.3 MB / 411 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 59.91 kB / 0.4923 GB, free: 12.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4281, allocations: 80.68 MB / 0.5711 GB, free: 43.77 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002004/0.4302, allocations: 1.393 MB / 0.5725 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000618/0.4308, allocations: 0.5166 MB / 0.573 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.4309, allocations: 0 / 0.573 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.117e-05/0.4309, allocations: 9.297 kB / 0.573 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.4312, allocations: 45.84 kB / 0.573 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.32e-05/0.4313, allocations: 42.56 kB / 0.5731 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.4315, allocations: 199.6 kB / 0.5732 GB, free: 42.08 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.393e-05/0.4315, allocations: 4.531 kB / 0.5732 GB, free: 42.08 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.4316, allocations: 73.41 kB / 0.5733 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.4318, allocations: 103.6 kB / 0.5734 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.4318, allocations: 8.219 kB / 0.5734 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.631e-05/0.4319, allocations: 35.66 kB / 0.5735 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.7e-05/0.432, allocations: 61.98 kB / 0.5735 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.348e-05/0.4321, allocations: 74.14 kB / 0.5736 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.4322, allocations: 139.8 kB / 0.5737 GB, free: 41.81 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4322, allocations: 4 kB / 0.5737 GB, free: 41.81 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4323, allocations: 0 / 0.5737 GB, free: 41.81 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.4323, allocations: 5.562 kB / 0.5737 GB, free: 41.8 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.0006412/0.4329, allocations: 468.5 kB / 0.5742 GB, free: 41.37 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.4329, allocations: 16.02 kB / 0.5742 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.433, allocations: 25.31 kB / 0.5742 GB, free: 41.35 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.4331, allocations: 212.2 kB / 0.5744 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.4332, allocations: 13.2 kB / 0.5744 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.4332, allocations: 17.41 kB / 0.5744 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.4335, allocations: 177.7 kB / 0.5746 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.4335, allocations: 0 / 0.5746 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.4335, allocations: 5.156 kB / 0.5746 GB, free: 40.99 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.4335, allocations: 2.969 kB / 0.5746 GB, free: 40.99 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.4337, allocations: 141.2 kB / 0.5748 GB, free: 40.94 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00023/0.4339, allocations: 287.7 kB / 0.575 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008497/0.4348, allocations: 361.8 kB / 0.5754 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.435, allocations: 120.8 kB / 0.5755 GB, free: 40.44 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.4351, allocations: 87.83 kB / 0.5756 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.168e-05/0.4351, allocations: 33.03 kB / 0.5756 GB, free: 40.3 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.623e-06/0.4351, allocations: 0 / 0.5756 GB, free: 40.3 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0005559/0.4357, allocations: 385.2 kB / 0.576 GB, free: 40.12 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.756e-05/0.4357, allocations: 57.84 kB / 0.576 GB, free: 40.05 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.482e-05/0.4358, allocations: 134.9 kB / 0.5762 GB, free: 39.93 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.4358, allocations: 29.7 kB / 0.5762 GB, free: 39.89 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.222e-05/0.4358, allocations: 96.5 kB / 0.5763 GB, free: 39.8 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.881e-05/0.4359, allocations: 115 kB / 0.5764 GB, free: 39.7 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/0.436, allocations: 60.89 kB / 0.5765 GB, free: 39.66 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.104e-05/0.436, allocations: 331 kB / 0.5768 GB, free: 39.33 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.4362, allocations: 125.2 kB / 0.5769 GB, free: 39.28 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.4363, allocations: 126.3 kB / 0.577 GB, free: 39.22 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.4367, allocations: 280.4 kB / 0.5773 GB, free: 39.09 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4367, allocations: 0 / 0.5773 GB, free: 39.09 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004367/0.4372, allocations: 355.5 kB / 0.5776 GB, free: 38.92 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.4372, allocations: 5.062 kB / 0.5776 GB, free: 38.92 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.4372, allocations: 9.312 kB / 0.5776 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.4372, allocations: 1.375 kB / 0.5776 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.4375, allocations: 75.03 kB / 0.5777 GB, free: 38.9 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.4375, allocations: 1.375 kB / 0.5777 GB, free: 38.9 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.4376, allocations: 23.81 kB / 0.5777 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.4376, allocations: 10.88 kB / 0.5777 GB, free: 38.88 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.721e-05/0.4377, allocations: 142.1 kB / 0.5779 GB, free: 38.74 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.4377, allocations: 10.78 kB / 0.5779 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005451/0.4383, allocations: 406.2 kB / 0.5783 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4383, allocations: 7.672 kB / 0.5783 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4383, allocations: 4.906 kB / 0.5783 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4383, allocations: 0 / 0.5783 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.4386, allocations: 318 kB / 0.5786 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4386, allocations: 0 / 0.5786 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.439, allocations: 84.19 kB / 0.5787 GB, free: 38.19 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.439, allocations: 0.9062 kB / 0.5787 GB, free: 38.19 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.439, allocations: 13.52 kB / 0.5787 GB, free: 38.18 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.439, allocations: 1.844 kB / 0.5787 GB, free: 38.18 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.439, allocations: 0.9375 kB / 0.5787 GB, free: 38.18 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006878/0.4397, allocations: 0.5266 MB / 0.5792 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.899e-05/0.4398, allocations: 123.8 kB / 0.5793 GB, free: 37.78 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.4398, allocations: 16.8 kB / 0.5793 GB, free: 37.77 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.4399, allocations: 5.469 kB / 0.5793 GB, free: 37.77 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.44, allocations: 19.59 kB / 0.5794 GB, free: 37.76 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.44, allocations: 11.38 kB / 0.5794 GB, free: 37.75 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.113e-05/0.4401, allocations: 112.3 kB / 0.5795 GB, free: 37.66 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4401, allocations: 0 / 0.5795 GB, free: 37.66 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002564/0.4403, allocations: 64.72 kB / 0.5795 GB, free: 37.65 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.0001221/0.4405, allocations: 125 kB / 0.5796 GB, free: 37.54 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005137/0.441, allocations: 386.2 kB / 0.58 GB, free: 37.41 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.441, allocations: 0 / 0.58 GB, free: 37.41 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.4412, allocations: 166 kB / 0.5802 GB, free: 37.34 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.4414, allocations: 36.36 kB / 0.5802 GB, free: 37.32 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.4425, allocations: 0.8515 MB / 0.581 GB, free: 36.71 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.4426, allocations: 0.7563 MB / 0.5818 GB, free: 35.98 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001854/0.4428, allocations: 86.89 kB / 0.5819 GB, free: 35.94 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.821e-05/0.4429, allocations: 27.06 kB / 0.5819 GB, free: 35.94 MB / 462.3 MB Notification: Performance of SimCode: time 2.11e-07/0.4429, allocations: 0 / 0.5819 GB, free: 35.94 MB / 462.3 MB Notification: Performance of Templates: time 0.005277/0.4482, allocations: 2.969 MB / 0.5848 GB, free: 34.5 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","/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