Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.002364/0.002364, allocations: 94.11 kB / 16.3 MB, free: 5.996 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.00196/0.00196, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.507/1.507, allocations: 223.2 MB / 241.1 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9111/0.9111, allocations: 120.5 MB / 412.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003388, allocations: 8 kB / 0.4955 GB, free: 9.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2162, allocations: 82.84 MB / 0.5764 GB, free: 6.816 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001653/0.2179, allocations: 1.065 MB / 0.5774 GB, free: 5.738 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009967/0.2189, allocations: 495.7 kB / 0.5779 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.703e-05/0.219, allocations: 3.938 kB / 0.5779 GB, free: 5.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.2191, allocations: 7.922 kB / 0.5779 GB, free: 5.242 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.2195, allocations: 43.94 kB / 0.5779 GB, free: 5.199 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.2196, allocations: 31.83 kB / 0.578 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.2199, allocations: 203.7 kB / 0.5782 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.404e-05/0.22, allocations: 4.188 kB / 0.5782 GB, free: 4.965 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002537/0.2202, allocations: 115.8 kB / 0.5783 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.2206, allocations: 143.8 kB / 0.5784 GB, free: 4.711 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.032e-05/0.2206, allocations: 16 kB / 0.5784 GB, free: 4.695 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.2208, allocations: 35.97 kB / 0.5785 GB, free: 4.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.2209, allocations: 115.8 kB / 0.5786 GB, free: 4.547 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.221, allocations: 57.58 kB / 0.5786 GB, free: 4.484 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.2213, allocations: 159.9 kB / 0.5788 GB, free: 4.328 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.2213, allocations: 0 / 0.5788 GB, free: 4.328 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2213, allocations: 0 / 0.5788 GB, free: 4.328 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.2213, allocations: 0 / 0.5788 GB, free: 4.328 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001205/0.2225, allocations: 0.5692 MB / 0.5793 GB, free: 3.711 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.2226, allocations: 12.03 kB / 0.5793 GB, free: 3.699 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.573e-05/0.2227, allocations: 27.67 kB / 0.5794 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.2231, allocations: 251.1 kB / 0.5796 GB, free: 3.387 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.2231, allocations: 16.44 kB / 0.5796 GB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.56e-05/0.2232, allocations: 31.91 kB / 0.5797 GB, free: 3.336 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005482/0.2237, allocations: 307.1 kB / 0.58 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2238, allocations: 0 / 0.58 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.2238, allocations: 12 kB / 0.58 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.2238, allocations: 4 kB / 0.58 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/0.2243, allocations: 293.5 kB / 0.5802 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.2249, allocations: 399.3 kB / 0.5806 GB, free: 2.289 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.2267, allocations: 0.6844 MB / 0.5813 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/0.2269, allocations: 97.52 kB / 0.5814 GB, free: 1.484 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.227, allocations: 39 kB / 0.5814 GB, free: 1.438 MB / 446.1 MB Notification: Performance of pre-optimization done (n=53): time 1.823e-06/0.227, allocations: 0 / 0.5814 GB, free: 1.438 MB / 446.1 MB Notification: Performance of matching and sorting (n=53): time 0.001212/0.2282, allocations: 0.6878 MB / 0.5821 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.2282, allocations: 63.98 kB / 0.5822 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.2284, allocations: 154.9 kB / 0.5823 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.2284, allocations: 29.7 kB / 0.5823 GB, free: 472 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.2285, allocations: 101.1 kB / 0.5824 GB, free: 368 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.2287, allocations: 205 kB / 0.5826 GB, free: 160 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.2287, allocations: 16 kB / 0.5826 GB, free: 144 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.5727/0.8015, allocations: 338.8 kB / 0.583 GB, free: 16.46 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000641/0.8021, allocations: 230.7 kB / 0.5832 GB, free: 16.45 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/0.8026, allocations: 242.5 kB / 0.5834 GB, free: 16.45 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005283/0.8032, allocations: 285.2 kB / 0.5837 GB, free: 16.45 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.8032, allocations: 1.625 kB / 0.5837 GB, free: 16.45 MB / 446.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001141/0.8043, allocations: 0.6406 MB / 0.5843 GB, free: 16.4 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.8044, allocations: 6.016 kB / 0.5843 GB, free: 16.4 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.8044, allocations: 0 / 0.5843 GB, free: 16.4 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.8044, allocations: 4.25 kB / 0.5843 GB, free: 16.4 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006409/0.805, allocations: 138.6 kB / 0.5845 GB, free: 16.4 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.8051, allocations: 11.64 kB / 0.5845 GB, free: 16.39 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.8053, allocations: 34.88 kB / 0.5845 GB, free: 16.39 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.736e-05/0.8053, allocations: 22.27 kB / 0.5845 GB, free: 16.39 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 (74): * Single equations (assignments): 74 * 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.000186/0.8055, allocations: 161.7 kB / 0.5847 GB, free: 16.28 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.8056, allocations: 31.16 kB / 0.5847 GB, free: 16.28 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.807, allocations: 0.729 MB / 0.5854 GB, free: 16.21 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.807, allocations: 6.875 kB / 0.5854 GB, free: 16.21 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.807, allocations: 2.469 kB / 0.5854 GB, free: 16.21 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.8071, allocations: 7.797 kB / 0.5854 GB, free: 16.21 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.8076, allocations: 455.3 kB / 0.5859 GB, free: 16 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.8077, allocations: 0 / 0.5859 GB, free: 16 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007803/0.8084, allocations: 161.3 kB / 0.586 GB, free: 16 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.8085, allocations: 3.281 kB / 0.586 GB, free: 16 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.549e-05/0.8085, allocations: 22.58 kB / 0.586 GB, free: 16 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.8085, allocations: 2.719 kB / 0.586 GB, free: 16 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.8085, allocations: 4.641 kB / 0.5861 GB, free: 15.99 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.8102, allocations: 0.9673 MB / 0.587 GB, free: 15.77 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/0.8104, allocations: 164.8 kB / 0.5872 GB, free: 15.64 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.151e-05/0.8105, allocations: 24.78 kB / 0.5872 GB, free: 15.63 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.8107, allocations: 10.5 kB / 0.5872 GB, free: 15.62 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.8108, allocations: 45.95 kB / 0.5872 GB, free: 15.62 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.8108, allocations: 20.08 kB / 0.5873 GB, free: 15.61 MB / 446.3 MB Notification: Performance of sorting global known variables: time 7.27e-05/0.8109, allocations: 113.6 kB / 0.5874 GB, free: 15.53 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8109, allocations: 0 / 0.5874 GB, free: 15.53 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.00041/0.8113, allocations: 124.7 kB / 0.5875 GB, free: 15.51 MB / 446.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 (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.0001942/0.8115, allocations: 141.4 kB / 0.5876 GB, free: 15.4 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.8126, allocations: 0.5763 MB / 0.5882 GB, free: 15.26 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8126, allocations: 0 / 0.5882 GB, free: 15.26 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000502/0.8131, allocations: 329.4 kB / 0.5885 GB, free: 15.17 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.8134, allocations: 50.23 kB / 0.5885 GB, free: 15.14 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.8161, allocations: 1.776 MB / 0.5903 GB, free: 14.11 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.8165, allocations: 0.8231 MB / 0.5911 GB, free: 13.4 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0005113/0.817, allocations: 172.3 kB / 0.5912 GB, free: 13.38 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.8172, allocations: 50.97 kB / 0.5913 GB, free: 13.38 MB / 446.3 MB Notification: Performance of SimCode: time 4.01e-07/0.8172, allocations: 0 / 0.5913 GB, free: 13.38 MB / 446.3 MB Notification: Performance of Templates: time 0.01226/0.8295, allocations: 4.675 MB / 0.5959 GB, free: 12.88 MB / 446.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches