Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008312/0.0008313, allocations: 88.53 kB / 16.31 MB, free: 6.449 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.000966/0.0009661, allocations: 186.4 kB / 17.21 MB, free: 6.312 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.511/1.511, allocations: 223.3 MB / 241.2 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9357/0.9357, allocations: 120.5 MB / 412.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003668, allocations: 7.984 kB / 0.4956 GB, free: 9.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1971, allocations: 82.85 MB / 0.5765 GB, free: 6.801 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001676/0.1989, allocations: 1.089 MB / 0.5775 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1999, allocations: 483.6 kB / 0.578 GB, free: 5.227 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.766e-05/0.2, allocations: 0 / 0.578 GB, free: 5.227 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.994e-05/0.2001, allocations: 15.92 kB / 0.578 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.2004, allocations: 51.8 kB / 0.5781 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.2006, allocations: 31.91 kB / 0.5781 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005276/0.2011, allocations: 0.4951 MB / 0.5786 GB, free: 4.633 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.964e-05/0.2012, allocations: 8.188 kB / 0.5786 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003317/0.2015, allocations: 203.7 kB / 0.5788 GB, free: 4.426 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005362/0.2021, allocations: 315.5 kB / 0.5791 GB, free: 4.117 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.2022, allocations: 28 kB / 0.5791 GB, free: 4.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.2024, allocations: 51.98 kB / 0.5792 GB, free: 4.039 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003365/0.2027, allocations: 239.5 kB / 0.5794 GB, free: 3.805 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.2029, allocations: 89.45 kB / 0.5795 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.2032, allocations: 283.6 kB / 0.5797 GB, free: 3.434 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.2032, allocations: 4 kB / 0.5797 GB, free: 3.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.2032, allocations: 0 / 0.5797 GB, free: 3.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.2033, allocations: 0 / 0.5797 GB, free: 3.43 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001822/0.2051, allocations: 0.8541 MB / 0.5806 GB, free: 2.527 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2051, allocations: 8.031 kB / 0.5806 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.2053, allocations: 51.39 kB / 0.5806 GB, free: 2.469 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004699/0.2058, allocations: 318.3 kB / 0.5809 GB, free: 2.117 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.2058, allocations: 33 kB / 0.581 GB, free: 2.082 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.2059, allocations: 59.91 kB / 0.581 GB, free: 2.023 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.207, allocations: 0.584 MB / 0.5816 GB, free: 1.434 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.207, allocations: 0 / 0.5816 GB, free: 1.434 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.275e-05/0.2071, allocations: 16 kB / 0.5816 GB, free: 1.418 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.2071, allocations: 12 kB / 0.5816 GB, free: 1.406 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009525/0.208, allocations: 0.5855 MB / 0.5822 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008747/0.2089, allocations: 0.6137 MB / 0.5828 GB, free: 152 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.625/0.8339, allocations: 1.363 MB / 0.5841 GB, free: 16.54 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009204/0.8349, allocations: 451.9 kB / 0.5846 GB, free: 16.53 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002554/0.8352, allocations: 103 kB / 0.5846 GB, free: 16.43 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.8352, allocations: 43.53 kB / 0.5847 GB, free: 16.39 MB / 446.3 MB Notification: Performance of pre-optimization done (n=103): time 4.489e-06/0.8352, allocations: 0 / 0.5847 GB, free: 16.39 MB / 446.3 MB Notification: Performance of matching and sorting (n=103): time 0.002747/0.838, allocations: 1.353 MB / 0.586 GB, free: 16.31 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.8381, allocations: 62.12 kB / 0.5861 GB, free: 16.25 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.8383, allocations: 177.1 kB / 0.5862 GB, free: 16.15 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 6.014e-05/0.8383, allocations: 41.61 kB / 0.5863 GB, free: 16.12 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.8384, allocations: 110 kB / 0.5864 GB, free: 16.03 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003464/0.8388, allocations: 404.4 kB / 0.5868 GB, free: 15.73 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.8388, allocations: 24.59 kB / 0.5868 GB, free: 15.71 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.839, allocations: 371.3 kB / 0.5871 GB, free: 15.38 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008615/0.8398, allocations: 465.4 kB / 0.5876 GB, free: 15.26 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008465/0.8407, allocations: 484.5 kB / 0.5881 GB, free: 15.14 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.8417, allocations: 0.5471 MB / 0.5886 GB, free: 14.96 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.8417, allocations: 0.75 kB / 0.5886 GB, free: 14.96 MB / 446.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002289/0.844, allocations: 1.233 MB / 0.5898 GB, free: 14.57 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.8441, allocations: 4.969 kB / 0.5898 GB, free: 14.57 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.8441, allocations: 3.156 kB / 0.5898 GB, free: 14.57 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/0.8441, allocations: 5.609 kB / 0.5898 GB, free: 14.57 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.8453, allocations: 274.3 kB / 0.5901 GB, free: 14.54 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/0.8453, allocations: 5.562 kB / 0.5901 GB, free: 14.54 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.8456, allocations: 69.12 kB / 0.5901 GB, free: 14.48 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.625e-05/0.8457, allocations: 38.67 kB / 0.5902 GB, free: 14.48 MB / 446.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 (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002934/0.846, allocations: 214.4 kB / 0.5904 GB, free: 14.32 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-05/0.8461, allocations: 52.33 kB / 0.5904 GB, free: 14.29 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002622/0.8488, allocations: 1.394 MB / 0.5918 GB, free: 13.79 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.8488, allocations: 14.53 kB / 0.5918 GB, free: 13.79 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.8488, allocations: 0.7969 kB / 0.5918 GB, free: 13.79 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.065e-05/0.8489, allocations: 7.828 kB / 0.5918 GB, free: 13.79 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009932/0.8498, allocations: 0.7454 MB / 0.5925 GB, free: 13.4 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.8499, allocations: 7.891 kB / 0.5925 GB, free: 13.4 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/0.8513, allocations: 309.8 kB / 0.5928 GB, free: 13.37 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-05/0.8513, allocations: 5.578 kB / 0.5929 GB, free: 13.37 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.8514, allocations: 44.64 kB / 0.5929 GB, free: 13.36 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.808e-06/0.8515, allocations: 5.688 kB / 0.5929 GB, free: 13.36 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.8515, allocations: 0.7969 kB / 0.5929 GB, free: 13.36 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003138/0.8546, allocations: 1.843 MB / 0.5947 GB, free: 12.73 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000523/0.8552, allocations: 256.8 kB / 0.5949 GB, free: 12.57 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.8553, allocations: 36.17 kB / 0.595 GB, free: 12.55 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.8557, allocations: 25.19 kB / 0.595 GB, free: 12.54 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002443/0.8559, allocations: 85.67 kB / 0.5951 GB, free: 12.53 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.921e-05/0.856, allocations: 47.58 kB / 0.5951 GB, free: 12.52 MB / 446.3 MB Notification: Performance of sorting global known variables: time 0.0001624/0.8562, allocations: 131.2 kB / 0.5953 GB, free: 12.43 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8562, allocations: 4 kB / 0.5953 GB, free: 12.43 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.000898/0.8571, allocations: 229.9 kB / 0.5955 GB, free: 12.39 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002875/0.8574, allocations: 158.4 kB / 0.5956 GB, free: 12.27 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.002235/0.8597, allocations: 1.142 MB / 0.5967 GB, free: 11.97 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.8597, allocations: 0.9062 kB / 0.5967 GB, free: 11.97 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.8607, allocations: 0.6323 MB / 0.5974 GB, free: 11.8 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.8612, allocations: 102.7 kB / 0.5975 GB, free: 11.75 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/0.8659, allocations: 3.348 MB / 0.6007 GB, free: 9.812 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.8664, allocations: 0.9223 MB / 0.6016 GB, free: 9.105 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0009781/0.8674, allocations: 368.1 kB / 0.602 GB, free: 9.043 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/0.8677, allocations: 94.14 kB / 0.6021 GB, free: 9.027 MB / 446.3 MB Notification: Performance of SimCode: time 1.723e-06/0.8677, allocations: 0 / 0.6021 GB, free: 9.027 MB / 446.3 MB Notification: Performance of Templates: time 0.01757/0.8853, allocations: 8.734 MB / 0.6106 GB, free: 4.996 MB / 446.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches