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.001255/0.001255, allocations: 105.5 kB / 17.06 MB, free: 6.098 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.001278/0.001278, allocations: 194.9 kB / 18 MB, free: 5.172 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.258/1.258, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8479/0.8479, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 64.42 kB / 0.5724 GB, free: 38.8 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1322, allocations: 80.7 MB / 0.6512 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002091/0.1343, allocations: 1.374 MB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000849/0.1352, allocations: 0.5262 MB / 0.653 GB, free: 9.648 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.85e-05/0.1352, allocations: 0 / 0.653 GB, free: 9.648 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.793e-05/0.1353, allocations: 7.922 kB / 0.653 GB, free: 9.641 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.1356, allocations: 55.75 kB / 0.6531 GB, free: 9.586 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001007/0.1357, allocations: 35.88 kB / 0.6531 GB, free: 9.551 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000205/0.1359, allocations: 191.5 kB / 0.6533 GB, free: 9.363 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.136, allocations: 8.125 kB / 0.6533 GB, free: 9.355 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.1361, allocations: 79.81 kB / 0.6534 GB, free: 9.277 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.1363, allocations: 99.75 kB / 0.6535 GB, free: 9.18 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.1363, allocations: 8 kB / 0.6535 GB, free: 9.172 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-05/0.1364, allocations: 31.97 kB / 0.6535 GB, free: 9.141 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.137e-05/0.1365, allocations: 63.86 kB / 0.6536 GB, free: 9.078 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.401e-05/0.1366, allocations: 75.64 kB / 0.6537 GB, free: 9.004 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.1368, allocations: 139.4 kB / 0.6538 GB, free: 8.867 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1368, allocations: 0 / 0.6538 GB, free: 8.867 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1368, allocations: 0 / 0.6538 GB, free: 8.867 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.1368, allocations: 4 kB / 0.6538 GB, free: 8.863 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.0007331/0.1376, allocations: 474.9 kB / 0.6542 GB, free: 8.348 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1376, allocations: 15.89 kB / 0.6543 GB, free: 8.332 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.1377, allocations: 28.81 kB / 0.6543 GB, free: 8.305 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.1379, allocations: 215.9 kB / 0.6545 GB, free: 8.055 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1379, allocations: 8.234 kB / 0.6545 GB, free: 8.047 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.1379, allocations: 12 kB / 0.6545 GB, free: 8.035 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.1382, allocations: 183.3 kB / 0.6547 GB, free: 7.852 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1382, allocations: 0 / 0.6547 GB, free: 7.852 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.1383, allocations: 8 kB / 0.6547 GB, free: 7.844 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.1383, allocations: 0 / 0.6547 GB, free: 7.844 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.1385, allocations: 140.6 kB / 0.6548 GB, free: 7.707 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.1388, allocations: 294.2 kB / 0.6551 GB, free: 7.371 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009063/0.1397, allocations: 354.8 kB / 0.6554 GB, free: 7.016 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.1399, allocations: 116.8 kB / 0.6556 GB, free: 6.898 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.1401, allocations: 97.09 kB / 0.6556 GB, free: 6.785 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.1401, allocations: 34.56 kB / 0.6557 GB, free: 6.742 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=28): time 1.343e-06/0.1401, allocations: 3.938 kB / 0.6557 GB, free: 6.738 MB / 0.4983 GB Notification: Performance of matching and sorting (n=28): time 0.000662/0.1408, allocations: 378 kB / 0.656 GB, free: 6.363 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.1408, allocations: 55.41 kB / 0.6561 GB, free: 6.297 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.1409, allocations: 133.8 kB / 0.6562 GB, free: 6.156 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.141, allocations: 29.7 kB / 0.6563 GB, free: 6.121 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.141, allocations: 92.69 kB / 0.6563 GB, free: 6.027 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 8.268e-05/0.1411, allocations: 115 kB / 0.6565 GB, free: 5.914 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.637e-05/0.1412, allocations: 62.02 kB / 0.6565 GB, free: 5.844 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.1413, allocations: 334.8 kB / 0.6568 GB, free: 5.508 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.1415, allocations: 120.6 kB / 0.6569 GB, free: 5.391 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.1417, allocations: 129.2 kB / 0.6571 GB, free: 5.266 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.1421, allocations: 279 kB / 0.6573 GB, free: 4.992 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1421, allocations: 0 / 0.6573 GB, free: 4.992 MB / 0.4983 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004812/0.1426, allocations: 357.2 kB / 0.6577 GB, free: 4.637 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1426, allocations: 12 kB / 0.6577 GB, free: 4.625 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1426, allocations: 0 / 0.6577 GB, free: 4.625 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1426, allocations: 0 / 0.6577 GB, free: 4.625 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.1429, allocations: 71.91 kB / 0.6578 GB, free: 4.555 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1429, allocations: 0 / 0.6578 GB, free: 4.555 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.143, allocations: 23.84 kB / 0.6578 GB, free: 4.531 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.1431, allocations: 8 kB / 0.6578 GB, free: 4.523 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.0001087/0.1432, allocations: 146.6 kB / 0.6579 GB, free: 4.371 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.1432, allocations: 15.91 kB / 0.6579 GB, free: 4.355 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00063/0.1438, allocations: 403.4 kB / 0.6583 GB, free: 3.949 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1439, allocations: 4 kB / 0.6583 GB, free: 3.945 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1439, allocations: 0 / 0.6583 GB, free: 3.945 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1439, allocations: 0 / 0.6583 GB, free: 3.945 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.1442, allocations: 313.3 kB / 0.6586 GB, free: 3.59 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1442, allocations: 3.938 kB / 0.6586 GB, free: 3.586 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004014/0.1446, allocations: 87.91 kB / 0.6587 GB, free: 3.5 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.1446, allocations: 3.984 kB / 0.6587 GB, free: 3.496 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.1447, allocations: 15.94 kB / 0.6587 GB, free: 3.48 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1447, allocations: 4 kB / 0.6587 GB, free: 3.477 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1447, allocations: 0 / 0.6587 GB, free: 3.477 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007091/0.1454, allocations: 0.5298 MB / 0.6593 GB, free: 2.926 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.1455, allocations: 132.8 kB / 0.6594 GB, free: 2.777 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.1456, allocations: 15.98 kB / 0.6594 GB, free: 2.762 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1457, allocations: 8 kB / 0.6594 GB, free: 2.754 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.1457, allocations: 23.97 kB / 0.6594 GB, free: 2.73 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.1457, allocations: 12 kB / 0.6594 GB, free: 2.719 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 6.265e-05/0.1458, allocations: 106.3 kB / 0.6595 GB, free: 2.617 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1458, allocations: 0 / 0.6595 GB, free: 2.617 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002581/0.1461, allocations: 75.94 kB / 0.6596 GB, free: 2.543 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.000142/0.1462, allocations: 111.7 kB / 0.6597 GB, free: 2.426 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004861/0.1467, allocations: 315.8 kB / 0.66 GB, free: 2.117 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1467, allocations: 0 / 0.66 GB, free: 2.117 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.147, allocations: 167.8 kB / 0.6602 GB, free: 1.953 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.1472, allocations: 31.98 kB / 0.6602 GB, free: 1.922 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.1484, allocations: 0.858 MB / 0.661 GB, free: 1.039 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.1487, allocations: 0.7449 MB / 0.6618 GB, free: 272 kB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0001834/0.1489, allocations: 93.84 kB / 0.6619 GB, free: 176 kB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.926e-05/0.149, allocations: 31.42 kB / 0.6619 GB, free: 144 kB / 0.4983 GB Notification: Performance of SimCode: time 1.833e-06/0.149, allocations: 0 / 0.6619 GB, free: 144 kB / 0.4983 GB Notification: Performance of Templates: time 0.005682/0.1547, allocations: 3.041 MB / 0.6649 GB, free: 13.12 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