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.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.00182/0.00182, allocations: 109.2 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.003417/0.003417, allocations: 215.8 kB / 22.25 MB, free: 5.129 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.02/3.02, allocations: 476.7 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_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: 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.002183/0.002183, allocations: 69.72 kB / 1.117 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.396, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.005172/0.4012, allocations: 2.485 MB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003347/0.4046, allocations: 1.692 MB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003388/0.4049, allocations: 11.88 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008231/0.4057, allocations: 226.9 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007213/0.4064, allocations: 191.1 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005596/0.407, allocations: 175.5 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007212/0.4077, allocations: 362.8 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.408, allocations: 60.89 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003567/0.4083, allocations: 151.4 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.4086, allocations: 159.2 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.397e-05/0.4087, allocations: 24 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.4089, allocations: 59.97 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.4091, allocations: 131.5 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.4093, allocations: 206.6 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008009/0.4101, allocations: 0.5017 MB / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4101, allocations: 4 kB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4101, allocations: 0 / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.124e-05/0.4101, allocations: 0 / 1.29 GB, free: 5.285 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.001609/0.4117, allocations: 0.7619 MB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4118, allocations: 8.031 kB / 1.29 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.693e-05/0.4118, allocations: 46.73 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.412, allocations: 64.52 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006758/0.4127, allocations: 375.4 kB / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.4127, allocations: 16.06 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.4127, allocations: 19.98 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.413, allocations: 134.3 kB / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.413, allocations: 0 / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.4131, allocations: 12 kB / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.4131, allocations: 4 kB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.4133, allocations: 83.95 kB / 1.291 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.4145, allocations: 0.6163 MB / 1.292 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/0.415, allocations: 126.7 kB / 1.292 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.4151, allocations: 44.83 kB / 1.292 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.4151, allocations: 0 / 1.292 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.4154, allocations: 107.3 kB / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.694e-06/0.4154, allocations: 0 / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0005143/0.4159, allocations: 213.2 kB / 1.292 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.416, allocations: 51.41 kB / 1.292 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008312/0.4168, allocations: 0.6681 MB / 1.293 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.4168, allocations: 33.7 kB / 1.293 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.4171, allocations: 268.3 kB / 1.293 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.4171, allocations: 35.73 kB / 1.293 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.566e-05/0.4172, allocations: 57.64 kB / 1.293 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.4174, allocations: 374.7 kB / 1.294 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.4175, allocations: 75.97 kB / 1.294 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.4177, allocations: 119.3 kB / 1.294 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.418, allocations: 127.9 kB / 1.294 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.418, allocations: 0 / 1.294 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004469/0.4184, allocations: 284 kB / 1.294 GB, free: 412 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.4184, allocations: 4 kB / 1.294 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4184, allocations: 0 / 1.294 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.4185, allocations: 4 kB / 1.294 GB, free: 404 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.4186, allocations: 35.97 kB / 1.294 GB, free: 368 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.4187, allocations: 3.938 kB / 1.294 GB, free: 364 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.4188, allocations: 27.94 kB / 1.294 GB, free: 336 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.4189, allocations: 4 kB / 1.294 GB, free: 332 kB / 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.000234/0.4191, allocations: 210.2 kB / 1.294 GB, free: 112 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.4192, allocations: 51.67 kB / 1.295 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/0.4196, allocations: 194.3 kB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.4196, allocations: 0 / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4196, allocations: 0 / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4196, allocations: 0 / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.42, allocations: 356.3 kB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.42, allocations: 3.938 kB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.128e-05/0.42, allocations: 11.98 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.42, allocations: 4 kB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.42, allocations: 4 kB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.42, allocations: 0 / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.42, allocations: 0 / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004589/0.4205, allocations: 269.8 kB / 1.295 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.631e-05/0.4206, allocations: 55.66 kB / 1.295 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.4206, allocations: 3.984 kB / 1.295 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.4208, allocations: 24.05 kB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.4208, allocations: 19.97 kB / 1.295 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.4209, allocations: 7.984 kB / 1.295 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000504/0.4214, allocations: 443 kB / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.4214, allocations: 0 / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002913/0.4217, allocations: 55.94 kB / 1.296 GB, free: 14.58 MB / 0.9981 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.002391/0.4241, allocations: 1.129 MB / 1.297 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003703/0.4244, allocations: 147.8 kB / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4244, allocations: 0 / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.4246, allocations: 55.92 kB / 1.297 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.425, allocations: 81.11 kB / 1.297 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005019/0.43, allocations: 3.856 MB / 1.301 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.4306, allocations: 0.8649 MB / 1.302 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001373/0.4307, allocations: 38.27 kB / 1.302 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.4309, allocations: 159.4 kB / 1.302 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.4309, allocations: 0 / 1.302 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0426/0.4735, allocations: 9.535 MB / 1.311 GB, free: 14.85 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.14, allocations: 4.688 kB / 1.311 GB, free: 14.85 MB / 1.014 GB " [Timeout remaining time 287] (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/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: 19.37292892904952]