Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008247/0.0008247, allocations: 80.45 kB / 19.96 MB, free: 4.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008075/0.0008075, allocations: 169.2 kB / 23.24 MB, free: 1.312 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8767/0.8767, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.782/1.782, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/2.058e-05, allocations: 2.281 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003975/0.003996, allocations: 2.365 MB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002593/0.006589, allocations: 1.576 MB / 1.005 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.006777, allocations: 15.88 kB / 1.005 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006381/0.007415, allocations: 219.3 kB / 1.005 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005035/0.007919, allocations: 206.9 kB / 1.005 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.008278, allocations: 159.5 kB / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004348/0.008713, allocations: 370.6 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.008894, allocations: 56.89 kB / 1.006 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.009147, allocations: 191.5 kB / 1.006 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.00935, allocations: 135.6 kB / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.662e-05/0.009397, allocations: 20 kB / 1.006 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.00955, allocations: 79.83 kB / 1.006 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.009686, allocations: 127.5 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.009803, allocations: 95.58 kB / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005829/0.01039, allocations: 0.4944 MB / 1.007 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.01039, allocations: 0 / 1.007 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.463e-06/0.01039, allocations: 0 / 1.007 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.0104, allocations: 0 / 1.007 GB, free: 7.418 MB / 0.9636 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.001125/0.01153, allocations: 0.7484 MB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.01158, allocations: 13.34 kB / 1.007 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.745e-05/0.01163, allocations: 46.73 kB / 1.007 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.392e-05/0.01173, allocations: 64.52 kB / 1.007 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/0.01224, allocations: 374.5 kB / 1.008 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.01226, allocations: 12.38 kB / 1.008 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.01229, allocations: 12.38 kB / 1.008 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.0126, allocations: 193.1 kB / 1.008 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.01261, allocations: 0 / 1.008 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.01263, allocations: 8 kB / 1.008 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.01263, allocations: 0 / 1.008 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.01284, allocations: 91.88 kB / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009536/0.01379, allocations: 0.558 MB / 1.009 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.01412, allocations: 134.7 kB / 1.009 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.255e-05/0.01421, allocations: 44.84 kB / 1.009 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.01423, allocations: 3.938 kB / 1.009 GB, free: 4.992 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/0.01446, allocations: 154.8 kB / 1.009 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.01446, allocations: 0 / 1.009 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12): time 0.0004464/0.01491, allocations: 209.2 kB / 1.009 GB, free: 4.605 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.01494, allocations: 59.34 kB / 1.009 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006461/0.01559, allocations: 0.6681 MB / 1.01 GB, free: 3.855 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.01561, allocations: 37.7 kB / 1.01 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.01575, allocations: 268.3 kB / 1.01 GB, free: 3.547 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.01578, allocations: 35.73 kB / 1.01 GB, free: 3.512 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.939e-05/0.01584, allocations: 53.64 kB / 1.01 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.01595, allocations: 370.8 kB / 1.011 GB, free: 3.082 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.86e-05/0.01604, allocations: 79.91 kB / 1.011 GB, free: 3.004 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.01617, allocations: 169.4 kB / 1.011 GB, free: 2.816 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.01631, allocations: 124.1 kB / 1.011 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01631, allocations: 4 kB / 1.011 GB, free: 2.688 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002602/0.01657, allocations: 289 kB / 1.011 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.01658, allocations: 7.938 kB / 1.011 GB, free: 2.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.01658, allocations: 0 / 1.011 GB, free: 2.391 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.0166, allocations: 0 / 1.011 GB, free: 2.391 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.01672, allocations: 39.91 kB / 1.011 GB, free: 2.352 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.01672, allocations: 4 kB / 1.011 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.02e-05/0.01681, allocations: 23.92 kB / 1.011 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.01683, allocations: 8 kB / 1.011 GB, free: 2.316 MB / 0.9636 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 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * 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.0001469/0.01698, allocations: 209.8 kB / 1.012 GB, free: 2.102 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.01701, allocations: 59.56 kB / 1.012 GB, free: 2.043 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.01723, allocations: 182.5 kB / 1.012 GB, free: 1.852 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.01723, allocations: 4 kB / 1.012 GB, free: 1.848 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01724, allocations: 0 / 1.012 GB, free: 1.848 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01724, allocations: 3.984 kB / 1.012 GB, free: 1.844 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.01745, allocations: 320.5 kB / 1.012 GB, free: 1.488 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01746, allocations: 3.938 kB / 1.012 GB, free: 1.484 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.149e-05/0.0175, allocations: 15.98 kB / 1.012 GB, free: 1.469 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.0175, allocations: 3.938 kB / 1.012 GB, free: 1.465 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.01751, allocations: 8 kB / 1.012 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01751, allocations: 0 / 1.012 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01751, allocations: 0 / 1.012 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.01777, allocations: 267.7 kB / 1.012 GB, free: 1.18 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.01782, allocations: 67.52 kB / 1.012 GB, free: 1.113 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.01785, allocations: 8 kB / 1.012 GB, free: 1.105 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.103e-05/0.01791, allocations: 11.98 kB / 1.012 GB, free: 1.094 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.01796, allocations: 19.97 kB / 1.012 GB, free: 1.074 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.01797, allocations: 11.98 kB / 1.012 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003044/0.01828, allocations: 443.1 kB / 1.013 GB, free: 0.6367 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01828, allocations: 0 / 1.013 GB, free: 0.6367 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001959/0.01847, allocations: 59.94 kB / 1.013 GB, free: 0.5781 MB / 0.9636 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 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001076/0.01955, allocations: 1.154 MB / 1.014 GB, free: 15.58 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.01976, allocations: 147.7 kB / 1.014 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01977, allocations: 4 kB / 1.014 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 6.978e-05/0.01983, allocations: 47.98 kB / 1.014 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.0201, allocations: 85.06 kB / 1.014 GB, free: 15.31 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.02314, allocations: 3.807 MB / 1.018 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.02331, allocations: 258.5 kB / 1.018 GB, free: 11.13 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 9.078e-05/0.0234, allocations: 46.94 kB / 1.018 GB, free: 11.09 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.02354, allocations: 172.4 kB / 1.019 GB, free: 10.92 MB / 0.9792 GB Notification: Performance of SimCode: time 6.61e-07/0.02354, allocations: 0 / 1.019 GB, free: 10.92 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08043/0.104, allocations: 10.32 MB / 1.029 GB, free: 0.7266 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.33/7.434, allocations: 3.938 kB / 1.029 GB, free: 0.7227 MB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu) > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_fmpy_res.csv --start-time 0 --stop-time 1800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 ../Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu) > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 11.798858812078834]