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/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.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-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_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_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.0009173/0.0009173, allocations: 106.4 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.6351/0.6351, allocations: 119.3 MB / 460.6 MB, free: 9.555 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 55.92 kB / 0.5404 GB, free: 41.92 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1224, allocations: 80.7 MB / 0.6193 GB, free: 11.33 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002169/0.1246, allocations: 1.441 MB / 0.6207 GB, free: 9.871 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007406/0.1253, allocations: 0.5224 MB / 0.6212 GB, free: 9.348 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.1254, allocations: 3.938 kB / 0.6212 GB, free: 9.344 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 8.714e-05/0.1255, allocations: 4 kB / 0.6212 GB, free: 9.34 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.1257, allocations: 59.72 kB / 0.6212 GB, free: 9.281 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.978e-05/0.1258, allocations: 27.97 kB / 0.6213 GB, free: 9.254 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.1261, allocations: 359.2 kB / 0.6216 GB, free: 8.902 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.892e-05/0.1261, allocations: 4.188 kB / 0.6216 GB, free: 8.898 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.1263, allocations: 119.8 kB / 0.6217 GB, free: 8.781 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.1265, allocations: 171.6 kB / 0.6219 GB, free: 8.613 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.1266, allocations: 16 kB / 0.6219 GB, free: 8.598 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1267, allocations: 39.98 kB / 0.6219 GB, free: 8.559 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1268, allocations: 119.7 kB / 0.6221 GB, free: 8.441 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.1269, allocations: 127.4 kB / 0.6222 GB, free: 8.316 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.1271, allocations: 239.4 kB / 0.6224 GB, free: 8.082 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1272, allocations: 0 / 0.6224 GB, free: 8.082 MB / 442.8 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1272, allocations: 0 / 0.6224 GB, free: 8.082 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1272, allocations: 0 / 0.6224 GB, free: 8.082 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009599/0.1281, allocations: 0.581 MB / 0.623 GB, free: 7.453 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.1282, allocations: 8.031 kB / 0.623 GB, free: 7.445 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.535e-05/0.1282, allocations: 28.66 kB / 0.623 GB, free: 7.418 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.1285, allocations: 255.8 kB / 0.6232 GB, free: 7.129 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1285, allocations: 16.44 kB / 0.6233 GB, free: 7.109 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.1286, allocations: 31.98 kB / 0.6233 GB, free: 7.078 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004311/0.129, allocations: 311.1 kB / 0.6236 GB, free: 6.77 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1291, allocations: 3.984 kB / 0.6236 GB, free: 6.766 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.1291, allocations: 8 kB / 0.6236 GB, free: 6.758 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1291, allocations: 4 kB / 0.6236 GB, free: 6.754 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.1295, allocations: 285.5 kB / 0.6239 GB, free: 6.473 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.1299, allocations: 403.2 kB / 0.6243 GB, free: 6.031 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.1315, allocations: 0.6814 MB / 0.6249 GB, free: 5.34 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.1318, allocations: 230 kB / 0.6251 GB, free: 5.113 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/0.132, allocations: 101.5 kB / 0.6252 GB, free: 4.996 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.132, allocations: 35 kB / 0.6253 GB, free: 4.953 MB / 442.8 MB Notification: Performance of pre-optimization done (n=53): time 1.573e-06/0.132, allocations: 0 / 0.6253 GB, free: 4.953 MB / 442.8 MB Notification: Performance of matching and sorting (n=53): time 0.00101/0.133, allocations: 0.6917 MB / 0.626 GB, free: 4.25 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.1331, allocations: 67.83 kB / 0.626 GB, free: 4.168 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.1332, allocations: 148.3 kB / 0.6262 GB, free: 4.008 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.1332, allocations: 33.7 kB / 0.6262 GB, free: 3.969 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.866e-05/0.1332, allocations: 101.1 kB / 0.6263 GB, free: 3.867 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.1334, allocations: 217 kB / 0.6265 GB, free: 3.652 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.1335, allocations: 106.3 kB / 0.6266 GB, free: 3.539 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 9.835e-05/0.1336, allocations: 338.8 kB / 0.6269 GB, free: 3.199 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.134, allocations: 237.1 kB / 0.6271 GB, free: 2.969 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.1343, allocations: 245.7 kB / 0.6274 GB, free: 2.727 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006765/0.135, allocations: 0.5321 MB / 0.6279 GB, free: 2.195 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.135, allocations: 0 / 0.6279 GB, free: 2.195 MB / 442.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008219/0.1358, allocations: 0.6452 MB / 0.6285 GB, free: 1.543 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.1358, allocations: 4 kB / 0.6285 GB, free: 1.539 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1358, allocations: 0 / 0.6285 GB, free: 1.539 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1358, allocations: 4 kB / 0.6285 GB, free: 1.535 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005043/0.1364, allocations: 139.8 kB / 0.6287 GB, free: 1.398 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.1364, allocations: 7.922 kB / 0.6287 GB, free: 1.391 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.1366, allocations: 43.53 kB / 0.6287 GB, free: 1.348 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.1366, allocations: 27.98 kB / 0.6287 GB, free: 1.32 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 (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.0001284/0.1367, allocations: 161.6 kB / 0.6289 GB, free: 1.152 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.1368, allocations: 23.72 kB / 0.6289 GB, free: 1.129 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.1379, allocations: 0.7244 MB / 0.6296 GB, free: 408 kB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.1379, allocations: 11.98 kB / 0.6296 GB, free: 396 kB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1379, allocations: 7.938 kB / 0.6296 GB, free: 388 kB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1379, allocations: 4 kB / 0.6297 GB, free: 384 kB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.1383, allocations: 461.5 kB / 0.6301 GB, free: 15.88 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1383, allocations: 0 / 0.6301 GB, free: 15.88 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00071/0.1391, allocations: 159.8 kB / 0.6302 GB, free: 15.72 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1391, allocations: 4 kB / 0.6302 GB, free: 15.71 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.82e-05/0.1391, allocations: 23.97 kB / 0.6303 GB, free: 15.69 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1391, allocations: 4 kB / 0.6303 GB, free: 15.69 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1391, allocations: 3.938 kB / 0.6303 GB, free: 15.68 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/0.1526, allocations: 7.215 MB / 0.6373 GB, free: 8.312 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.1528, allocations: 164.5 kB / 0.6375 GB, free: 8.133 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/0.1528, allocations: 27.92 kB / 0.6375 GB, free: 8.105 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.153, allocations: 12.19 kB / 0.6375 GB, free: 8.094 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/0.1531, allocations: 44.53 kB / 0.6376 GB, free: 8.051 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.1531, allocations: 23.98 kB / 0.6376 GB, free: 8.027 MB / 458.8 MB Notification: Performance of sorting global known variables: time 6.213e-05/0.1532, allocations: 116.9 kB / 0.6377 GB, free: 7.914 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1532, allocations: 0 / 0.6377 GB, free: 7.914 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0004612/0.1537, allocations: 196 kB / 0.6379 GB, free: 7.723 MB / 458.8 MB 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.0001599/0.1538, allocations: 131.1 kB / 0.638 GB, free: 7.582 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0007684/0.1546, allocations: 0.5833 MB / 0.6386 GB, free: 6.996 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1546, allocations: 0 / 0.6386 GB, free: 6.996 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003869/0.155, allocations: 331.6 kB / 0.6389 GB, free: 6.676 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.1553, allocations: 51.92 kB / 0.6389 GB, free: 6.625 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.1576, allocations: 2.058 MB / 0.641 GB, free: 4.531 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.1579, allocations: 0.8362 MB / 0.6418 GB, free: 3.668 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0004773/0.1584, allocations: 219.1 kB / 0.642 GB, free: 3.453 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.1587, allocations: 63.41 kB / 0.642 GB, free: 3.391 MB / 458.8 MB Notification: Performance of SimCode: time 1.453e-06/0.1587, allocations: 3.938 kB / 0.642 GB, free: 3.387 MB / 458.8 MB Notification: Performance of Templates: time 0.01125/0.1699, allocations: 8.586 MB / 0.6504 GB, free: 10.84 MB / 474.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (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) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches