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.001466/0.001466, allocations: 114.6 kB / 17.07 MB, free: 5.969 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.001678/0.001678, allocations: 194.8 kB / 18.01 MB, free: 5.051 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.486/1.486, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.101/1.101, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.001751, allocations: 61.77 kB / 0.5724 GB, free: 38.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1936, 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_10): time 0.003467/0.1971, allocations: 1.382 MB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.1983, allocations: 0.5185 MB / 0.653 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.225e-05/0.1984, allocations: 0 / 0.653 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.1985, allocations: 7.922 kB / 0.653 GB, free: 9.648 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004017/0.199, allocations: 59.73 kB / 0.6531 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.1992, allocations: 35.89 kB / 0.6531 GB, free: 9.555 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003847/0.1996, allocations: 315.4 kB / 0.6534 GB, free: 9.246 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.547e-05/0.1997, allocations: 12.11 kB / 0.6534 GB, free: 9.234 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/0.1999, allocations: 119.8 kB / 0.6536 GB, free: 9.117 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.2003, allocations: 163.6 kB / 0.6537 GB, free: 8.957 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.432e-05/0.2004, allocations: 19.94 kB / 0.6537 GB, free: 8.938 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.2005, allocations: 39.97 kB / 0.6538 GB, free: 8.898 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.2007, allocations: 115.7 kB / 0.6539 GB, free: 8.785 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.2009, allocations: 127.4 kB / 0.654 GB, free: 8.66 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.2013, allocations: 239 kB / 0.6542 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.2013, allocations: 8 kB / 0.6542 GB, free: 8.418 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2013, allocations: 0 / 0.6542 GB, free: 8.418 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.2014, allocations: 0 / 0.6542 GB, free: 8.418 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001463/0.2028, allocations: 0.5807 MB / 0.6548 GB, free: 7.789 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.2029, allocations: 11.89 kB / 0.6548 GB, free: 7.777 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.203, allocations: 28.75 kB / 0.6548 GB, free: 7.75 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.2034, allocations: 263.7 kB / 0.6551 GB, free: 7.453 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.2035, allocations: 16.44 kB / 0.6551 GB, free: 7.438 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.07e-05/0.2035, allocations: 31.95 kB / 0.6551 GB, free: 7.406 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/0.2041, allocations: 319 kB / 0.6554 GB, free: 7.086 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.2041, allocations: 0 / 0.6554 GB, free: 7.086 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.2042, allocations: 8 kB / 0.6554 GB, free: 7.078 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.2042, allocations: 4 kB / 0.6555 GB, free: 7.074 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004787/0.2047, allocations: 293.5 kB / 0.6557 GB, free: 6.789 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000573/0.2053, allocations: 395.3 kB / 0.6561 GB, free: 6.352 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.2071, allocations: 0.6688 MB / 0.6568 GB, free: 5.68 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/0.2074, allocations: 242 kB / 0.657 GB, free: 5.441 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002013/0.2077, allocations: 97.52 kB / 0.6571 GB, free: 5.328 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.2077, allocations: 35 kB / 0.6571 GB, free: 5.285 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=53): time 1.573e-06/0.2077, allocations: 0 / 0.6571 GB, free: 5.285 MB / 0.4983 GB Notification: Performance of matching and sorting (n=53): time 0.001223/0.2089, allocations: 0.6957 MB / 0.6578 GB, free: 4.578 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.209, allocations: 59.84 kB / 0.6579 GB, free: 4.508 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.2092, allocations: 149 kB / 0.658 GB, free: 4.348 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.2092, allocations: 41.7 kB / 0.658 GB, free: 4.301 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.2093, allocations: 93.14 kB / 0.6581 GB, free: 4.203 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.2095, allocations: 218.2 kB / 0.6583 GB, free: 3.988 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.2097, allocations: 110.3 kB / 0.6584 GB, free: 3.875 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.2099, allocations: 338.8 kB / 0.6588 GB, free: 3.535 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.2102, allocations: 245.1 kB / 0.659 GB, free: 3.297 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003832/0.2106, allocations: 241.7 kB / 0.6592 GB, free: 3.059 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008688/0.2115, allocations: 0.5282 MB / 0.6597 GB, free: 2.527 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2115, allocations: 4 kB / 0.6597 GB, free: 2.523 MB / 0.4983 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009862/0.2125, allocations: 0.6454 MB / 0.6604 GB, free: 1.871 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.2125, allocations: 7.984 kB / 0.6604 GB, free: 1.863 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2126, allocations: 3.938 kB / 0.6604 GB, free: 1.859 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.2126, allocations: 4 kB / 0.6604 GB, free: 1.855 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005951/0.2132, allocations: 151.8 kB / 0.6605 GB, free: 1.707 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.2132, allocations: 0 / 0.6605 GB, free: 1.707 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.2135, allocations: 43.62 kB / 0.6606 GB, free: 1.664 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/0.2135, allocations: 23.98 kB / 0.6606 GB, free: 1.641 MB / 0.4983 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 (74): * Single equations (assignments): 74 * 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.0002063/0.2137, allocations: 166.5 kB / 0.6608 GB, free: 1.469 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-05/0.2138, allocations: 23.86 kB / 0.6608 GB, free: 1.445 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.2151, allocations: 0.7283 MB / 0.6615 GB, free: 0.7148 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.2151, allocations: 11.94 kB / 0.6615 GB, free: 0.7031 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2152, allocations: 0 / 0.6615 GB, free: 0.7031 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.2152, allocations: 3.984 kB / 0.6615 GB, free: 0.6992 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005849/0.2158, allocations: 453.8 kB / 0.6619 GB, free: 212 kB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.2158, allocations: 0 / 0.6619 GB, free: 212 kB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007626/0.2165, allocations: 155.9 kB / 0.6621 GB, free: 56 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/0.2166, allocations: 7.938 kB / 0.6621 GB, free: 48 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.676e-05/0.2166, allocations: 19.98 kB / 0.6621 GB, free: 28 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.2166, allocations: 11.94 kB / 0.6621 GB, free: 16 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2167, allocations: 0 / 0.6621 GB, free: 16 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.2182, allocations: 0.9633 MB / 0.6631 GB, free: 15.03 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.2184, allocations: 176.8 kB / 0.6632 GB, free: 14.84 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.771e-05/0.2185, allocations: 16 kB / 0.6633 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.2187, allocations: 12 kB / 0.6633 GB, free: 14.81 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.611e-05/0.2188, allocations: 44.59 kB / 0.6633 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/0.2189, allocations: 27.98 kB / 0.6633 GB, free: 14.74 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001087/0.219, allocations: 111.2 kB / 0.6634 GB, free: 14.63 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.573e-06/0.219, allocations: 0 / 0.6634 GB, free: 14.63 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004044/0.2194, allocations: 123.9 kB / 0.6636 GB, free: 14.51 MB / 0.5139 GB 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 (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.0002445/0.2197, allocations: 139 kB / 0.6637 GB, free: 14.36 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.2207, allocations: 0.5833 MB / 0.6643 GB, free: 13.78 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2207, allocations: 0 / 0.6643 GB, free: 13.78 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.2212, allocations: 335.5 kB / 0.6646 GB, free: 13.45 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.2216, allocations: 59.58 kB / 0.6646 GB, free: 13.4 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.2241, allocations: 1.521 MB / 0.6661 GB, free: 11.85 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.2245, allocations: 0.8167 MB / 0.6669 GB, free: 11 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0004057/0.225, allocations: 175.1 kB / 0.6671 GB, free: 10.83 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.2251, allocations: 51.42 kB / 0.6671 GB, free: 10.79 MB / 0.5139 GB Notification: Performance of SimCode: time 6.71e-07/0.2251, allocations: 0 / 0.6671 GB, free: 10.79 MB / 0.5139 GB Notification: Performance of Templates: time 0.01143/0.2366, allocations: 5.355 MB / 0.6724 GB, free: 5.477 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (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) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches