Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/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) 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) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 190.9 kB / 16.62 MB, free: 5.07 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3508/0.3508, allocations: 225.7 MB / 243 MB, free: 4.117 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009412/0.0009413, allocations: 109.8 kB / 293.3 MB, free: 11.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo): time 0.3878/0.3878, allocations: 119.5 MB / 462.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 47.92 kB / 0.5427 GB, free: 9.285 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.11, allocations: 80.69 MB / 0.6215 GB, free: 8.469 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001839/0.1119, allocations: 1.445 MB / 0.6229 GB, free: 7.004 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006419/0.1126, allocations: 0.5147 MB / 0.6234 GB, free: 6.488 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.462e-05/0.1126, allocations: 0 / 0.6234 GB, free: 6.488 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 6.929e-05/0.1127, allocations: 11.92 kB / 0.6234 GB, free: 6.477 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.1129, allocations: 59.73 kB / 0.6235 GB, free: 6.418 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.124e-05/0.113, allocations: 27.91 kB / 0.6235 GB, free: 6.391 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.1132, allocations: 195.5 kB / 0.6237 GB, free: 6.199 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.282e-05/0.1132, allocations: 4.188 kB / 0.6237 GB, free: 6.195 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.357e-05/0.1133, allocations: 79.81 kB / 0.6237 GB, free: 6.117 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.1135, allocations: 107.7 kB / 0.6238 GB, free: 6.012 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.1135, allocations: 8 kB / 0.6239 GB, free: 6.004 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.143e-05/0.1136, allocations: 31.97 kB / 0.6239 GB, free: 5.973 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 7.408e-05/0.1137, allocations: 67.84 kB / 0.6239 GB, free: 5.906 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 6.162e-05/0.1137, allocations: 67.66 kB / 0.624 GB, free: 5.84 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.1139, allocations: 139.8 kB / 0.6241 GB, free: 5.703 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1139, allocations: 4 kB / 0.6242 GB, free: 5.699 MB / 442.8 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1139, allocations: 4 kB / 0.6242 GB, free: 5.695 MB / 442.8 MB Notification: Performance of Transformations before backend: time 2.946e-06/0.1139, allocations: 0 / 0.6242 GB, free: 5.695 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006035/0.1145, allocations: 471.1 kB / 0.6246 GB, free: 5.184 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.491e-05/0.1145, allocations: 8.031 kB / 0.6246 GB, free: 5.176 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.1146, allocations: 20.75 kB / 0.6246 GB, free: 5.156 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.1147, allocations: 208.1 kB / 0.6248 GB, free: 4.914 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.1147, allocations: 12.17 kB / 0.6248 GB, free: 4.902 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.1148, allocations: 15.91 kB / 0.6249 GB, free: 4.887 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.115, allocations: 184.6 kB / 0.625 GB, free: 4.703 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.115, allocations: 0 / 0.625 GB, free: 4.703 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.1151, allocations: 4 kB / 0.625 GB, free: 4.699 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1151, allocations: 4 kB / 0.625 GB, free: 4.695 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.1153, allocations: 140.6 kB / 0.6252 GB, free: 4.559 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/0.1155, allocations: 290.2 kB / 0.6255 GB, free: 4.227 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007879/0.1163, allocations: 362.8 kB / 0.6258 GB, free: 3.863 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.1165, allocations: 120.8 kB / 0.6259 GB, free: 3.742 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.1166, allocations: 85.09 kB / 0.626 GB, free: 3.641 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.1166, allocations: 34.56 kB / 0.626 GB, free: 3.598 MB / 442.8 MB Notification: Performance of pre-optimization done (n=28): time 1.183e-06/0.1166, allocations: 0 / 0.626 GB, free: 3.598 MB / 442.8 MB Notification: Performance of matching and sorting (n=28): time 0.000514/0.1172, allocations: 386 kB / 0.6264 GB, free: 3.215 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.1172, allocations: 55.41 kB / 0.6264 GB, free: 3.148 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.448e-05/0.1173, allocations: 136.3 kB / 0.6266 GB, free: 3.008 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1173, allocations: 29.7 kB / 0.6266 GB, free: 2.973 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.1173, allocations: 96.69 kB / 0.6267 GB, free: 2.875 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/0.1174, allocations: 106.4 kB / 0.6268 GB, free: 2.77 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.683e-05/0.1175, allocations: 62.02 kB / 0.6269 GB, free: 2.703 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.459e-05/0.1176, allocations: 334.7 kB / 0.6272 GB, free: 2.367 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.1177, allocations: 128.6 kB / 0.6273 GB, free: 2.238 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.1179, allocations: 129.8 kB / 0.6274 GB, free: 2.113 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.1182, allocations: 278.6 kB / 0.6277 GB, free: 1.84 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1182, allocations: 3.938 kB / 0.6277 GB, free: 1.836 MB / 442.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004209/0.1187, allocations: 361.2 kB / 0.628 GB, free: 1.473 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.1187, allocations: 4 kB / 0.628 GB, free: 1.469 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.1187, allocations: 0 / 0.628 GB, free: 1.469 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/0.1187, allocations: 0 / 0.628 GB, free: 1.469 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.119, allocations: 75.91 kB / 0.6281 GB, free: 1.395 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.119, allocations: 4 kB / 0.6281 GB, free: 1.391 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.739e-05/0.1191, allocations: 23.75 kB / 0.6281 GB, free: 1.367 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.1191, allocations: 8 kB / 0.6281 GB, free: 1.359 MB / 442.8 MB 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 (39): * Single equations (assignments): 39 * 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 8.357e-05/0.1192, allocations: 141.7 kB / 0.6283 GB, free: 1.211 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.1192, allocations: 15.81 kB / 0.6283 GB, free: 1.195 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005452/0.1198, allocations: 407.1 kB / 0.6287 GB, free: 0.7852 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1198, allocations: 4 kB / 0.6287 GB, free: 0.7812 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.1198, allocations: 0 / 0.6287 GB, free: 0.7812 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1198, allocations: 3.984 kB / 0.6287 GB, free: 0.7773 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.12, allocations: 313.2 kB / 0.629 GB, free: 432 kB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.12, allocations: 0 / 0.629 GB, free: 432 kB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003624/0.1204, allocations: 83.91 kB / 0.6291 GB, free: 348 kB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.1204, allocations: 4 kB / 0.6291 GB, free: 344 kB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.1204, allocations: 15.98 kB / 0.6291 GB, free: 328 kB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1205, allocations: 0 / 0.6291 GB, free: 328 kB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1205, allocations: 4 kB / 0.6291 GB, free: 324 kB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006172/0.1211, allocations: 0.5301 MB / 0.6296 GB, free: 15.76 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.624e-05/0.1212, allocations: 120.8 kB / 0.6297 GB, free: 15.62 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.1212, allocations: 15.98 kB / 0.6297 GB, free: 15.61 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1213, allocations: 4 kB / 0.6297 GB, free: 15.61 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.1214, allocations: 19.97 kB / 0.6298 GB, free: 15.59 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.1214, allocations: 16 kB / 0.6298 GB, free: 15.57 MB / 458.8 MB Notification: Performance of sorting global known variables: time 4.839e-05/0.1214, allocations: 105.2 kB / 0.6299 GB, free: 15.47 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1214, allocations: 3.938 kB / 0.6299 GB, free: 15.46 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0002076/0.1217, allocations: 68 kB / 0.63 GB, free: 15.4 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.000108/0.1218, allocations: 115.1 kB / 0.6301 GB, free: 15.28 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0003729/0.1222, allocations: 304 kB / 0.6304 GB, free: 14.98 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.1222, allocations: 0 / 0.6304 GB, free: 14.98 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.1224, allocations: 172.4 kB / 0.6305 GB, free: 14.81 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.1226, allocations: 35.92 kB / 0.6305 GB, free: 14.78 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.1236, allocations: 0.9173 MB / 0.6314 GB, free: 13.84 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.1239, allocations: 0.7488 MB / 0.6322 GB, free: 13.06 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0001743/0.1241, allocations: 89.86 kB / 0.6323 GB, free: 12.97 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.685e-05/0.1241, allocations: 35.36 kB / 0.6323 GB, free: 12.94 MB / 458.8 MB Notification: Performance of SimCode: time 2.41e-07/0.1241, allocations: 0 / 0.6323 GB, free: 12.94 MB / 458.8 MB Notification: Performance of Templates: time 0.006752/0.1309, allocations: 3.09 MB / 0.6353 GB, free: 9.898 MB / 458.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches