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.001639/0.001639, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00182/0.00182, allocations: 217.8 kB / 23.03 MB, free: 4.945 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.272/3.272, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 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.002044/0.002044, allocations: 62.03 kB / 1.17 GB, free: 19.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3478, allocations: 179 MB / 1.345 GB, free: 15.88 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004036/0.3518, allocations: 2.376 MB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002635/0.3545, allocations: 1.556 MB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.3546, allocations: 7.938 kB / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006816/0.3553, allocations: 214.9 kB / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000496/0.3558, allocations: 203 kB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.3562, allocations: 159.5 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004263/0.3566, allocations: 354.9 kB / 1.35 GB, free: 11.01 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.3568, allocations: 68.58 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.357, allocations: 151.3 kB / 1.35 GB, free: 10.79 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.3572, allocations: 167.2 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.378e-05/0.3572, allocations: 24 kB / 1.35 GB, free: 10.6 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.3574, allocations: 59.98 kB / 1.35 GB, free: 10.54 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.3575, allocations: 135.4 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.3577, allocations: 139 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006403/0.3583, allocations: 0.5287 MB / 1.351 GB, free: 9.742 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3583, allocations: 0 / 1.351 GB, free: 9.742 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3583, allocations: 0 / 1.351 GB, free: 9.742 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.3583, allocations: 0 / 1.351 GB, free: 9.742 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.001203/0.3595, allocations: 0.7562 MB / 1.352 GB, free: 8.953 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3596, allocations: 8.031 kB / 1.352 GB, free: 8.945 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.9e-05/0.3596, allocations: 4.188 kB / 1.352 GB, free: 8.941 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.5e-05/0.3596, allocations: 54.67 kB / 1.352 GB, free: 8.879 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.807e-05/0.3597, allocations: 60.56 kB / 1.352 GB, free: 8.82 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005258/0.3602, allocations: 371.4 kB / 1.352 GB, free: 8.434 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.3603, allocations: 15.94 kB / 1.352 GB, free: 8.418 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.3603, allocations: 12 kB / 1.352 GB, free: 8.406 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.3606, allocations: 190.1 kB / 1.353 GB, free: 8.203 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3606, allocations: 0 / 1.353 GB, free: 8.203 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.3606, allocations: 11.98 kB / 1.353 GB, free: 8.191 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.3606, allocations: 0 / 1.353 GB, free: 8.191 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.3608, allocations: 83.97 kB / 1.353 GB, free: 8.109 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.3618, allocations: 0.5774 MB / 1.353 GB, free: 7.488 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003943/0.3622, allocations: 126.7 kB / 1.353 GB, free: 7.355 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3623, allocations: 48.83 kB / 1.353 GB, free: 7.305 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3624, allocations: 0 / 1.353 GB, free: 7.305 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/0.3626, allocations: 158.8 kB / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.3626, allocations: 0 / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0004532/0.3631, allocations: 221.1 kB / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.3631, allocations: 55.39 kB / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007583/0.3639, allocations: 0.672 MB / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.3639, allocations: 29.7 kB / 1.355 GB, free: 6.121 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.3641, allocations: 252.5 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.3642, allocations: 43.67 kB / 1.355 GB, free: 5.824 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.786e-05/0.3643, allocations: 61.62 kB / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3644, allocations: 374.7 kB / 1.355 GB, free: 5.383 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.3646, allocations: 83.97 kB / 1.355 GB, free: 5.301 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.3648, allocations: 166.8 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.365, allocations: 139.4 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.365, allocations: 0 / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004698/0.3655, allocations: 280.3 kB / 1.356 GB, free: 4.695 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3655, allocations: 4 kB / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3655, allocations: 0 / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3655, allocations: 4 kB / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.3657, allocations: 40.03 kB / 1.356 GB, free: 4.648 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3657, allocations: 3.938 kB / 1.356 GB, free: 4.645 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.3659, allocations: 27.88 kB / 1.356 GB, free: 4.617 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.3659, allocations: 8 kB / 1.356 GB, free: 4.609 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.0002155/0.3662, allocations: 209.7 kB / 1.356 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.3663, allocations: 59.61 kB / 1.356 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.3666, allocations: 200.7 kB / 1.356 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.3667, allocations: 11.98 kB / 1.356 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3667, allocations: 4 kB / 1.356 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3667, allocations: 0 / 1.356 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.367, allocations: 320.5 kB / 1.357 GB, free: 3.766 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.367, allocations: 7.984 kB / 1.357 GB, free: 3.758 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.646e-05/0.3671, allocations: 8 kB / 1.357 GB, free: 3.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3671, allocations: 0 / 1.357 GB, free: 3.75 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.3671, allocations: 0 / 1.357 GB, free: 3.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.3671, allocations: 4 kB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3671, allocations: 0 / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/0.3676, allocations: 284.5 kB / 1.357 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.114e-05/0.3676, allocations: 55.72 kB / 1.357 GB, free: 3.395 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.911e-05/0.3677, allocations: 4 kB / 1.357 GB, free: 3.391 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.3678, allocations: 15.98 kB / 1.357 GB, free: 3.375 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.3679, allocations: 23.95 kB / 1.357 GB, free: 3.352 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.3679, allocations: 4 kB / 1.357 GB, free: 3.348 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000494/0.3684, allocations: 443 kB / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3684, allocations: 0 / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000295/0.3687, allocations: 67.88 kB / 1.358 GB, free: 2.852 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 (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.002287/0.371, allocations: 1.172 MB / 1.359 GB, free: 1.84 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003472/0.3713, allocations: 151.9 kB / 1.359 GB, free: 1.691 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3713, allocations: 0 / 1.359 GB, free: 1.691 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.3715, allocations: 55.97 kB / 1.359 GB, free: 1.637 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.3719, allocations: 62.95 kB / 1.359 GB, free: 1.578 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004928/0.3768, allocations: 3.882 MB / 1.363 GB, free: 13.6 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.3771, allocations: 262 kB / 1.363 GB, free: 13.32 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000146/0.3772, allocations: 46.25 kB / 1.363 GB, free: 13.28 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.3775, allocations: 167.4 kB / 1.363 GB, free: 13.12 MB / 1.061 GB Notification: Performance of SimCode: time 6.41e-07/0.3775, allocations: 0 / 1.363 GB, free: 13.12 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03371/0.4112, allocations: 9.884 MB / 1.373 GB, free: 3.359 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.51, allocations: 3.984 kB / 1.373 GB, free: 3.355 MB / 1.061 GB " [Timeout remaining time 287] (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.36712518602144]