Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 109.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002413/0.002413, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.803/2.803, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002534/0.002534, allocations: 71.88 kB / 1.104 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9445/0.947, allocations: 168.7 MB / 1.269 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004071/0.9511, allocations: 2.441 MB / 1.271 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002456/0.9535, allocations: 1.533 MB / 1.273 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.9537, allocations: 4 kB / 1.273 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006443/0.9543, allocations: 223.1 kB / 1.273 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.9547, allocations: 163.2 kB / 1.273 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.9552, allocations: 187.5 kB / 1.273 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000432/0.9556, allocations: 350.8 kB / 1.274 GB, free: 220 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.9558, allocations: 56.72 kB / 1.274 GB, free: 160 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.956, allocations: 143.4 kB / 1.274 GB, free: 16 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.9562, allocations: 163.2 kB / 1.274 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.9562, allocations: 28 kB / 1.274 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.9564, allocations: 63.97 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.9565, allocations: 131.5 kB / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.9567, allocations: 182.7 kB / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006279/0.9573, allocations: 0.5151 MB / 1.275 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.9573, allocations: 0 / 1.275 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9573, allocations: 0 / 1.275 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.9574, allocations: 0 / 1.275 GB, free: 14.94 MB / 0.9825 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.001285/0.9586, allocations: 0.822 MB / 1.276 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.9587, allocations: 12.03 kB / 1.276 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.407e-05/0.9587, allocations: 46.73 kB / 1.276 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.825e-05/0.9588, allocations: 64.52 kB / 1.276 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005885/0.9594, allocations: 424.5 kB / 1.276 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.9594, allocations: 12.12 kB / 1.276 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.9595, allocations: 15.94 kB / 1.276 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.9598, allocations: 141.6 kB / 1.276 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.9598, allocations: 0 / 1.276 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.9598, allocations: 11.98 kB / 1.276 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.9598, allocations: 0 / 1.276 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.96, allocations: 79.97 kB / 1.276 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.9611, allocations: 0.6485 MB / 1.277 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.9615, allocations: 122.7 kB / 1.277 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.9616, allocations: 44.84 kB / 1.277 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.9617, allocations: 0 / 1.277 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.9619, allocations: 115.3 kB / 1.277 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.9619, allocations: 0 / 1.277 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0004551/0.9623, allocations: 213.5 kB / 1.277 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.9624, allocations: 51.41 kB / 1.277 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007534/0.9631, allocations: 0.6553 MB / 1.278 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.9632, allocations: 33.7 kB / 1.278 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.9634, allocations: 256.5 kB / 1.278 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.9634, allocations: 43.69 kB / 1.278 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.941e-05/0.9635, allocations: 49.7 kB / 1.278 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.9637, allocations: 374.7 kB / 1.279 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.9638, allocations: 79.97 kB / 1.279 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.964, allocations: 114 kB / 1.279 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.9643, allocations: 136 kB / 1.279 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9643, allocations: 0 / 1.279 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004514/0.9647, allocations: 277.1 kB / 1.279 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.9647, allocations: 4 kB / 1.279 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.9647, allocations: 0 / 1.279 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.9647, allocations: 4 kB / 1.279 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.9649, allocations: 31.98 kB / 1.279 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.9649, allocations: 11.86 kB / 1.279 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.9651, allocations: 35.89 kB / 1.28 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.9651, allocations: 8 kB / 1.28 GB, free: 9.805 MB / 0.9825 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.000232/0.9654, allocations: 210.2 kB / 1.28 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.9654, allocations: 55.62 kB / 1.28 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.9655, allocations: 56.66 kB / 1.28 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.9655, allocations: 0 / 1.28 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.9656, allocations: 0 / 1.28 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.9656, allocations: 4 kB / 1.28 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.9659, allocations: 373.4 kB / 1.28 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.9659, allocations: 4 kB / 1.28 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.966, allocations: 11.94 kB / 1.28 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.966, allocations: 0 / 1.28 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.966, allocations: 7.984 kB / 1.28 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.966, allocations: 0 / 1.28 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.966, allocations: 0 / 1.28 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/0.9665, allocations: 268.6 kB / 1.28 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.9666, allocations: 136.8 kB / 1.281 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.9667, allocations: 4 kB / 1.281 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.9668, allocations: 15.98 kB / 1.281 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.9669, allocations: 23.91 kB / 1.281 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.9669, allocations: 7.984 kB / 1.281 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005005/0.9674, allocations: 434.7 kB / 1.281 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9674, allocations: 0 / 1.281 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002955/0.9677, allocations: 59.94 kB / 1.281 GB, free: 8.07 MB / 0.9825 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.002265/0.97, allocations: 1.113 MB / 1.282 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.9703, allocations: 150.5 kB / 1.282 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9703, allocations: 0 / 1.282 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.9705, allocations: 55.92 kB / 1.282 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.9709, allocations: 82.58 kB / 1.282 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005046/0.9759, allocations: 3.815 MB / 1.286 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005394/0.9765, allocations: 0.8494 MB / 1.287 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001496/0.9766, allocations: 42.27 kB / 1.287 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.9769, allocations: 159.4 kB / 1.287 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of SimCode: time 1.182e-06/0.9769, allocations: 0 / 1.287 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03613/1.013, allocations: 9.267 MB / 1.296 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.807/9.82, allocations: 4 kB / 1.296 GB, free: 8.691 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.14203935675323]