Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.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_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 109.6 kB / 17.06 MB, free: 5.824 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.002001/0.002002, allocations: 192.7 kB / 18 MB, free: 4.977 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.42/1.42, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.123/1.123, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 64.92 kB / 0.5724 GB, free: 38.83 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1844, allocations: 80.69 MB / 0.6512 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002561/0.187, allocations: 1.386 MB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009407/0.188, allocations: 0.5146 MB / 0.653 GB, free: 9.668 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.1881, allocations: 3.938 kB / 0.653 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.383e-05/0.1882, allocations: 7.922 kB / 0.653 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.1885, allocations: 51.75 kB / 0.6531 GB, free: 9.605 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001137/0.1886, allocations: 43.88 kB / 0.6531 GB, free: 9.562 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0009134/0.1896, allocations: 1.022 MB / 0.6541 GB, free: 8.539 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.655e-05/0.1896, allocations: 16.12 kB / 0.6541 GB, free: 8.523 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003941/0.19, allocations: 359.6 kB / 0.6545 GB, free: 8.172 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000746/0.1908, allocations: 0.5185 MB / 0.655 GB, free: 7.652 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.1909, allocations: 60 kB / 0.655 GB, free: 7.594 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.1911, allocations: 79.97 kB / 0.6551 GB, free: 7.516 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0004753/0.1916, allocations: 467 kB / 0.6556 GB, free: 7.059 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004505/0.192, allocations: 449.9 kB / 0.656 GB, free: 6.617 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0007323/0.1928, allocations: 0.8252 MB / 0.6568 GB, free: 5.789 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1928, allocations: 0 / 0.6568 GB, free: 5.789 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1928, allocations: 0 / 0.6568 GB, free: 5.789 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.1928, allocations: 0 / 0.6568 GB, free: 5.789 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00292/0.1957, allocations: 1.281 MB / 0.658 GB, free: 4.457 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.1958, allocations: 15.89 kB / 0.6581 GB, free: 4.441 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.196, allocations: 84 kB / 0.6581 GB, free: 4.359 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006604/0.1967, allocations: 481.5 kB / 0.6586 GB, free: 3.848 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.805e-05/0.1967, allocations: 66 kB / 0.6587 GB, free: 3.785 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.1969, allocations: 111.7 kB / 0.6588 GB, free: 3.676 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.1987, allocations: 1.139 MB / 0.6599 GB, free: 2.531 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.1987, allocations: 0 / 0.6599 GB, free: 2.531 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.754e-05/0.1988, allocations: 31.94 kB / 0.6599 GB, free: 2.5 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.1988, allocations: 27.92 kB / 0.6599 GB, free: 2.473 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.2007, allocations: 1.261 MB / 0.6612 GB, free: 1.207 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.2022, allocations: 1.088 MB / 0.6622 GB, free: 68 kB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006399/0.2086, allocations: 2.781 MB / 0.6649 GB, free: 13.29 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.2101, allocations: 0.8851 MB / 0.6658 GB, free: 12.4 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003603/0.2105, allocations: 123 kB / 0.6659 GB, free: 12.26 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.501e-05/0.2106, allocations: 56.56 kB / 0.666 GB, free: 12.2 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=203): time 6.262e-06/0.2106, allocations: 0 / 0.666 GB, free: 12.2 MB / 0.5139 GB Notification: Performance of matching and sorting (n=203): time 0.004557/0.2152, allocations: 2.652 MB / 0.6686 GB, free: 9.547 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/0.2153, allocations: 73.41 kB / 0.6686 GB, free: 9.461 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.2156, allocations: 233 kB / 0.6689 GB, free: 9.223 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.2157, allocations: 57.7 kB / 0.6689 GB, free: 9.16 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.2158, allocations: 127.3 kB / 0.669 GB, free: 9.031 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007594/0.2166, allocations: 0.774 MB / 0.6698 GB, free: 8.246 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005196/0.2171, allocations: 384.3 kB / 0.6702 GB, free: 7.863 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.2173, allocations: 325.9 kB / 0.6705 GB, free: 7.539 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.2187, allocations: 0.9216 MB / 0.6714 GB, free: 6.613 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/0.2202, allocations: 0.9525 MB / 0.6723 GB, free: 5.652 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00317/0.2233, allocations: 2.059 MB / 0.6743 GB, free: 3.562 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.2234, allocations: 0 / 0.6743 GB, free: 3.562 MB / 0.5139 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003779/0.2272, allocations: 2.434 MB / 0.6767 GB, free: 1.082 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.2272, allocations: 11.98 kB / 0.6767 GB, free: 1.07 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.2272, allocations: 4 kB / 0.6767 GB, free: 1.066 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.329e-05/0.2273, allocations: 8 kB / 0.6767 GB, free: 1.059 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/0.2293, allocations: 0.5189 MB / 0.6772 GB, free: 0.5391 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-05/0.2293, allocations: 8 kB / 0.6772 GB, free: 0.5312 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007192/0.23, allocations: 146.3 kB / 0.6774 GB, free: 396 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.2302, allocations: 79.97 kB / 0.6774 GB, free: 316 kB / 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 (284): * Single equations (assignments): 284 * 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.0004848/0.2307, allocations: 306.1 kB / 0.6777 GB, free: 0 / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.2309, allocations: 83.23 kB / 0.6778 GB, free: 15.91 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004659/0.2355, allocations: 2.72 MB / 0.6805 GB, free: 13.14 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-05/0.2356, allocations: 28 kB / 0.6805 GB, free: 13.11 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.2356, allocations: 0 / 0.6805 GB, free: 13.11 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/0.2357, allocations: 15.95 kB / 0.6805 GB, free: 13.1 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.2376, allocations: 1.346 MB / 0.6818 GB, free: 11.7 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.2376, allocations: 0 / 0.6818 GB, free: 11.7 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002745/0.2404, allocations: 0.5853 MB / 0.6824 GB, free: 11.12 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.904e-05/0.2404, allocations: 12 kB / 0.6824 GB, free: 11.11 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002076/0.2406, allocations: 91.92 kB / 0.6825 GB, free: 11.02 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/0.2406, allocations: 12 kB / 0.6825 GB, free: 11 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2406, allocations: 0 / 0.6825 GB, free: 11 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005464/0.2461, allocations: 3.619 MB / 0.686 GB, free: 7.305 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000667/0.2468, allocations: 418.9 kB / 0.6864 GB, free: 6.875 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/0.247, allocations: 83.95 kB / 0.6865 GB, free: 6.793 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006607/0.2477, allocations: 44 kB / 0.6866 GB, free: 6.75 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000298/0.248, allocations: 162 kB / 0.6867 GB, free: 6.59 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/0.2481, allocations: 79.97 kB / 0.6868 GB, free: 6.512 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.000176/0.2483, allocations: 172.5 kB / 0.687 GB, free: 6.348 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2483, allocations: 0 / 0.687 GB, free: 6.348 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0009187/0.2493, allocations: 444 kB / 0.6874 GB, free: 5.914 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (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],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],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],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40]) * 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 (284): * Single equations (assignments): 284 * 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.0004095/0.2497, allocations: 233.4 kB / 0.6876 GB, free: 5.68 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.003836/0.2535, allocations: 2.286 MB / 0.6898 GB, free: 3.363 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.2535, allocations: 0 / 0.6898 GB, free: 3.363 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.2554, allocations: 1.258 MB / 0.6911 GB, free: 2.102 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009996/0.2564, allocations: 211.9 kB / 0.6913 GB, free: 1.895 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008138/0.2646, allocations: 5.464 MB / 0.6966 GB, free: 12.39 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007873/0.2654, allocations: 1.155 MB / 0.6977 GB, free: 11.2 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001885/0.2673, allocations: 0.7356 MB / 0.6984 GB, free: 10.46 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006099/0.2679, allocations: 167.4 kB / 0.6986 GB, free: 10.3 MB / 0.5452 GB Notification: Performance of SimCode: time 1.162e-06/0.2679, allocations: 0 / 0.6986 GB, free: 10.3 MB / 0.5452 GB Notification: Performance of Templates: time 0.03519/0.3031, allocations: 19.31 MB / 0.7175 GB, free: 7.051 MB / 0.5608 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches