Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,tolerance=1e-06,outputFormat="empty",numberOfIntervals=105120,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario") translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,tolerance=1e-06,outputFormat="empty",numberOfIntervals=105120,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7315/0.7315, allocations: 131 MB / 146.3 MB, free: 1.32 MB / 106.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009059/0.000906, allocations: 195 kB / 176.4 MB, free: 4.91 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 225.7 MB / 431.9 MB, free: 8.75 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009218/0.0009218, allocations: 101.1 kB / 0.5003 GB, free: 9.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002987, allocations: 12.84 kB / 0.5885 GB, free: 72.7 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.125, allocations: 79.6 MB / 0.6662 GB, free: 8.941 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.002922/0.1279, allocations: 2.574 MB / 0.6688 GB, free: 6.352 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002801/0.1307, allocations: 2.088 MB / 0.6708 GB, free: 4.195 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.1309, allocations: 8 kB / 0.6708 GB, free: 4.188 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.1312, allocations: 63.5 kB / 0.6709 GB, free: 4.125 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.1316, allocations: 159.3 kB / 0.671 GB, free: 3.969 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006555/0.1323, allocations: 339.5 kB / 0.6713 GB, free: 3.637 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005733/0.1329, allocations: 0.5584 MB / 0.6719 GB, free: 3.078 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004075/0.1333, allocations: 283.9 kB / 0.6722 GB, free: 2.801 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.1334, allocations: 147 kB / 0.6723 GB, free: 2.656 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002938/0.1337, allocations: 200.5 kB / 0.6725 GB, free: 2.461 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.03e-05/0.1338, allocations: 12 kB / 0.6725 GB, free: 2.449 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.1339, allocations: 63.91 kB / 0.6726 GB, free: 2.387 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.931e-05/0.134, allocations: 95.48 kB / 0.6726 GB, free: 2.293 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.1342, allocations: 232.1 kB / 0.6729 GB, free: 2.059 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005208/0.1347, allocations: 0.6383 MB / 0.6735 GB, free: 1.418 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1348, allocations: 0 / 0.6735 GB, free: 1.418 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1348, allocations: 0 / 0.6735 GB, free: 1.418 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.1348, allocations: 0 / 0.6735 GB, free: 1.418 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009468/0.1357, allocations: 0.7519 MB / 0.6742 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.1358, allocations: 18 kB / 0.6742 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.136, allocations: 72.17 kB / 0.6743 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005427/0.1366, allocations: 469.6 kB / 0.6748 GB, free: 32 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.1366, allocations: 33.38 kB / 0.6748 GB, free: 0 / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.949e-05/0.1367, allocations: 36.17 kB / 0.6748 GB, free: 15.96 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000601/0.1373, allocations: 420.8 kB / 0.6752 GB, free: 15.53 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1373, allocations: 0 / 0.6752 GB, free: 15.53 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.1374, allocations: 16 kB / 0.6752 GB, free: 15.52 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.1374, allocations: 8 kB / 0.6752 GB, free: 15.51 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004926/0.1379, allocations: 318.3 kB / 0.6756 GB, free: 15.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.1394, allocations: 1.229 MB / 0.6768 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004768/0.1399, allocations: 335 kB / 0.6771 GB, free: 13.57 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.1401, allocations: 122.2 kB / 0.6772 GB, free: 13.45 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.1401, allocations: 8.219 kB / 0.6772 GB, free: 13.44 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.1401, allocations: 38.8 kB / 0.6772 GB, free: 13.39 MB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.1401, allocations: 4 kB / 0.6772 GB, free: 13.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007211/0.1409, allocations: 396.4 kB / 0.6776 GB, free: 12.99 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.196e-05/0.141, allocations: 191.9 kB / 0.6778 GB, free: 12.76 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006544/0.1416, allocations: 0.5449 MB / 0.6783 GB, free: 12.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.1417, allocations: 33.7 kB / 0.6784 GB, free: 12.16 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.1418, allocations: 264.4 kB / 0.6786 GB, free: 11.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.534e-05/0.1419, allocations: 114.4 kB / 0.6787 GB, free: 11.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.486e-05/0.142, allocations: 8 kB / 0.6787 GB, free: 11.78 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1421, allocations: 358.8 kB / 0.6791 GB, free: 11.42 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.1423, allocations: 105 kB / 0.6792 GB, free: 11.31 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.1425, allocations: 162.7 kB / 0.6793 GB, free: 11.13 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.1429, allocations: 226.8 kB / 0.6795 GB, free: 10.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1429, allocations: 0 / 0.6795 GB, free: 10.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004664/0.1433, allocations: 326.5 kB / 0.6799 GB, free: 10.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1434, allocations: 4 kB / 0.6799 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1434, allocations: 0 / 0.6799 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1434, allocations: 4 kB / 0.6799 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.1436, allocations: 55.91 kB / 0.6799 GB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1436, allocations: 0 / 0.6799 GB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.1438, allocations: 51.73 kB / 0.68 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.1438, allocations: 11.98 kB / 0.68 GB, free: 10.45 MB / 458.7 MB Warning: Assuming fixed start value for the following 2 variables: scenarioRT.ConsoECS:VARIABLE(flow=false fixed = true ) "Hot water consumption at 40°C [L]" type: Real scenarioAutre.Conso:VARIABLE(flow=false fixed = true ) "Consumption en L" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (scenarioRT.greaterThreshold.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold3.y,scenarioRT.booleanToReal.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0002486/0.1441, allocations: 200.6 kB / 0.6802 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.858e-05/0.1442, allocations: 55.34 kB / 0.6802 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005859/0.1448, allocations: 359.9 kB / 0.6806 GB, free: 9.836 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1448, allocations: 4 kB / 0.6806 GB, free: 9.832 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1448, allocations: 0 / 0.6806 GB, free: 9.832 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1448, allocations: 3.984 kB / 0.6806 GB, free: 9.828 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005137/0.1453, allocations: 0.5126 MB / 0.6811 GB, free: 9.266 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1453, allocations: 0 / 0.6811 GB, free: 9.266 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.1455, allocations: 55.91 kB / 0.6811 GB, free: 9.211 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1456, allocations: 4 kB / 0.6811 GB, free: 9.207 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.1456, allocations: 4 kB / 0.6811 GB, free: 9.203 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1456, allocations: 7.984 kB / 0.6811 GB, free: 9.195 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1456, allocations: 4 kB / 0.6811 GB, free: 9.191 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007052/0.1463, allocations: 0.6255 MB / 0.6818 GB, free: 8.555 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.1464, allocations: 148.4 kB / 0.6819 GB, free: 8.391 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.047e-05/0.1465, allocations: 8 kB / 0.6819 GB, free: 8.383 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.1467, allocations: 28.05 kB / 0.6819 GB, free: 8.355 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.1468, allocations: 23.97 kB / 0.682 GB, free: 8.332 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.1468, allocations: 11.98 kB / 0.682 GB, free: 8.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004373/0.1472, allocations: 402.8 kB / 0.6824 GB, free: 7.93 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1472, allocations: 0 / 0.6824 GB, free: 7.93 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003633/0.1476, allocations: 99.81 kB / 0.6824 GB, free: 7.832 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (scenarioRT.ConsoECS,scenarioAutre.Conso) * Number of discrete variables: 5 (scenarioRT.greaterThreshold.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold3.y,scenarioRT.booleanToReal.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.0008262/0.1485, allocations: 475.9 kB / 0.6829 GB, free: 7.492 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004327/0.1489, allocations: 243.8 kB / 0.6831 GB, free: 7.254 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1489, allocations: 0 / 0.6831 GB, free: 7.254 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.1491, allocations: 145.5 kB / 0.6833 GB, free: 7.113 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/0.1497, allocations: 88.73 kB / 0.6834 GB, free: 7.031 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.151, allocations: 1.069 MB / 0.6844 GB, free: 5.926 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.1514, allocations: 0.8591 MB / 0.6852 GB, free: 5.035 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002257/0.1516, allocations: 83.27 kB / 0.6853 GB, free: 4.953 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.1517, allocations: 55.41 kB / 0.6854 GB, free: 4.898 MB / 458.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1517, allocations: 0 / 0.6854 GB, free: 4.898 MB / 458.7 MB Notification: Performance of Templates: time 0.008455/0.1602, allocations: 4.748 MB / 0.69 GB, free: 172 kB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.makefile (rm -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe ; mkfifo BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe >> ../files/BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.sim & ./BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe 2>&1)