Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.803/1.803, allocations: 306.1 MB / 321.4 MB, free: 10.72 MB / 250.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.001709/0.001709, allocations: 179.5 kB / 393.1 MB, free: 4.039 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.58/1.58, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008661/0.0008664, allocations: 99.09 kB / 0.7935 GB, free: 39.91 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003912, allocations: 15.02 kB / 0.9224 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.624/0.6244, allocations: 121.3 MB / 1.041 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002512/0.627, allocations: 2.06 MB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.6289, allocations: 1.54 MB / 1.044 GB, free: 55.33 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.6291, allocations: 6.656 kB / 1.044 GB, free: 55.33 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005546/0.6296, allocations: 219.3 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.6299, allocations: 141.6 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.6303, allocations: 171.1 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.6306, allocations: 325.3 kB / 1.045 GB, free: 54.94 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.6308, allocations: 89.27 kB / 1.045 GB, free: 54.91 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.631, allocations: 118.6 kB / 1.045 GB, free: 54.86 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.6311, allocations: 143.5 kB / 1.046 GB, free: 54.81 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.6312, allocations: 6.094 kB / 1.046 GB, free: 54.81 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.6313, allocations: 43.52 kB / 1.046 GB, free: 54.8 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.6314, allocations: 109.1 kB / 1.046 GB, free: 54.76 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.6315, allocations: 196 kB / 1.046 GB, free: 54.6 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004141/0.6319, allocations: 478.7 kB / 1.046 GB, free: 54.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.632, allocations: 0 / 1.046 GB, free: 54.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.664e-06/0.632, allocations: 1.688 kB / 1.046 GB, free: 54.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.632, allocations: 0 / 1.046 GB, free: 54.43 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.0009089/0.6329, allocations: 0.7383 MB / 1.047 GB, free: 53.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.6329, allocations: 10.05 kB / 1.047 GB, free: 53.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.553e-05/0.633, allocations: 58.81 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.6334, allocations: 428.7 kB / 1.048 GB, free: 53.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.6335, allocations: 9.406 kB / 1.048 GB, free: 53.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.6335, allocations: 18.12 kB / 1.048 GB, free: 53.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.6338, allocations: 125 kB / 1.048 GB, free: 53.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.6338, allocations: 4.828 kB / 1.048 GB, free: 53.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.6338, allocations: 4 kB / 1.048 GB, free: 53.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.6338, allocations: 2.531 kB / 1.048 GB, free: 53.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.634, allocations: 88.06 kB / 1.048 GB, free: 53.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008904/0.6349, allocations: 0.6531 MB / 1.048 GB, free: 52.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.6353, allocations: 137 kB / 1.049 GB, free: 52.87 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.777e-05/0.6354, allocations: 51.81 kB / 1.049 GB, free: 52.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.6354, allocations: 4.719 kB / 1.049 GB, free: 52.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.6356, allocations: 108.6 kB / 1.049 GB, free: 52.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.6356, allocations: 0 / 1.049 GB, free: 52.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0003925/0.636, allocations: 212 kB / 1.049 GB, free: 52.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.636, allocations: 53.88 kB / 1.049 GB, free: 52.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005913/0.6366, allocations: 0.6437 MB / 1.05 GB, free: 52.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.6367, allocations: 36.7 kB / 1.05 GB, free: 52.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.6368, allocations: 257.5 kB / 1.05 GB, free: 52.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.6369, allocations: 40.41 kB / 1.05 GB, free: 52.06 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.6369, allocations: 4 kB / 1.05 GB, free: 52.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.609e-05/0.637, allocations: 369.2 kB / 1.05 GB, free: 51.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.6371, allocations: 76.58 kB / 1.05 GB, free: 51.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.6373, allocations: 122.1 kB / 1.05 GB, free: 51.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.6375, allocations: 133.6 kB / 1.051 GB, free: 51.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6375, allocations: 0 / 1.051 GB, free: 51.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003576/0.6378, allocations: 269.6 kB / 1.051 GB, free: 51.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.6379, allocations: 9.188 kB / 1.051 GB, free: 51.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.6379, allocations: 0 / 1.051 GB, free: 51.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.6379, allocations: 2.094 kB / 1.051 GB, free: 51.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.6381, allocations: 37.58 kB / 1.051 GB, free: 51.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.6381, allocations: 0 / 1.051 GB, free: 51.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.6383, allocations: 41.78 kB / 1.051 GB, free: 51.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.6383, allocations: 5.25 kB / 1.051 GB, free: 51.41 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.0001731/0.6385, allocations: 213 kB / 1.051 GB, free: 51.26 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.6385, allocations: 50.97 kB / 1.051 GB, free: 51.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.745e-05/0.6386, allocations: 61.42 kB / 1.051 GB, free: 51.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.6386, allocations: 1.719 kB / 1.051 GB, free: 51.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6386, allocations: 0 / 1.051 GB, free: 51.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6386, allocations: 0 / 1.051 GB, free: 51.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.639, allocations: 377.2 kB / 1.052 GB, free: 50.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.639, allocations: 0 / 1.052 GB, free: 50.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.815e-05/0.639, allocations: 12.97 kB / 1.052 GB, free: 50.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.639, allocations: 0 / 1.052 GB, free: 50.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.6391, allocations: 8.766 kB / 1.052 GB, free: 50.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.6391, allocations: 0 / 1.052 GB, free: 50.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6391, allocations: 0 / 1.052 GB, free: 50.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.6394, allocations: 261.5 kB / 1.052 GB, free: 50.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.6395, allocations: 129.5 kB / 1.052 GB, free: 50.65 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.6396, allocations: 5.844 kB / 1.052 GB, free: 50.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.6397, allocations: 14.94 kB / 1.052 GB, free: 50.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.6398, allocations: 24.06 kB / 1.052 GB, free: 50.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.6398, allocations: 10.34 kB / 1.052 GB, free: 50.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004162/0.6402, allocations: 419.9 kB / 1.052 GB, free: 50.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6402, allocations: 3.938 kB / 1.052 GB, free: 50.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000271/0.6405, allocations: 69.31 kB / 1.053 GB, free: 50.44 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.0009248/0.6414, allocations: 492.2 kB / 1.053 GB, free: 50.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002966/0.6418, allocations: 155.4 kB / 1.053 GB, free: 50.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6418, allocations: 4.062 kB / 1.053 GB, free: 50.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.6419, allocations: 58.45 kB / 1.053 GB, free: 50.13 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.6423, allocations: 69.88 kB / 1.053 GB, free: 50.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.6435, allocations: 0.9856 MB / 1.054 GB, free: 49.53 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.6438, allocations: 0.8562 MB / 1.055 GB, free: 48.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001527/0.644, allocations: 40.27 kB / 1.055 GB, free: 48.81 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.224e-05/0.644, allocations: 30.81 kB / 1.055 GB, free: 48.8 MB / 0.698 GB Notification: Performance of SimCode: time 4.41e-07/0.6441, allocations: 4 kB / 1.055 GB, free: 48.8 MB / 0.698 GB Notification: Performance of Templates: time 0.008301/0.6524, allocations: 3.699 MB / 1.059 GB, free: 48.52 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)