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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 107.8 kB / 17.06 MB, free: 6.137 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.001227/0.001227, allocations: 188 kB / 18 MB, free: 5.219 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.28/1.28, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8532/0.8532, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 61.23 kB / 0.5724 GB, free: 38.88 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1252, allocations: 80.69 MB / 0.6512 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002062/0.1273, allocations: 1.385 MB / 0.6525 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0007793/0.1281, allocations: 0.5185 MB / 0.653 GB, free: 9.668 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.1282, allocations: 0 / 0.653 GB, free: 9.668 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 6.944e-05/0.1283, allocations: 7.922 kB / 0.653 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.1285, allocations: 67.7 kB / 0.6531 GB, free: 9.594 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001038/0.1286, allocations: 31.91 kB / 0.6531 GB, free: 9.562 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.1289, allocations: 195.5 kB / 0.6533 GB, free: 9.371 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.737e-05/0.1289, allocations: 12.12 kB / 0.6533 GB, free: 9.359 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.129, allocations: 75.81 kB / 0.6534 GB, free: 9.285 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.1292, allocations: 95.75 kB / 0.6535 GB, free: 9.191 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.1293, allocations: 12 kB / 0.6535 GB, free: 9.18 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.823e-05/0.1294, allocations: 31.97 kB / 0.6535 GB, free: 9.148 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.249e-05/0.1295, allocations: 63.84 kB / 0.6536 GB, free: 9.086 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.801e-05/0.1296, allocations: 71.66 kB / 0.6537 GB, free: 9.016 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.1298, allocations: 147.4 kB / 0.6538 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1298, allocations: 0 / 0.6538 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.766e-06/0.1298, allocations: 0 / 0.6538 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.1298, allocations: 0 / 0.6538 GB, free: 8.871 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007491/0.1306, allocations: 475.2 kB / 0.6542 GB, free: 8.355 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1306, allocations: 11.89 kB / 0.6543 GB, free: 8.344 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.1307, allocations: 16.78 kB / 0.6543 GB, free: 8.328 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.1308, allocations: 223.8 kB / 0.6545 GB, free: 8.07 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1309, allocations: 8.234 kB / 0.6545 GB, free: 8.062 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.1309, allocations: 19.98 kB / 0.6545 GB, free: 8.043 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.1312, allocations: 179.3 kB / 0.6547 GB, free: 7.863 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1312, allocations: 0 / 0.6547 GB, free: 7.863 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.1312, allocations: 4 kB / 0.6547 GB, free: 7.859 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1312, allocations: 4 kB / 0.6547 GB, free: 7.855 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/0.1315, allocations: 148.6 kB / 0.6548 GB, free: 7.711 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.1318, allocations: 278.3 kB / 0.6551 GB, free: 7.391 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008827/0.1327, allocations: 362.7 kB / 0.6554 GB, free: 7.027 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.1328, allocations: 116.8 kB / 0.6556 GB, free: 6.91 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.133, allocations: 97.08 kB / 0.6557 GB, free: 6.797 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.133, allocations: 34.56 kB / 0.6557 GB, free: 6.754 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.133, allocations: 0 / 0.6557 GB, free: 6.754 MB / 0.4983 GB Notification: Performance of matching and sorting (n=28): time 0.0005873/0.1336, allocations: 378 kB / 0.656 GB, free: 6.379 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.1337, allocations: 55.41 kB / 0.6561 GB, free: 6.312 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.819e-05/0.1338, allocations: 137 kB / 0.6562 GB, free: 6.172 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.1338, allocations: 33.7 kB / 0.6563 GB, free: 6.133 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.1339, allocations: 88.69 kB / 0.6563 GB, free: 6.043 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 8.288e-05/0.1339, allocations: 106.5 kB / 0.6564 GB, free: 5.938 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-05/0.134, allocations: 66.02 kB / 0.6565 GB, free: 5.863 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1341, allocations: 330.8 kB / 0.6568 GB, free: 5.531 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.1343, allocations: 120.6 kB / 0.6569 GB, free: 5.414 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.1345, allocations: 133.2 kB / 0.6571 GB, free: 5.285 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.1349, allocations: 275 kB / 0.6573 GB, free: 5.016 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1349, allocations: 0 / 0.6573 GB, free: 5.016 MB / 0.4983 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004748/0.1354, allocations: 357.2 kB / 0.6577 GB, free: 4.66 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1354, allocations: 4 kB / 0.6577 GB, free: 4.656 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1354, allocations: 0 / 0.6577 GB, free: 4.656 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1354, allocations: 11.98 kB / 0.6577 GB, free: 4.645 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.1357, allocations: 71.91 kB / 0.6578 GB, free: 4.574 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.1358, allocations: 4 kB / 0.6578 GB, free: 4.57 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.1359, allocations: 19.84 kB / 0.6578 GB, free: 4.551 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.1359, allocations: 11.94 kB / 0.6578 GB, free: 4.539 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 (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 0.0001192/0.136, allocations: 142.6 kB / 0.6579 GB, free: 4.391 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.1361, allocations: 19.8 kB / 0.6579 GB, free: 4.371 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006192/0.1367, allocations: 391.4 kB / 0.6583 GB, free: 3.977 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1367, allocations: 4 kB / 0.6583 GB, free: 3.973 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1367, allocations: 0 / 0.6583 GB, free: 3.973 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1367, allocations: 3.984 kB / 0.6583 GB, free: 3.969 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.137, allocations: 317.3 kB / 0.6586 GB, free: 3.609 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.137, allocations: 3.938 kB / 0.6586 GB, free: 3.605 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.1374, allocations: 83.91 kB / 0.6587 GB, free: 3.523 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1375, allocations: 4 kB / 0.6587 GB, free: 3.52 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.1375, allocations: 15.92 kB / 0.6587 GB, free: 3.504 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.1375, allocations: 7.984 kB / 0.6587 GB, free: 3.496 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1375, allocations: 0 / 0.6587 GB, free: 3.496 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006965/0.1382, allocations: 0.5296 MB / 0.6593 GB, free: 2.945 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.1383, allocations: 128.8 kB / 0.6594 GB, free: 2.801 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.1384, allocations: 11.98 kB / 0.6594 GB, free: 2.789 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1385, allocations: 4 kB / 0.6594 GB, free: 2.785 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.1385, allocations: 27.97 kB / 0.6594 GB, free: 2.758 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1386, allocations: 12 kB / 0.6594 GB, free: 2.746 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 5.636e-05/0.1386, allocations: 103.2 kB / 0.6595 GB, free: 2.645 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1386, allocations: 0 / 0.6595 GB, free: 2.645 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002615/0.1389, allocations: 68 kB / 0.6596 GB, free: 2.578 MB / 0.4983 GB 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.0001541/0.1391, allocations: 107.7 kB / 0.6597 GB, free: 2.465 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004495/0.1395, allocations: 315.8 kB / 0.66 GB, free: 2.156 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1395, allocations: 8 kB / 0.66 GB, free: 2.148 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.1398, allocations: 167.8 kB / 0.6602 GB, free: 1.984 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.14, allocations: 35.98 kB / 0.6602 GB, free: 1.949 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.1412, allocations: 0.8354 MB / 0.661 GB, free: 1.09 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.1414, allocations: 0.7488 MB / 0.6617 GB, free: 320 kB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0002113/0.1417, allocations: 85.86 kB / 0.6618 GB, free: 232 kB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.386e-05/0.1418, allocations: 35.42 kB / 0.6619 GB, free: 196 kB / 0.4983 GB Notification: Performance of SimCode: time 1.393e-06/0.1418, allocations: 0 / 0.6619 GB, free: 196 kB / 0.4983 GB Notification: Performance of Templates: time 0.005841/0.1476, allocations: 3.041 MB / 0.6648 GB, free: 13.17 MB / 0.5139 GB 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches