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.001338/0.001338, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001532/0.001532, allocations: 214.3 kB / 22.25 MB, free: 5.262 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.777 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.501/3.501, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.002158/0.002158, allocations: 72.38 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3615, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004763/0.3663, allocations: 2.381 MB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002908/0.3692, allocations: 1.561 MB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.3694, allocations: 7.938 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007021/0.3701, allocations: 219.4 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006216/0.3708, allocations: 195.1 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.3712, allocations: 159.5 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005858/0.3718, allocations: 362.8 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.372, allocations: 60.88 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002595/0.3723, allocations: 147.4 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.3726, allocations: 147.3 kB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.041e-05/0.3726, allocations: 24 kB / 1.369 GB, free: 8.789 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.3728, allocations: 71.84 kB / 1.369 GB, free: 8.719 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.373, allocations: 127.6 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.3731, allocations: 142.8 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006936/0.3738, allocations: 0.5133 MB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3738, allocations: 4 kB / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3738, allocations: 0 / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.3738, allocations: 0 / 1.369 GB, free: 7.934 MB / 1.061 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.001446/0.3753, allocations: 0.76 MB / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3753, allocations: 8.031 kB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.927e-05/0.3754, allocations: 42.75 kB / 1.37 GB, free: 7.082 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.3755, allocations: 72.5 kB / 1.37 GB, free: 7.012 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006443/0.3762, allocations: 375.5 kB / 1.371 GB, free: 6.617 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.3762, allocations: 12.12 kB / 1.371 GB, free: 6.605 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.3762, allocations: 12 kB / 1.371 GB, free: 6.594 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.3765, allocations: 185 kB / 1.371 GB, free: 6.395 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.3765, allocations: 0 / 1.371 GB, free: 6.395 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.3766, allocations: 11.94 kB / 1.371 GB, free: 6.383 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3766, allocations: 4 kB / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.3768, allocations: 91.88 kB / 1.371 GB, free: 6.289 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.3778, allocations: 0.5657 MB / 1.371 GB, free: 5.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.3782, allocations: 126.6 kB / 1.372 GB, free: 5.547 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.3783, allocations: 52.81 kB / 1.372 GB, free: 5.492 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.3783, allocations: 0 / 1.372 GB, free: 5.492 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.3786, allocations: 154.8 kB / 1.372 GB, free: 5.316 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.3786, allocations: 0 / 1.372 GB, free: 5.316 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0004923/0.3791, allocations: 217.5 kB / 1.372 GB, free: 5.098 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.3791, allocations: 55.34 kB / 1.372 GB, free: 5.031 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008346/0.38, allocations: 0.668 MB / 1.373 GB, free: 4.355 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.38, allocations: 33.7 kB / 1.373 GB, free: 4.316 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.3802, allocations: 256.5 kB / 1.373 GB, free: 4.062 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.166e-05/0.3803, allocations: 43.67 kB / 1.373 GB, free: 4.02 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.943e-05/0.3804, allocations: 61.62 kB / 1.373 GB, free: 3.953 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3806, allocations: 370.7 kB / 1.373 GB, free: 3.582 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.3807, allocations: 71.97 kB / 1.373 GB, free: 3.512 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.3809, allocations: 169 kB / 1.374 GB, free: 3.324 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.3812, allocations: 135.6 kB / 1.374 GB, free: 3.188 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3812, allocations: 0 / 1.374 GB, free: 3.188 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000464/0.3817, allocations: 269.2 kB / 1.374 GB, free: 2.918 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3817, allocations: 4 kB / 1.374 GB, free: 2.914 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3817, allocations: 0 / 1.374 GB, free: 2.914 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.3817, allocations: 7.984 kB / 1.374 GB, free: 2.906 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.3819, allocations: 39.92 kB / 1.374 GB, free: 2.867 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3819, allocations: 0 / 1.374 GB, free: 2.867 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.3821, allocations: 31.91 kB / 1.374 GB, free: 2.836 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.3821, allocations: 11.98 kB / 1.374 GB, free: 2.824 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.0002519/0.3824, allocations: 205.7 kB / 1.374 GB, free: 2.613 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.301e-05/0.3824, allocations: 59.61 kB / 1.374 GB, free: 2.555 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003846/0.3828, allocations: 194.4 kB / 1.375 GB, free: 2.359 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3828, allocations: 0 / 1.375 GB, free: 2.359 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3828, allocations: 0 / 1.375 GB, free: 2.359 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3828, allocations: 0 / 1.375 GB, free: 2.359 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.3832, allocations: 332.5 kB / 1.375 GB, free: 1.992 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3832, allocations: 4 kB / 1.375 GB, free: 1.988 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.496e-05/0.3833, allocations: 11.94 kB / 1.375 GB, free: 1.977 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3833, allocations: 0 / 1.375 GB, free: 1.977 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.3833, allocations: 3.938 kB / 1.375 GB, free: 1.973 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.3833, allocations: 11.94 kB / 1.375 GB, free: 1.961 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3833, allocations: 0 / 1.375 GB, free: 1.961 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004787/0.3838, allocations: 271.5 kB / 1.375 GB, free: 1.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.3839, allocations: 55.62 kB / 1.375 GB, free: 1.625 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.3839, allocations: 4 kB / 1.375 GB, free: 1.621 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.3841, allocations: 20.05 kB / 1.375 GB, free: 1.602 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.3842, allocations: 23.95 kB / 1.375 GB, free: 1.578 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.3842, allocations: 4 kB / 1.375 GB, free: 1.574 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005262/0.3847, allocations: 443 kB / 1.376 GB, free: 1.148 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3847, allocations: 0 / 1.376 GB, free: 1.148 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003125/0.385, allocations: 67.88 kB / 1.376 GB, free: 1.082 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 (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.002376/0.3874, allocations: 1.15 MB / 1.377 GB, free: 92 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003725/0.3878, allocations: 148.8 kB / 1.377 GB, free: 15.95 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.3878, allocations: 8 kB / 1.377 GB, free: 15.94 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.3879, allocations: 47.92 kB / 1.377 GB, free: 15.89 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.3883, allocations: 83.59 kB / 1.377 GB, free: 15.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005126/0.3935, allocations: 3.837 MB / 1.381 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.3938, allocations: 262.5 kB / 1.381 GB, free: 11.6 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001925/0.3939, allocations: 46.94 kB / 1.381 GB, free: 11.56 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.3942, allocations: 167.4 kB / 1.381 GB, free: 11.39 MB / 1.076 GB Notification: Performance of SimCode: time 6.82e-07/0.3942, allocations: 4 kB / 1.381 GB, free: 11.39 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04503/0.4392, allocations: 10.16 MB / 1.391 GB, free: 1.352 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.98, allocations: 6.219 kB / 1.391 GB, free: 1.348 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.195013215299696]