Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 120.1 kB / 17.79 MB, free: 5.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 190.8 kB / 20.73 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 249.1 MB, free: 3.586 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7543/0.7543, allocations: 120.6 MB / 424.6 MB, free: 5.531 MB / 350.1 MB " [Timeout remaining time 179] 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=21600,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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.83 kB / 0.5951 GB, free: 1.105 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5635/0.5655, allocations: 84.64 MB / 0.6778 GB, free: 17.09 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001905/0.5674, allocations: 1.392 MB / 0.6791 GB, free: 15.98 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0006965/0.5681, allocations: 0.5204 MB / 0.6796 GB, free: 15.58 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.5681, allocations: 1.375 kB / 0.6796 GB, free: 15.58 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 7.761e-05/0.5682, allocations: 7.922 kB / 0.6797 GB, free: 15.57 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.5685, allocations: 66.94 kB / 0.6797 GB, free: 15.52 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 9.664e-05/0.5686, allocations: 33.97 kB / 0.6797 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0003818/0.5689, allocations: 0.5453 MB / 0.6803 GB, free: 15.21 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.465e-05/0.569, allocations: 9.703 kB / 0.6803 GB, free: 15.2 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.5692, allocations: 202.3 kB / 0.6805 GB, free: 15.11 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/0.5695, allocations: 281.2 kB / 0.6807 GB, free: 14.95 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 7.01e-05/0.5696, allocations: 29.53 kB / 0.6808 GB, free: 14.95 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.5698, allocations: 52.56 kB / 0.6808 GB, free: 14.94 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.57, allocations: 241.7 kB / 0.6811 GB, free: 14.79 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.5702, allocations: 235.9 kB / 0.6813 GB, free: 14.65 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.5705, allocations: 446.3 kB / 0.6817 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5705, allocations: 0 / 0.6817 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5705, allocations: 0 / 0.6817 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.5705, allocations: 0 / 0.6817 GB, free: 14.39 MB / 0.5139 GB 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.001511/0.5721, allocations: 0.8283 MB / 0.6825 GB, free: 13.76 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.5721, allocations: 16.67 kB / 0.6825 GB, free: 13.75 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.5722, allocations: 48.66 kB / 0.6826 GB, free: 13.73 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.5725, allocations: 331.9 kB / 0.6829 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.5725, allocations: 33.41 kB / 0.6829 GB, free: 13.42 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.581e-05/0.5726, allocations: 56.75 kB / 0.683 GB, free: 13.39 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008228/0.5735, allocations: 0.5894 MB / 0.6836 GB, free: 13.05 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.5735, allocations: 5.281 kB / 0.6836 GB, free: 13.05 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/0.5735, allocations: 14.5 kB / 0.6836 GB, free: 13.04 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.5735, allocations: 10.09 kB / 0.6836 GB, free: 13.04 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008333/0.5744, allocations: 0.5825 MB / 0.6842 GB, free: 12.81 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006774/0.5751, allocations: 0.6146 MB / 0.6848 GB, free: 12.36 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003071/0.5781, allocations: 1.324 MB / 0.686 GB, free: 11.77 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005773/0.5787, allocations: 434.7 kB / 0.6865 GB, free: 11.57 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001963/0.5789, allocations: 103.6 kB / 0.6866 GB, free: 11.46 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.5789, allocations: 48.61 kB / 0.6866 GB, free: 11.41 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=103): time 2.124e-06/0.5789, allocations: 0 / 0.6866 GB, free: 11.41 MB / 0.5139 GB Notification: Performance of matching and sorting (n=103): time 0.001938/0.5809, allocations: 1.347 MB / 0.6879 GB, free: 10.81 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.5809, allocations: 62.69 kB / 0.688 GB, free: 10.75 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.581, allocations: 180.2 kB / 0.6882 GB, free: 10.61 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.581, allocations: 41.36 kB / 0.6882 GB, free: 10.56 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.5811, allocations: 106.8 kB / 0.6883 GB, free: 10.46 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.5813, allocations: 425.4 kB / 0.6887 GB, free: 10.09 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/0.5815, allocations: 195.5 kB / 0.6889 GB, free: 9.977 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 6.652e-05/0.5816, allocations: 375.8 kB / 0.6892 GB, free: 9.617 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006299/0.5822, allocations: 475.1 kB / 0.6897 GB, free: 9.41 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006419/0.5829, allocations: 488.6 kB / 0.6902 GB, free: 9.195 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.5842, allocations: 1.043 MB / 0.6912 GB, free: 8.711 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.5842, allocations: 0 / 0.6912 GB, free: 8.711 MB / 0.5139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00164/0.5858, allocations: 1.248 MB / 0.6924 GB, free: 8.141 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.5858, allocations: 5.281 kB / 0.6924 GB, free: 8.141 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5859, allocations: 0 / 0.6924 GB, free: 8.141 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.5859, allocations: 5.594 kB / 0.6924 GB, free: 8.141 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.5869, allocations: 271 kB / 0.6927 GB, free: 8.086 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.5869, allocations: 5 kB / 0.6927 GB, free: 8.086 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000375/0.5873, allocations: 77.41 kB / 0.6928 GB, free: 8.023 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.982e-05/0.5874, allocations: 38.77 kB / 0.6928 GB, free: 8.012 MB / 0.5139 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.5875, allocations: 213 kB / 0.693 GB, free: 7.832 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.835e-05/0.5876, allocations: 50.48 kB / 0.693 GB, free: 7.805 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.5896, allocations: 1.392 MB / 0.6944 GB, free: 7.082 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.5897, allocations: 13.75 kB / 0.6944 GB, free: 7.082 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5897, allocations: 0 / 0.6944 GB, free: 7.082 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.5897, allocations: 7.969 kB / 0.6944 GB, free: 7.074 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007292/0.5904, allocations: 0.7423 MB / 0.6951 GB, free: 6.543 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5904, allocations: 0 / 0.6951 GB, free: 6.543 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.5918, allocations: 305.3 kB / 0.6954 GB, free: 6.484 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.5918, allocations: 5.5 kB / 0.6954 GB, free: 6.484 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.002e-05/0.5919, allocations: 47.22 kB / 0.6955 GB, free: 6.457 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.5919, allocations: 9.5 kB / 0.6955 GB, free: 6.453 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5919, allocations: 3.938 kB / 0.6955 GB, free: 6.449 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/0.5943, allocations: 1.865 MB / 0.6973 GB, free: 5.566 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002655/0.5946, allocations: 252.5 kB / 0.6976 GB, free: 5.371 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.5947, allocations: 38.92 kB / 0.6976 GB, free: 5.348 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.595, allocations: 25.06 kB / 0.6976 GB, free: 5.328 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.5952, allocations: 90.78 kB / 0.6977 GB, free: 5.277 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.039e-05/0.5952, allocations: 43.77 kB / 0.6978 GB, free: 5.262 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.93e-05/0.5953, allocations: 134.6 kB / 0.6979 GB, free: 5.16 MB / 0.5139 GB Notification: Performance of sort global known variables: time 8e-08/0.5953, allocations: 0 / 0.6979 GB, free: 5.16 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004715/0.5958, allocations: 230.4 kB / 0.6981 GB, free: 5.125 MB / 0.5139 GB 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 (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.0001971/0.596, allocations: 163.7 kB / 0.6983 GB, free: 4.988 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.5974, allocations: 1.084 MB / 0.6993 GB, free: 4.555 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5975, allocations: 0 / 0.6993 GB, free: 4.555 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006795/0.5981, allocations: 0.6067 MB / 0.6999 GB, free: 4.074 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.5985, allocations: 107.9 kB / 0.7 GB, free: 3.969 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.6015, allocations: 2.849 MB / 0.7028 GB, free: 1.086 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.6017, allocations: 0.9258 MB / 0.7037 GB, free: 136 kB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0007324/0.6024, allocations: 368.8 kB / 0.704 GB, free: 15.77 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/0.6027, allocations: 87.41 kB / 0.7041 GB, free: 15.68 MB / 0.5295 GB Notification: Performance of SimCode: time 3.3e-07/0.6027, allocations: 4 kB / 0.7041 GB, free: 15.68 MB / 0.5295 GB Notification: Performance of Templates: time 0.01752/0.6203, allocations: 10.11 MB / 0.714 GB, free: 5.621 MB / 0.5295 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.791502150706947]