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.001124/0.001124, allocations: 104.3 kB / 19.72 MB, free: 424 kB / 13.93 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.00138/0.00138, allocations: 210.8 kB / 23.02 MB, free: 2.969 MB / 13.93 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.9586/0.9586, allocations: 230.6 MB / 256.8 MB, free: 9.562 MB / 202.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.919/1.919, allocations: 0.5046 GB / 0.8104 GB, free: 2.719 MB / 0.6511 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 0.0008918/0.0008918, allocations: 67.89 kB / 1.177 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7082/0.7091, allocations: 180 MB / 1.352 GB, free: 1.645 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003769/0.7129, allocations: 2.363 MB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.002091/0.715, allocations: 1.561 MB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.7152, allocations: 11.88 kB / 1.356 GB, free: 13.69 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006211/0.7158, allocations: 223.3 kB / 1.357 GB, free: 13.47 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004612/0.7162, allocations: 203 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.7166, allocations: 155.6 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0003754/0.7169, allocations: 362.8 kB / 1.357 GB, free: 12.77 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.7171, allocations: 60.66 kB / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.7173, allocations: 143.4 kB / 1.357 GB, free: 12.57 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.7174, allocations: 159.2 kB / 1.358 GB, free: 12.41 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.7175, allocations: 20 kB / 1.358 GB, free: 12.39 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.7176, allocations: 63.98 kB / 1.358 GB, free: 12.33 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.7177, allocations: 131.5 kB / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.7178, allocations: 146.9 kB / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005381/0.7184, allocations: 0.5233 MB / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7184, allocations: 0 / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7184, allocations: 0 / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.7184, allocations: 0 / 1.358 GB, free: 11.53 MB / 1.042 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.001019/0.7194, allocations: 0.7484 MB / 1.359 GB, free: 10.75 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.7195, allocations: 12.92 kB / 1.359 GB, free: 10.74 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.7195, allocations: 46.73 kB / 1.359 GB, free: 10.68 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.954e-05/0.7196, allocations: 68.52 kB / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/0.72, allocations: 371.4 kB / 1.36 GB, free: 10.23 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.7201, allocations: 16.12 kB / 1.36 GB, free: 10.21 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.7201, allocations: 12 kB / 1.36 GB, free: 10.2 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.7203, allocations: 186 kB / 1.36 GB, free: 10 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.7204, allocations: 0 / 1.36 GB, free: 10 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.7204, allocations: 0 / 1.36 GB, free: 10 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.7204, allocations: 4 kB / 1.36 GB, free: 9.996 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.7205, allocations: 91.94 kB / 1.36 GB, free: 9.906 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.7216, allocations: 0.5657 MB / 1.36 GB, free: 9.297 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.7218, allocations: 130.8 kB / 1.361 GB, free: 9.16 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.757e-05/0.7219, allocations: 36.84 kB / 1.361 GB, free: 9.121 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.7219, allocations: 11.88 kB / 1.361 GB, free: 9.109 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.7221, allocations: 158.8 kB / 1.361 GB, free: 8.93 MB / 1.042 GB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.7221, allocations: 0 / 1.361 GB, free: 8.93 MB / 1.042 GB Notification: Performance of matching and sorting (n=12): time 0.0003661/0.7225, allocations: 209.3 kB / 1.361 GB, free: 8.719 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.7225, allocations: 63.33 kB / 1.361 GB, free: 8.645 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006219/0.7231, allocations: 0.6681 MB / 1.362 GB, free: 7.965 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.7232, allocations: 33.7 kB / 1.362 GB, free: 7.926 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.7233, allocations: 260.3 kB / 1.362 GB, free: 7.668 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.7234, allocations: 35.73 kB / 1.362 GB, free: 7.633 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.906e-05/0.7235, allocations: 53.69 kB / 1.362 GB, free: 7.574 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.7236, allocations: 374.7 kB / 1.362 GB, free: 7.199 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.7237, allocations: 83.97 kB / 1.363 GB, free: 7.117 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.7239, allocations: 172.9 kB / 1.363 GB, free: 6.926 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.724, allocations: 132.8 kB / 1.363 GB, free: 6.793 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.724, allocations: 0 / 1.363 GB, free: 6.793 MB / 1.042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003352/0.7244, allocations: 273.2 kB / 1.363 GB, free: 6.52 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.7244, allocations: 8 kB / 1.363 GB, free: 6.512 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.7244, allocations: 0 / 1.363 GB, free: 6.512 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.7244, allocations: 0 / 1.363 GB, free: 6.512 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.7246, allocations: 39.98 kB / 1.363 GB, free: 6.473 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.7246, allocations: 7.984 kB / 1.363 GB, free: 6.465 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.7247, allocations: 31.86 kB / 1.363 GB, free: 6.434 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.7247, allocations: 4 kB / 1.363 GB, free: 6.43 MB / 1.042 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.0001854/0.7249, allocations: 218.2 kB / 1.363 GB, free: 6.207 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.725, allocations: 55.62 kB / 1.363 GB, free: 6.152 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.7252, allocations: 186.4 kB / 1.364 GB, free: 5.965 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.7252, allocations: 4 kB / 1.364 GB, free: 5.961 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7252, allocations: 4 kB / 1.364 GB, free: 5.957 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.7253, allocations: 0 / 1.364 GB, free: 5.957 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.7255, allocations: 332.4 kB / 1.364 GB, free: 5.59 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.7255, allocations: 0 / 1.364 GB, free: 5.59 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.7256, allocations: 8 kB / 1.364 GB, free: 5.582 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.7256, allocations: 4 kB / 1.364 GB, free: 5.578 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.7256, allocations: 3.984 kB / 1.364 GB, free: 5.574 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.7256, allocations: 3.938 kB / 1.364 GB, free: 5.57 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7256, allocations: 3.938 kB / 1.364 GB, free: 5.566 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.7259, allocations: 271.8 kB / 1.364 GB, free: 5.285 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.726, allocations: 51.77 kB / 1.364 GB, free: 5.234 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.726, allocations: 8 kB / 1.364 GB, free: 5.227 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.56e-05/0.7261, allocations: 15.97 kB / 1.364 GB, free: 5.211 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.7262, allocations: 19.97 kB / 1.364 GB, free: 5.191 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.7262, allocations: 8 kB / 1.364 GB, free: 5.184 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0003939/0.7266, allocations: 443 kB / 1.365 GB, free: 4.758 MB / 1.042 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7266, allocations: 0 / 1.365 GB, free: 4.758 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002837/0.7269, allocations: 67.83 kB / 1.365 GB, free: 4.691 MB / 1.042 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.00137/0.7282, allocations: 1.15 MB / 1.366 GB, free: 3.695 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002814/0.7285, allocations: 153.2 kB / 1.366 GB, free: 3.547 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7285, allocations: 0 / 1.366 GB, free: 3.547 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 8.849e-05/0.7286, allocations: 55.91 kB / 1.366 GB, free: 3.492 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.729, allocations: 77.66 kB / 1.366 GB, free: 3.418 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/0.7331, allocations: 3.839 MB / 1.37 GB, free: 15.49 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.7333, allocations: 261.3 kB / 1.37 GB, free: 15.21 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.7334, allocations: 54.94 kB / 1.37 GB, free: 15.16 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.7336, allocations: 163.4 kB / 1.37 GB, free: 15 MB / 1.057 GB Notification: Performance of SimCode: time 7.81e-07/0.7336, allocations: 0 / 1.37 GB, free: 15 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/0.8382, allocations: 10.16 MB / 1.38 GB, free: 4.961 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.337/8.175, allocations: 0 / 1.38 GB, free: 4.961 MB / 1.057 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: 12.937668644823134]