Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 255.9 MB / 271.2 MB, free: 8.898 MB / 218.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.001221/0.001221, allocations: 185.4 kB / 330.8 MB, free: 460 kB / 250.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.578/1.578, allocations: 225.7 MB / 0.6016 GB, free: 1.562 MB / 426.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.0009476/0.0009474, allocations: 100.4 kB / 0.709 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003129, allocations: 12 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1759, allocations: 109.2 MB / 0.9328 GB, free: 6.227 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002444/0.1784, allocations: 1.983 MB / 0.9347 GB, free: 4.23 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.1802, allocations: 1.298 MB / 0.936 GB, free: 2.91 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.1804, allocations: 0 / 0.936 GB, free: 2.91 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006646/0.1811, allocations: 219.5 kB / 0.9362 GB, free: 2.695 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003895/0.1815, allocations: 135.5 kB / 0.9363 GB, free: 2.562 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.182, allocations: 139.7 kB / 0.9364 GB, free: 2.426 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0003639/0.1823, allocations: 303 kB / 0.9367 GB, free: 2.129 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.1825, allocations: 76.92 kB / 0.9368 GB, free: 2.051 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.1827, allocations: 111.4 kB / 0.9369 GB, free: 1.941 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.1829, allocations: 135.3 kB / 0.937 GB, free: 1.809 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.1829, allocations: 8 kB / 0.937 GB, free: 1.801 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.183, allocations: 35.98 kB / 0.9371 GB, free: 1.766 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1831, allocations: 103.5 kB / 0.9372 GB, free: 1.664 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.1833, allocations: 184.4 kB / 0.9373 GB, free: 1.477 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.1836, allocations: 450.1 kB / 0.9378 GB, free: 1.035 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1836, allocations: 3.938 kB / 0.9378 GB, free: 1.031 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1836, allocations: 0 / 0.9378 GB, free: 1.031 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.1837, allocations: 0 / 0.9378 GB, free: 1.031 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001042/0.1847, allocations: 0.7038 MB / 0.9385 GB, free: 284 kB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1848, allocations: 15.98 kB / 0.9385 GB, free: 268 kB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.1849, allocations: 52.28 kB / 0.9385 GB, free: 216 kB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000551/0.1854, allocations: 411.7 kB / 0.9389 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.1855, allocations: 8.375 kB / 0.9389 GB, free: 15.76 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.1855, allocations: 16.12 kB / 0.9389 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.1858, allocations: 126.9 kB / 0.9391 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1858, allocations: 3.938 kB / 0.9391 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.1859, allocations: 8 kB / 0.9391 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1859, allocations: 0 / 0.9391 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.1861, allocations: 79.89 kB / 0.9392 GB, free: 15.53 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.1872, allocations: 0.6212 MB / 0.9398 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.1876, allocations: 126.7 kB / 0.9399 GB, free: 14.72 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.491e-05/0.1877, allocations: 44.84 kB / 0.9399 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.1877, allocations: 3.938 kB / 0.9399 GB, free: 14.67 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.188, allocations: 103.3 kB / 0.94 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.774e-06/0.188, allocations: 3.938 kB / 0.94 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0004545/0.1884, allocations: 200.9 kB / 0.9402 GB, free: 14.35 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.1885, allocations: 55.39 kB / 0.9403 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008115/0.1893, allocations: 0.6201 MB / 0.9409 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.1894, allocations: 33.69 kB / 0.9409 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.1896, allocations: 244.3 kB / 0.9411 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.1896, allocations: 39.53 kB / 0.9412 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/0.1896, allocations: 4 kB / 0.9412 GB, free: 13.33 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1898, allocations: 366.8 kB / 0.9415 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.19, allocations: 75.97 kB / 0.9416 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.1901, allocations: 113.8 kB / 0.9417 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.1904, allocations: 131.6 kB / 0.9418 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1904, allocations: 0 / 0.9418 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004217/0.1908, allocations: 264.8 kB / 0.9421 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1908, allocations: 11.97 kB / 0.9421 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1909, allocations: 0 / 0.9421 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/0.1909, allocations: 4 kB / 0.9421 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.191, allocations: 31.92 kB / 0.9421 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1911, allocations: 0 / 0.9421 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.1912, allocations: 31.83 kB / 0.9422 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.1913, allocations: 11.98 kB / 0.9422 GB, free: 12.28 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,assPow.assMesDP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0002306/0.1915, allocations: 213 kB / 0.9424 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.1916, allocations: 51.28 kB / 0.9424 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.31e-05/0.1917, allocations: 56.5 kB / 0.9425 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1917, allocations: 4 kB / 0.9425 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1917, allocations: 0 / 0.9425 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1917, allocations: 3.984 kB / 0.9425 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.1921, allocations: 357.4 kB / 0.9428 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1921, allocations: 0 / 0.9428 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.268e-05/0.1922, allocations: 12 kB / 0.9428 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.1922, allocations: 4 kB / 0.9429 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.1922, allocations: 7.984 kB / 0.9429 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1922, allocations: 0 / 0.9429 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1922, allocations: 0 / 0.9429 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/0.1926, allocations: 256.2 kB / 0.9431 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.1928, allocations: 124.4 kB / 0.9432 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/0.1929, allocations: 4 kB / 0.9432 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.193, allocations: 20.05 kB / 0.9432 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.416e-05/0.1931, allocations: 23.95 kB / 0.9433 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.1931, allocations: 4 kB / 0.9433 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004574/0.1936, allocations: 410.8 kB / 0.9437 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1936, allocations: 0 / 0.9437 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000263/0.1938, allocations: 59.89 kB / 0.9437 GB, free: 10.61 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009625/0.1948, allocations: 499.2 kB / 0.9442 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003471/0.1952, allocations: 147.9 kB / 0.9443 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1952, allocations: 0 / 0.9443 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.1953, allocations: 47.92 kB / 0.9444 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.1958, allocations: 64.17 kB / 0.9444 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.1972, allocations: 0.944 MB / 0.9454 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/0.1978, allocations: 0.8535 MB / 0.9462 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001345/0.1979, allocations: 34.28 kB / 0.9462 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.768e-05/0.198, allocations: 27.44 kB / 0.9463 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of SimCode: time 9.92e-07/0.198, allocations: 0 / 0.9463 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of Templates: time 0.00833/0.2064, allocations: 3.286 MB / 0.9495 GB, free: 4.801 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)