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.001882/0.001882, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002537/0.002537, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.57/1.57, allocations: 230.6 MB / 256 MB, free: 7.992 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.529/3.529, allocations: 0.505 GB / 0.8101 GB, free: 21.99 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",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.002091/0.002091, allocations: 73.92 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3544, allocations: 180.2 MB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004265/0.3587, allocations: 2.494 MB / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002856/0.3616, allocations: 1.687 MB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.3617, allocations: 7.938 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006481/0.3624, allocations: 222.9 kB / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004427/0.3628, allocations: 199.1 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.3632, allocations: 163.5 kB / 1.358 GB, free: 3.668 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.3636, allocations: 358.8 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.3638, allocations: 60.89 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.364, allocations: 163.3 kB / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.3642, allocations: 155.3 kB / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.3643, allocations: 28 kB / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.3644, allocations: 67.92 kB / 1.358 GB, free: 2.852 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.3645, allocations: 131.5 kB / 1.358 GB, free: 2.723 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.3647, allocations: 194.5 kB / 1.359 GB, free: 2.531 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005837/0.3653, allocations: 0.5093 MB / 1.359 GB, free: 2.02 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3653, allocations: 0 / 1.359 GB, free: 2.02 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3653, allocations: 0 / 1.359 GB, free: 2.02 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.3653, allocations: 0 / 1.359 GB, free: 2.02 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.001249/0.3666, allocations: 0.7601 MB / 1.36 GB, free: 1.227 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3666, allocations: 8.031 kB / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.941e-05/0.3667, allocations: 46.73 kB / 1.36 GB, free: 1.164 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.419e-05/0.3668, allocations: 60.56 kB / 1.36 GB, free: 1.105 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005725/0.3673, allocations: 379.3 kB / 1.36 GB, free: 0.707 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.3673, allocations: 16.11 kB / 1.36 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.3674, allocations: 16 kB / 1.36 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.3677, allocations: 130.8 kB / 1.36 GB, free: 0.543 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3677, allocations: 4 kB / 1.36 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.3677, allocations: 8 kB / 1.361 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3677, allocations: 4 kB / 1.361 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.3679, allocations: 87.88 kB / 1.361 GB, free: 452 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.369, allocations: 0.6125 MB / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.3694, allocations: 126.7 kB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.3695, allocations: 48.78 kB / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.3695, allocations: 0 / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.3698, allocations: 107.4 kB / 1.361 GB, free: 15.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.3698, allocations: 0 / 1.361 GB, free: 15.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0004967/0.3703, allocations: 213.2 kB / 1.362 GB, free: 15.27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.3703, allocations: 59.28 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007634/0.3711, allocations: 0.6642 MB / 1.362 GB, free: 14.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.3711, allocations: 33.7 kB / 1.362 GB, free: 14.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.3713, allocations: 260.4 kB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.3714, allocations: 43.67 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.965e-05/0.3715, allocations: 61.62 kB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3716, allocations: 374.7 kB / 1.363 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.3718, allocations: 75.97 kB / 1.363 GB, free: 13.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.372, allocations: 111.4 kB / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.3722, allocations: 132.4 kB / 1.363 GB, free: 13.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3722, allocations: 0 / 1.363 GB, free: 13.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004377/0.3726, allocations: 277.9 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3727, allocations: 5.562 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3727, allocations: 0 / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3727, allocations: 7.984 kB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.3729, allocations: 39.91 kB / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3729, allocations: 4 kB / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.373, allocations: 23.94 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.3731, allocations: 12.03 kB / 1.364 GB, free: 13.04 MB / 1.061 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.0002217/0.3733, allocations: 209.6 kB / 1.364 GB, free: 12.83 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/0.3734, allocations: 59.62 kB / 1.364 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003569/0.3737, allocations: 186.4 kB / 1.364 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3737, allocations: 0 / 1.364 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3737, allocations: 0 / 1.364 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3737, allocations: 0 / 1.364 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.3741, allocations: 352.4 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3741, allocations: 0 / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.422e-05/0.3742, allocations: 15.92 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3742, allocations: 0 / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3742, allocations: 8 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3742, allocations: 0 / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3742, allocations: 0 / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.3746, allocations: 264.6 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.3747, allocations: 63.67 kB / 1.365 GB, free: 11.83 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/0.3748, allocations: 8 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.3749, allocations: 11.98 kB / 1.365 GB, free: 11.81 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.375, allocations: 19.97 kB / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.375, allocations: 7.984 kB / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004976/0.3755, allocations: 443 kB / 1.365 GB, free: 11.36 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3755, allocations: 0 / 1.365 GB, free: 11.36 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002904/0.3758, allocations: 63.89 kB / 1.365 GB, free: 11.3 MB / 1.061 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.00218/0.378, allocations: 1.12 MB / 1.366 GB, free: 10.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.3783, allocations: 149.7 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3783, allocations: 3.938 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.3784, allocations: 55.98 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.3788, allocations: 84.92 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004817/0.3837, allocations: 3.851 MB / 1.371 GB, free: 6.074 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.3841, allocations: 0.8599 MB / 1.371 GB, free: 5.191 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001242/0.3843, allocations: 34.28 kB / 1.371 GB, free: 5.156 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.3845, allocations: 159.4 kB / 1.372 GB, free: 5.004 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.3845, allocations: 0 / 1.372 GB, free: 5.004 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03821/0.4227, allocations: 9.533 MB / 1.381 GB, free: 11.57 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.33, allocations: 5.438 kB / 1.381 GB, free: 11.57 MB / 1.076 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.694184008985758]