Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00127/0.00127, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.001461/0.001461, allocations: 212.9 kB / 23.04 MB, free: 5.078 MB / 14.72 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 1.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.335/3.335, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 65.72 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3702, allocations: 179 MB / 1.345 GB, free: 432 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004275/0.3745, allocations: 2.494 MB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002708/0.3772, allocations: 1.692 MB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.3773, allocations: 7.938 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006543/0.378, allocations: 218.9 kB / 1.35 GB, free: 11.99 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004669/0.3785, allocations: 203 kB / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.3788, allocations: 151.6 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004609/0.3793, allocations: 366.8 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.3795, allocations: 68.62 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002374/0.3797, allocations: 151.3 kB / 1.351 GB, free: 11.07 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.38, allocations: 167.2 kB / 1.351 GB, free: 10.9 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.553e-05/0.38, allocations: 24 kB / 1.351 GB, free: 10.88 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.3802, allocations: 63.97 kB / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.3803, allocations: 131.5 kB / 1.351 GB, free: 10.69 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.3805, allocations: 194.6 kB / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006615/0.3811, allocations: 0.5054 MB / 1.352 GB, free: 9.988 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3812, allocations: 0 / 1.352 GB, free: 9.988 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3812, allocations: 4 kB / 1.352 GB, free: 9.984 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.3812, allocations: 3.938 kB / 1.352 GB, free: 9.98 MB / 1.045 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.001306/0.3825, allocations: 0.7601 MB / 1.352 GB, free: 9.188 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3825, allocations: 8.031 kB / 1.352 GB, free: 9.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.623e-05/0.3825, allocations: 8.172 kB / 1.352 GB, free: 9.172 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.3826, allocations: 38.75 kB / 1.352 GB, free: 9.125 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.75e-05/0.3827, allocations: 60.56 kB / 1.352 GB, free: 9.066 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000571/0.3833, allocations: 383.3 kB / 1.353 GB, free: 8.668 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.3833, allocations: 15.94 kB / 1.353 GB, free: 8.652 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.3833, allocations: 12 kB / 1.353 GB, free: 8.641 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.3836, allocations: 138.7 kB / 1.353 GB, free: 8.5 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3836, allocations: 0 / 1.353 GB, free: 8.5 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.3836, allocations: 4 kB / 1.353 GB, free: 8.496 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3836, allocations: 4 kB / 1.353 GB, free: 8.492 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.3838, allocations: 83.95 kB / 1.353 GB, free: 8.41 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.3849, allocations: 0.6086 MB / 1.354 GB, free: 7.758 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.3853, allocations: 134.6 kB / 1.354 GB, free: 7.617 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3854, allocations: 44.84 kB / 1.354 GB, free: 7.57 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.3854, allocations: 0 / 1.354 GB, free: 7.57 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.3856, allocations: 99.36 kB / 1.354 GB, free: 7.461 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.3856, allocations: 0 / 1.354 GB, free: 7.461 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0004544/0.3861, allocations: 221.1 kB / 1.354 GB, free: 7.238 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.3861, allocations: 55.41 kB / 1.354 GB, free: 7.172 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000762/0.3869, allocations: 0.6681 MB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.3869, allocations: 33.69 kB / 1.355 GB, free: 6.457 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.3871, allocations: 256.4 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.249e-05/0.3872, allocations: 47.67 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.74e-05/0.3873, allocations: 57.62 kB / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3875, allocations: 370.7 kB / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.3876, allocations: 75.97 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.3878, allocations: 119.4 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.388, allocations: 129.6 kB / 1.356 GB, free: 5.383 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.388, allocations: 0 / 1.356 GB, free: 5.383 MB / 1.045 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004366/0.3885, allocations: 279.9 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3885, allocations: 5.875 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3885, allocations: 0 / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3885, allocations: 4.062 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.3887, allocations: 39.97 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3887, allocations: 0 / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.3889, allocations: 23.94 kB / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.3889, allocations: 8 kB / 1.356 GB, free: 5.027 MB / 1.045 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.0002436/0.3891, allocations: 217.6 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.85e-05/0.3892, allocations: 55.62 kB / 1.356 GB, free: 4.75 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003639/0.3896, allocations: 194.3 kB / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3896, allocations: 8 kB / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3896, allocations: 0 / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3896, allocations: 3.984 kB / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003569/0.3899, allocations: 352.4 kB / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3899, allocations: 0 / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.001e-05/0.39, allocations: 8 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.39, allocations: 0 / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.39, allocations: 0 / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.39, allocations: 4 kB / 1.357 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.39, allocations: 4 kB / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/0.3905, allocations: 268.5 kB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.465e-05/0.3906, allocations: 55.64 kB / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.738e-05/0.3906, allocations: 4 kB / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.3908, allocations: 15.98 kB / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.3908, allocations: 19.97 kB / 1.357 GB, free: 3.766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.3908, allocations: 8.047 kB / 1.357 GB, free: 3.758 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004977/0.3913, allocations: 447 kB / 1.358 GB, free: 3.324 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3913, allocations: 0 / 1.358 GB, free: 3.324 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003002/0.3916, allocations: 59.89 kB / 1.358 GB, free: 3.266 MB / 1.045 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 (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.002193/0.3938, allocations: 1.12 MB / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003581/0.3942, allocations: 155.8 kB / 1.359 GB, free: 2.121 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3942, allocations: 0 / 1.359 GB, free: 2.121 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.3943, allocations: 51.97 kB / 1.359 GB, free: 2.07 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.3947, allocations: 73.38 kB / 1.359 GB, free: 2.008 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004978/0.3997, allocations: 3.848 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.4002, allocations: 0.8611 MB / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001355/0.4004, allocations: 46.25 kB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.4006, allocations: 159.4 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of SimCode: time 6.91e-07/0.4006, allocations: 0 / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03573/0.4363, allocations: 9.576 MB / 1.373 GB, free: 3.508 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.26, allocations: 4.062 kB / 1.373 GB, free: 3.504 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.480582122982014]