Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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.001302/0.001302, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001368/0.001368, allocations: 212.2 kB / 23.73 MB, free: 4.16 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.346/1.346, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.8966/0.8966, allocations: 120.6 MB / 434.5 MB, free: 0.6602 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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") [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.001919/0.001919, allocations: 71.91 kB / 0.6087 GB, free: 8.66 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1332, allocations: 85.87 MB / 0.6926 GB, free: 2.578 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002323/0.1355, allocations: 1.369 MB / 0.6939 GB, free: 1.203 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0008626/0.1364, allocations: 0.5224 MB / 0.6944 GB, free: 0.6797 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.152e-05/0.1364, allocations: 0 / 0.6944 GB, free: 0.6797 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 6.869e-05/0.1365, allocations: 7.922 kB / 0.6945 GB, free: 0.6719 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.1368, allocations: 63.72 kB / 0.6945 GB, free: 0.6094 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001134/0.1369, allocations: 43.83 kB / 0.6946 GB, free: 0.5664 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.000305/0.1372, allocations: 311.4 kB / 0.6949 GB, free: 268 kB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.1372, allocations: 4.188 kB / 0.6949 GB, free: 264 kB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.1374, allocations: 131.7 kB / 0.695 GB, free: 132 kB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.1377, allocations: 155.6 kB / 0.6951 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 4.578e-05/0.1377, allocations: 16 kB / 0.6951 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1378, allocations: 43.98 kB / 0.6952 GB, free: 15.92 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.138, allocations: 123.7 kB / 0.6953 GB, free: 15.8 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.1381, allocations: 111.5 kB / 0.6954 GB, free: 15.69 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.1384, allocations: 250.9 kB / 0.6957 GB, free: 15.44 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1384, allocations: 0 / 0.6957 GB, free: 15.44 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1384, allocations: 3.938 kB / 0.6957 GB, free: 15.44 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.1384, allocations: 0 / 0.6957 GB, free: 15.44 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000998/0.1394, allocations: 0.5093 MB / 0.6962 GB, free: 14.9 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1394, allocations: 16.03 kB / 0.6962 GB, free: 14.88 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.1395, allocations: 24.8 kB / 0.6962 GB, free: 14.86 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.1398, allocations: 197.9 kB / 0.6964 GB, free: 14.64 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.1398, allocations: 16.44 kB / 0.6964 GB, free: 14.62 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.573e-05/0.1399, allocations: 35.94 kB / 0.6964 GB, free: 14.59 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/0.1404, allocations: 311.1 kB / 0.6967 GB, free: 14.28 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1404, allocations: 0 / 0.6967 GB, free: 14.28 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.1404, allocations: 12 kB / 0.6967 GB, free: 14.27 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1404, allocations: 4 kB / 0.6967 GB, free: 14.26 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.1409, allocations: 289.5 kB / 0.697 GB, free: 13.98 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.1413, allocations: 299 kB / 0.6973 GB, free: 13.66 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.1429, allocations: 0.6579 MB / 0.6979 GB, free: 12.99 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.1433, allocations: 218 kB / 0.6982 GB, free: 12.78 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.1434, allocations: 16.44 kB / 0.6982 GB, free: 12.76 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.1434, allocations: 38.98 kB / 0.6982 GB, free: 12.71 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=53): time 1.683e-06/0.1434, allocations: 4 kB / 0.6982 GB, free: 12.71 MB / 0.5295 GB Notification: Performance of matching and sorting (n=53): time 0.001138/0.1446, allocations: 0.6958 MB / 0.6989 GB, free: 12 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.1446, allocations: 63.84 kB / 0.699 GB, free: 11.93 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1447, allocations: 148.2 kB / 0.6991 GB, free: 11.77 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.1448, allocations: 37.7 kB / 0.6991 GB, free: 11.73 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.1448, allocations: 97.12 kB / 0.6992 GB, free: 11.63 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.145, allocations: 218.1 kB / 0.6994 GB, free: 11.41 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.1452, allocations: 110.3 kB / 0.6995 GB, free: 11.3 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1453, allocations: 342.8 kB / 0.6999 GB, free: 10.95 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.1457, allocations: 241.1 kB / 0.7001 GB, free: 10.72 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.1461, allocations: 245.7 kB / 0.7003 GB, free: 10.48 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007818/0.1468, allocations: 0.5282 MB / 0.7008 GB, free: 9.949 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1468, allocations: 4 kB / 0.7008 GB, free: 9.945 MB / 0.5295 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009531/0.1478, allocations: 0.6454 MB / 0.7015 GB, free: 9.293 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1478, allocations: 8 kB / 0.7015 GB, free: 9.285 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1478, allocations: 0 / 0.7015 GB, free: 9.285 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1478, allocations: 0 / 0.7015 GB, free: 9.285 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00054/0.1484, allocations: 143.8 kB / 0.7016 GB, free: 9.145 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.1484, allocations: 11.94 kB / 0.7016 GB, free: 9.133 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.1486, allocations: 35.73 kB / 0.7017 GB, free: 9.098 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.1486, allocations: 19.98 kB / 0.7017 GB, free: 9.078 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 (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.0001585/0.1488, allocations: 153.8 kB / 0.7018 GB, free: 8.918 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.1488, allocations: 35.8 kB / 0.7019 GB, free: 8.883 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.15, allocations: 0.7281 MB / 0.7026 GB, free: 8.145 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.15, allocations: 8 kB / 0.7026 GB, free: 8.137 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.15, allocations: 3.938 kB / 0.7026 GB, free: 8.133 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.15, allocations: 3.984 kB / 0.7026 GB, free: 8.129 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004598/0.1505, allocations: 365.4 kB / 0.7029 GB, free: 7.742 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1505, allocations: 0 / 0.7029 GB, free: 7.742 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/0.1512, allocations: 155.8 kB / 0.7031 GB, free: 7.59 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.1512, allocations: 4 kB / 0.7031 GB, free: 7.586 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.968e-05/0.1512, allocations: 27.97 kB / 0.7031 GB, free: 7.559 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1512, allocations: 0 / 0.7031 GB, free: 7.559 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1512, allocations: 0 / 0.7031 GB, free: 7.559 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.1526, allocations: 0.9728 MB / 0.7041 GB, free: 6.566 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.1528, allocations: 91.53 kB / 0.7042 GB, free: 6.477 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/0.1529, allocations: 28.11 kB / 0.7042 GB, free: 6.449 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.1531, allocations: 12 kB / 0.7042 GB, free: 6.438 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/0.1532, allocations: 44.56 kB / 0.7042 GB, free: 6.395 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/0.1532, allocations: 20 kB / 0.7043 GB, free: 6.375 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 8.204e-05/0.1533, allocations: 111.2 kB / 0.7044 GB, free: 6.266 MB / 0.5295 GB Notification: Performance of sort global known variables: time 7e-08/0.1533, allocations: 0 / 0.7044 GB, free: 6.266 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0003305/0.1536, allocations: 131.9 kB / 0.7045 GB, free: 6.137 MB / 0.5295 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.0001913/0.1538, allocations: 135.1 kB / 0.7046 GB, free: 5.996 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.000849/0.1547, allocations: 0.552 MB / 0.7052 GB, free: 5.445 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1547, allocations: 0 / 0.7052 GB, free: 5.445 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0004346/0.1551, allocations: 307.6 kB / 0.7054 GB, free: 5.145 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.1554, allocations: 61.97 kB / 0.7055 GB, free: 5.086 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.1576, allocations: 1.531 MB / 0.707 GB, free: 3.523 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.1578, allocations: 196.6 kB / 0.7072 GB, free: 3.309 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0003708/0.1582, allocations: 171.1 kB / 0.7074 GB, free: 3.141 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.1583, allocations: 51.42 kB / 0.7074 GB, free: 3.094 MB / 0.5295 GB Notification: Performance of SimCode: time 3.7e-07/0.1583, allocations: 0 / 0.7074 GB, free: 3.094 MB / 0.5295 GB Notification: Performance of Templates: time 0.01045/0.1688, allocations: 5.631 MB / 0.7129 GB, free: 13.53 MB / 0.5452 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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: 6.893302259966731]