Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.492/2.492, allocations: 254.9 MB / 269.9 MB, free: 9.629 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.001352/0.001352, allocations: 198.1 kB / 329.5 MB, free: 1.145 MB / 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 2.496/2.496, allocations: 225.6 MB / 0.6001 GB, free: 472 kB / 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.001037/0.001037, allocations: 95.14 kB / 0.7074 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.0004902, allocations: 15.69 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2244, allocations: 109.1 MB / 0.9308 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003044/0.2275, allocations: 1.975 MB / 0.9327 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002586/0.2302, allocations: 1.21 MB / 0.9339 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002452/0.2305, allocations: 7.938 kB / 0.9339 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007181/0.2312, allocations: 203.2 kB / 0.9341 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004883/0.2317, allocations: 127.5 kB / 0.9342 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005662/0.2323, allocations: 123.7 kB / 0.9343 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004317/0.2327, allocations: 283 kB / 0.9346 GB, free: 20.96 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.233, allocations: 68.66 kB / 0.9347 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.2332, allocations: 111.5 kB / 0.9348 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.2334, allocations: 127.4 kB / 0.9349 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.548e-05/0.2335, allocations: 4 kB / 0.9349 GB, free: 20.65 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.2336, allocations: 31.98 kB / 0.9349 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.2338, allocations: 111.6 kB / 0.935 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.785e-05/0.2339, allocations: 89.45 kB / 0.9351 GB, free: 20.42 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004346/0.2343, allocations: 363.3 kB / 0.9355 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2343, allocations: 0 / 0.9355 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2343, allocations: 0 / 0.9355 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.2344, allocations: 0 / 0.9355 GB, free: 20.06 MB / 0.5886 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.0013/0.2357, allocations: 0.7195 MB / 0.9362 GB, free: 19.29 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.2357, allocations: 8.031 kB / 0.9362 GB, free: 19.29 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.2359, allocations: 52.28 kB / 0.9362 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005675/0.2365, allocations: 376.3 kB / 0.9366 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.2365, allocations: 8.375 kB / 0.9366 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.2366, allocations: 27.88 kB / 0.9366 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003493/0.2369, allocations: 123.2 kB / 0.9367 GB, free: 18.66 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.2369, allocations: 3.984 kB / 0.9367 GB, free: 18.66 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.237, allocations: 8 kB / 0.9367 GB, free: 18.65 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.237, allocations: 0 / 0.9367 GB, free: 18.65 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000247/0.2373, allocations: 87.89 kB / 0.9368 GB, free: 18.57 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.2385, allocations: 0.6289 MB / 0.9374 GB, free: 17.89 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005163/0.2391, allocations: 122.7 kB / 0.9375 GB, free: 17.76 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.2392, allocations: 40.8 kB / 0.9376 GB, free: 17.71 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.2393, allocations: 3.984 kB / 0.9376 GB, free: 17.71 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003176/0.2396, allocations: 99.31 kB / 0.9377 GB, free: 17.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 2.594e-06/0.2396, allocations: 0 / 0.9377 GB, free: 17.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.000642/0.2403, allocations: 208.9 kB / 0.9379 GB, free: 17.39 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.2403, allocations: 51.41 kB / 0.9379 GB, free: 17.33 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008927/0.2412, allocations: 0.6239 MB / 0.9385 GB, free: 16.7 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.2413, allocations: 33.7 kB / 0.9386 GB, free: 16.66 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.2415, allocations: 252.3 kB / 0.9388 GB, free: 16.41 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.2416, allocations: 35.55 kB / 0.9389 GB, free: 16.37 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/0.2416, allocations: 4 kB / 0.9389 GB, free: 16.37 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2417, allocations: 362.8 kB / 0.9392 GB, free: 16 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.2419, allocations: 79.97 kB / 0.9393 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.2422, allocations: 112.7 kB / 0.9394 GB, free: 15.8 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.2424, allocations: 78.02 kB / 0.9395 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.2424, allocations: 0 / 0.9395 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005889/0.243, allocations: 268.7 kB / 0.9397 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.2431, allocations: 4.062 kB / 0.9397 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2431, allocations: 8 kB / 0.9397 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.2431, allocations: 0 / 0.9397 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.2434, allocations: 27.98 kB / 0.9398 GB, free: 15.42 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.2434, allocations: 0 / 0.9398 GB, free: 15.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.2437, allocations: 31.83 kB / 0.9398 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.2438, allocations: 11.98 kB / 0.9398 GB, free: 15.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002919/0.2441, allocations: 206.2 kB / 0.94 GB, free: 15.17 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.2442, allocations: 51.44 kB / 0.94 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.2443, allocations: 52.5 kB / 0.9401 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2443, allocations: 4 kB / 0.9401 GB, free: 15.06 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.2443, allocations: 0 / 0.9401 GB, free: 15.06 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.2443, allocations: 3.984 kB / 0.9401 GB, free: 15.06 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.2447, allocations: 369.3 kB / 0.9405 GB, free: 14.65 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2447, allocations: 3.938 kB / 0.9405 GB, free: 14.64 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.2449, allocations: 11.94 kB / 0.9405 GB, free: 14.63 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.2449, allocations: 4 kB / 0.9405 GB, free: 14.63 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.2449, allocations: 7.922 kB / 0.9405 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.2449, allocations: 0 / 0.9405 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2449, allocations: 4 kB / 0.9405 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005798/0.2455, allocations: 240.4 kB / 0.9407 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.2456, allocations: 128.4 kB / 0.9408 GB, free: 14.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.899e-05/0.2457, allocations: 4 kB / 0.9408 GB, free: 14.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.246, allocations: 20.05 kB / 0.9409 GB, free: 14.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.983e-05/0.2461, allocations: 23.95 kB / 0.9409 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.2461, allocations: 8 kB / 0.9409 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006362/0.2468, allocations: 414.7 kB / 0.9413 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-07/0.2468, allocations: 0 / 0.9413 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004054/0.2472, allocations: 52 kB / 0.9413 GB, free: 13.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001296/0.2485, allocations: 0.4916 MB / 0.9418 GB, free: 13.35 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005276/0.2491, allocations: 139.9 kB / 0.9419 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.2491, allocations: 4 kB / 0.9419 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.2493, allocations: 51.92 kB / 0.942 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006356/0.2499, allocations: 58.22 kB / 0.9421 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.2515, allocations: 0.8971 MB / 0.9429 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.2519, allocations: 0.8467 MB / 0.9438 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000202/0.2521, allocations: 30.28 kB / 0.9438 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.2522, allocations: 35.42 kB / 0.9438 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of SimCode: time 1.133e-06/0.2523, allocations: 0 / 0.9438 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of Templates: time 0.01207/0.2643, allocations: 3.232 MB / 0.947 GB, free: 8.004 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)