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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 109.2 kB / 21.18 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 214.2 kB / 24.49 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.9552/0.9552, allocations: 120.6 MB / 435.3 MB, free: 0.8477 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 63.91 kB / 0.6096 GB, free: 8.832 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.15, allocations: 85.87 MB / 0.6934 GB, free: 2.75 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002502/0.1525, allocations: 1.411 MB / 0.6948 GB, free: 1.332 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.1535, allocations: 0.5691 MB / 0.6953 GB, free: 0.7617 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.1535, allocations: 4 kB / 0.6954 GB, free: 0.7578 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 9.116e-05/0.1536, allocations: 7.922 kB / 0.6954 GB, free: 0.75 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.1539, allocations: 63.72 kB / 0.6954 GB, free: 0.6875 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001251/0.1541, allocations: 43.88 kB / 0.6955 GB, free: 0.6445 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0005623/0.1546, allocations: 0.5498 MB / 0.696 GB, free: 96 kB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.1547, allocations: 4.188 kB / 0.696 GB, free: 92 kB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003162/0.155, allocations: 207.7 kB / 0.6962 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004574/0.1554, allocations: 279.5 kB / 0.6965 GB, free: 15.61 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 6.598e-05/0.1555, allocations: 32 kB / 0.6965 GB, free: 15.58 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.1557, allocations: 59.97 kB / 0.6966 GB, free: 15.52 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0002935/0.156, allocations: 243.4 kB / 0.6968 GB, free: 15.29 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.0002613/0.1562, allocations: 230.9 kB / 0.697 GB, free: 15.06 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.0004756/0.1567, allocations: 446.1 kB / 0.6974 GB, free: 14.62 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1567, allocations: 0 / 0.6974 GB, free: 14.62 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1567, allocations: 0 / 0.6974 GB, free: 14.62 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.1567, allocations: 0 / 0.6974 GB, free: 14.62 MB / 0.5295 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.001779/0.1585, allocations: 0.759 MB / 0.6982 GB, free: 13.83 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1585, allocations: 12.02 kB / 0.6982 GB, free: 13.82 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.1586, allocations: 44.7 kB / 0.6982 GB, free: 13.78 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/0.1591, allocations: 269.4 kB / 0.6985 GB, free: 13.49 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.1592, allocations: 29 kB / 0.6985 GB, free: 13.46 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.1593, allocations: 59.91 kB / 0.6986 GB, free: 13.4 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009528/0.1602, allocations: 0.5879 MB / 0.6991 GB, free: 12.81 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1602, allocations: 0 / 0.6991 GB, free: 12.81 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.058e-05/0.1603, allocations: 16 kB / 0.6992 GB, free: 12.79 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.1603, allocations: 15.94 kB / 0.6992 GB, free: 12.78 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009308/0.1612, allocations: 0.5855 MB / 0.6997 GB, free: 12.19 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008628/0.1621, allocations: 0.5933 MB / 0.7003 GB, free: 11.56 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/0.1655, allocations: 1.329 MB / 0.7016 GB, free: 10.21 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006834/0.1662, allocations: 427.6 kB / 0.702 GB, free: 9.797 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001925/0.1664, allocations: 32.89 kB / 0.7021 GB, free: 9.762 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.1664, allocations: 43.56 kB / 0.7021 GB, free: 9.711 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=103): time 2.364e-06/0.1664, allocations: 0 / 0.7021 GB, free: 9.711 MB / 0.5295 GB Notification: Performance of matching and sorting (n=103): time 0.002262/0.1687, allocations: 1.346 MB / 0.7034 GB, free: 8.363 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.1687, allocations: 68.41 kB / 0.7035 GB, free: 8.285 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.1689, allocations: 179.2 kB / 0.7037 GB, free: 8.102 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 5.891e-05/0.169, allocations: 41.7 kB / 0.7037 GB, free: 8.055 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 8.198e-05/0.169, allocations: 114.1 kB / 0.7038 GB, free: 7.938 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003844/0.1694, allocations: 420.4 kB / 0.7042 GB, free: 7.523 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.1697, allocations: 198.9 kB / 0.7044 GB, free: 7.32 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.1699, allocations: 370.7 kB / 0.7047 GB, free: 6.949 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007552/0.1706, allocations: 470.3 kB / 0.7052 GB, free: 6.492 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007821/0.1714, allocations: 499.4 kB / 0.7057 GB, free: 6 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.173, allocations: 1.036 MB / 0.7067 GB, free: 4.961 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.173, allocations: 0 / 0.7067 GB, free: 4.961 MB / 0.5295 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001943/0.175, allocations: 1.246 MB / 0.7079 GB, free: 3.707 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.175, allocations: 4 kB / 0.7079 GB, free: 3.703 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.175, allocations: 0 / 0.7079 GB, free: 3.703 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.175, allocations: 8 kB / 0.7079 GB, free: 3.695 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.1761, allocations: 267.6 kB / 0.7082 GB, free: 3.434 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.1761, allocations: 8 kB / 0.7082 GB, free: 3.426 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/0.1765, allocations: 75.36 kB / 0.7082 GB, free: 3.352 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-05/0.1765, allocations: 47.98 kB / 0.7083 GB, free: 3.305 MB / 0.5295 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.0002706/0.1768, allocations: 217.5 kB / 0.7085 GB, free: 3.082 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.83e-05/0.1769, allocations: 43.72 kB / 0.7085 GB, free: 3.039 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/0.1792, allocations: 1.381 MB / 0.7099 GB, free: 1.656 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.1792, allocations: 16 kB / 0.7099 GB, free: 1.641 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1792, allocations: 0 / 0.7099 GB, free: 1.641 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.1792, allocations: 7.969 kB / 0.7099 GB, free: 1.633 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000941/0.1802, allocations: 0.7222 MB / 0.7106 GB, free: 0.8672 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1802, allocations: 4 kB / 0.7106 GB, free: 0.8633 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/0.1816, allocations: 303.7 kB / 0.7109 GB, free: 0.5664 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.1816, allocations: 8 kB / 0.7109 GB, free: 0.5586 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-05/0.1817, allocations: 43.97 kB / 0.711 GB, free: 0.5156 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/0.1817, allocations: 11.98 kB / 0.711 GB, free: 0.5039 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1817, allocations: 3.938 kB / 0.711 GB, free: 0.5 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002776/0.1845, allocations: 1.851 MB / 0.7128 GB, free: 14.63 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004215/0.1849, allocations: 187.1 kB / 0.713 GB, free: 14.45 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.185, allocations: 31.98 kB / 0.713 GB, free: 14.41 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.1854, allocations: 28 kB / 0.713 GB, free: 14.39 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.1855, allocations: 93.08 kB / 0.7131 GB, free: 14.29 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.137e-05/0.1856, allocations: 39.98 kB / 0.7131 GB, free: 14.25 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.0001112/0.1857, allocations: 128.3 kB / 0.7133 GB, free: 14.13 MB / 0.5452 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1857, allocations: 0 / 0.7133 GB, free: 14.13 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0005105/0.1862, allocations: 239.9 kB / 0.7135 GB, free: 13.89 MB / 0.5452 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.0002416/0.1864, allocations: 167.7 kB / 0.7137 GB, free: 13.72 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.001719/0.1882, allocations: 1.085 MB / 0.7147 GB, free: 12.64 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1882, allocations: 0 / 0.7147 GB, free: 12.64 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0008936/0.1891, allocations: 0.5968 MB / 0.7153 GB, free: 12.04 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.1895, allocations: 119.9 kB / 0.7154 GB, free: 11.93 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004245/0.1937, allocations: 2.889 MB / 0.7182 GB, free: 8.992 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/0.1943, allocations: 0.9192 MB / 0.7191 GB, free: 8.051 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003639/0.1947, allocations: 95.41 kB / 0.7192 GB, free: 7.957 MB / 0.5452 GB Notification: Performance of SimCode: time 9.72e-07/0.1947, allocations: 0 / 0.7192 GB, free: 7.957 MB / 0.5452 GB Notification: Performance of Templates: time 0.01458/0.2093, allocations: 9.62 MB / 0.7286 GB, free: 14.36 MB / 0.5608 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (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) [Timeout 300] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 16.27867138804868]