Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 297.4 MB / 312.6 MB, free: 2.891 MB / 234.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.001196/0.001196, allocations: 188.5 kB / 382.3 MB, free: 14.84 MB / 314.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.504/1.504, allocations: 225.7 MB / 0.6617 GB, free: 7.254 MB / 490.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.0007492/0.0007493, allocations: 89.73 kB / 0.7789 GB, free: 46.87 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 8 kB / 0.9058 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6738/0.6742, allocations: 119.2 MB / 1.022 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002897/0.6771, allocations: 2.061 MB / 1.024 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.6794, allocations: 1.536 MB / 1.026 GB, free: 55.52 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.6796, allocations: 11.59 kB / 1.026 GB, free: 55.52 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006689/0.6802, allocations: 218.8 kB / 1.026 GB, free: 55.44 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.6806, allocations: 133.7 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004605/0.6811, allocations: 172.5 kB / 1.026 GB, free: 55.28 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003846/0.6815, allocations: 328.8 kB / 1.027 GB, free: 55.13 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.6817, allocations: 88.66 kB / 1.027 GB, free: 55.1 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.6818, allocations: 119.5 kB / 1.027 GB, free: 55.05 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.682, allocations: 138.5 kB / 1.027 GB, free: 54.99 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.682, allocations: 7.375 kB / 1.027 GB, free: 54.99 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.6822, allocations: 51.39 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.6823, allocations: 105.3 kB / 1.027 GB, free: 54.94 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.6825, allocations: 204.7 kB / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000408/0.6829, allocations: 473.8 kB / 1.028 GB, free: 54.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6829, allocations: 0 / 1.028 GB, free: 54.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6829, allocations: 0 / 1.028 GB, free: 54.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.6829, allocations: 3.938 kB / 1.028 GB, free: 54.61 MB / 0.698 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.0009574/0.6839, allocations: 0.7319 MB / 1.028 GB, free: 54.01 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.6839, allocations: 11.06 kB / 1.028 GB, free: 54.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.744e-05/0.684, allocations: 61.31 kB / 1.029 GB, free: 53.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.6844, allocations: 420.6 kB / 1.029 GB, free: 53.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.6844, allocations: 9.875 kB / 1.029 GB, free: 53.65 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.6845, allocations: 17.84 kB / 1.029 GB, free: 53.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.6847, allocations: 137.4 kB / 1.029 GB, free: 53.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.6848, allocations: 0.5312 kB / 1.029 GB, free: 53.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.6848, allocations: 8.156 kB / 1.029 GB, free: 53.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.6848, allocations: 2.188 kB / 1.029 GB, free: 53.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.685, allocations: 85.69 kB / 1.029 GB, free: 53.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008837/0.6859, allocations: 0.6488 MB / 1.03 GB, free: 53.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.6862, allocations: 138.5 kB / 1.03 GB, free: 53.05 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.991e-05/0.6863, allocations: 47.38 kB / 1.03 GB, free: 53.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.6864, allocations: 6.812 kB / 1.03 GB, free: 53.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.6865, allocations: 102.8 kB / 1.03 GB, free: 52.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.6866, allocations: 0 / 1.03 GB, free: 52.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0003878/0.687, allocations: 214.6 kB / 1.03 GB, free: 52.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.687, allocations: 53.77 kB / 1.03 GB, free: 52.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006154/0.6876, allocations: 0.6401 MB / 1.031 GB, free: 52.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.6876, allocations: 35.72 kB / 1.031 GB, free: 52.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.6878, allocations: 259.2 kB / 1.031 GB, free: 52.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.6878, allocations: 39.3 kB / 1.031 GB, free: 52.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.6878, allocations: 5.781 kB / 1.031 GB, free: 52.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.432e-05/0.6879, allocations: 372 kB / 1.032 GB, free: 51.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.6881, allocations: 77.56 kB / 1.032 GB, free: 51.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.6882, allocations: 108.1 kB / 1.032 GB, free: 51.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.6884, allocations: 132.3 kB / 1.032 GB, free: 51.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6884, allocations: 4.031 kB / 1.032 GB, free: 51.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003466/0.6888, allocations: 269.2 kB / 1.032 GB, free: 51.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.6888, allocations: 10.62 kB / 1.032 GB, free: 51.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.6888, allocations: 0 / 1.032 GB, free: 51.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.6888, allocations: 1.25 kB / 1.032 GB, free: 51.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.689, allocations: 42.08 kB / 1.032 GB, free: 51.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.689, allocations: 4.078 kB / 1.032 GB, free: 51.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.6892, allocations: 36.53 kB / 1.032 GB, free: 51.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.6892, allocations: 4.219 kB / 1.032 GB, free: 51.61 MB / 0.698 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.0001933/0.6894, allocations: 218.4 kB / 1.033 GB, free: 51.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.6895, allocations: 53.19 kB / 1.033 GB, free: 51.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.452e-05/0.6896, allocations: 56.08 kB / 1.033 GB, free: 51.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.6896, allocations: 1.812 kB / 1.033 GB, free: 51.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6896, allocations: 1.031 kB / 1.033 GB, free: 51.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6896, allocations: 4 kB / 1.033 GB, free: 51.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.6899, allocations: 379.3 kB / 1.033 GB, free: 51.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6899, allocations: 3.703 kB / 1.033 GB, free: 51.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.586e-05/0.69, allocations: 8.5 kB / 1.033 GB, free: 51.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.69, allocations: 3.938 kB / 1.033 GB, free: 51.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.69, allocations: 2.688 kB / 1.033 GB, free: 51.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.69, allocations: 0 / 1.033 GB, free: 51.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.69, allocations: 0 / 1.033 GB, free: 51.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.6904, allocations: 266.2 kB / 1.033 GB, free: 50.97 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.557e-05/0.6904, allocations: 130.5 kB / 1.033 GB, free: 50.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.6905, allocations: 3.281 kB / 1.033 GB, free: 50.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.6906, allocations: 15.27 kB / 1.033 GB, free: 50.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.6907, allocations: 23.02 kB / 1.033 GB, free: 50.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.6907, allocations: 5.781 kB / 1.033 GB, free: 50.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000407/0.6911, allocations: 421.5 kB / 1.034 GB, free: 50.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.91e-07/0.6911, allocations: 4.812 kB / 1.034 GB, free: 50.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002533/0.6914, allocations: 72.66 kB / 1.034 GB, free: 50.64 MB / 0.698 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.0009092/0.6923, allocations: 481.6 kB / 1.034 GB, free: 50.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00029/0.6926, allocations: 154.2 kB / 1.035 GB, free: 50.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.6926, allocations: 1.062 kB / 1.035 GB, free: 50.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.6927, allocations: 62.7 kB / 1.035 GB, free: 50.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.6931, allocations: 78.77 kB / 1.035 GB, free: 50.31 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.6943, allocations: 0.9814 MB / 1.036 GB, free: 49.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.6946, allocations: 0.8631 MB / 1.036 GB, free: 49.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.6947, allocations: 38.53 kB / 1.036 GB, free: 49.03 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.08e-05/0.6948, allocations: 26.48 kB / 1.037 GB, free: 49.02 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.6948, allocations: 0 / 1.037 GB, free: 49.02 MB / 0.698 GB Notification: Performance of Templates: time 0.008115/0.7029, allocations: 3.707 MB / 1.04 GB, free: 48.75 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)