Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 201.4 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.08/2.08, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 71.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.504/0.5053, allocations: 140.4 MB / 0.949 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.00307/0.5084, allocations: 2.47 MB / 0.9515 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.5102, allocations: 1.484 MB / 0.9529 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.5104, allocations: 2.594 kB / 0.9529 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005464/0.511, allocations: 221.6 kB / 0.9531 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.5113, allocations: 140.6 kB / 0.9533 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.5116, allocations: 169 kB / 0.9534 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.512, allocations: 324.3 kB / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.5121, allocations: 88.89 kB / 0.9538 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.5123, allocations: 121.7 kB / 0.9539 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.5124, allocations: 151.2 kB / 0.9541 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.5125, allocations: 8.562 kB / 0.9541 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.5126, allocations: 52.2 kB / 0.9541 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.5127, allocations: 121.5 kB / 0.9542 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.5129, allocations: 180.1 kB / 0.9544 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.5132, allocations: 495.1 kB / 0.9549 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.5132, allocations: 0 / 0.9549 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.11e-07/0.5132, allocations: 0 / 0.9549 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.5133, allocations: 1.188 kB / 0.9549 GB, free: 4.754 MB / 0.7169 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.0009822/0.5142, allocations: 0.7941 MB / 0.9557 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.5143, allocations: 13.59 kB / 0.9557 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.744e-05/0.5143, allocations: 47.61 kB / 0.9557 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.579e-05/0.5144, allocations: 58.59 kB / 0.9558 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.5148, allocations: 422.6 kB / 0.9562 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.5148, allocations: 17.77 kB / 0.9562 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.5149, allocations: 12.56 kB / 0.9562 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.5151, allocations: 134.7 kB / 0.9563 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.5151, allocations: 3.938 kB / 0.9563 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.5151, allocations: 13.69 kB / 0.9564 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.5151, allocations: 2.594 kB / 0.9564 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.5153, allocations: 83.58 kB / 0.9564 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000778/0.5161, allocations: 0.6451 MB / 0.9571 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.5164, allocations: 132.1 kB / 0.9572 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.155e-05/0.5165, allocations: 45.47 kB / 0.9572 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.5165, allocations: 6.75 kB / 0.9572 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.5167, allocations: 104.2 kB / 0.9573 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.884e-06/0.5167, allocations: 5.359 kB / 0.9574 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0003757/0.5171, allocations: 213.1 kB / 0.9576 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.892e-05/0.5171, allocations: 52.69 kB / 0.9576 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005874/0.5177, allocations: 0.6416 MB / 0.9582 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.5177, allocations: 41 kB / 0.9583 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.5179, allocations: 255 kB / 0.9585 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.5179, allocations: 36.67 kB / 0.9585 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.496e-05/0.518, allocations: 56.12 kB / 0.9586 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.725e-05/0.5181, allocations: 373.8 kB / 0.959 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.5182, allocations: 75.5 kB / 0.959 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.5184, allocations: 119.7 kB / 0.9591 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.5186, allocations: 130 kB / 0.9593 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.5186, allocations: 1.094 kB / 0.9593 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003603/0.5189, allocations: 268 kB / 0.9595 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.519, allocations: 5.469 kB / 0.9595 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.519, allocations: 0 / 0.9595 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.519, allocations: 2.188 kB / 0.9595 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.5192, allocations: 44.41 kB / 0.9596 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.5192, allocations: 6.281 kB / 0.9596 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.5193, allocations: 19.58 kB / 0.9596 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.5194, allocations: 10.16 kB / 0.9596 GB, free: 1.125 MB / 0.7169 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.0001545/0.5195, allocations: 214.3 kB / 0.9598 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.5196, allocations: 55.41 kB / 0.9599 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.798e-05/0.5197, allocations: 55.53 kB / 0.9599 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.5197, allocations: 1.969 kB / 0.9599 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.5197, allocations: 4 kB / 0.9599 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.5197, allocations: 1.094 kB / 0.9599 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.5199, allocations: 376.2 kB / 0.9603 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.52, allocations: 0 / 0.9603 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.477e-05/0.52, allocations: 16.08 kB / 0.9603 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.52, allocations: 0 / 0.9603 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.52, allocations: 2.188 kB / 0.9603 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.5201, allocations: 0 / 0.9603 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5201, allocations: 1.062 kB / 0.9603 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.5204, allocations: 272.8 kB / 0.9606 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/0.5205, allocations: 125.4 kB / 0.9607 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.5206, allocations: 10.2 kB / 0.9607 GB, free: 232 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.5207, allocations: 11.14 kB / 0.9607 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.5207, allocations: 21.72 kB / 0.9607 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.5208, allocations: 8.438 kB / 0.9607 GB, free: 212 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004203/0.5212, allocations: 431.3 kB / 0.9611 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5212, allocations: 5.531 kB / 0.9611 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002794/0.5215, allocations: 59.41 kB / 0.9612 GB, free: 15.95 MB / 0.7325 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 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * 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.001419/0.5229, allocations: 1.105 MB / 0.9623 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002958/0.5232, allocations: 163.1 kB / 0.9624 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5232, allocations: 0 / 0.9624 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.5234, allocations: 58.88 kB / 0.9625 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.5238, allocations: 74.25 kB / 0.9626 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/0.5283, allocations: 3.978 MB / 0.9665 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.5287, allocations: 0.8541 MB / 0.9673 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.5288, allocations: 50.25 kB / 0.9673 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.529, allocations: 160.8 kB / 0.9675 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.529, allocations: 0 / 0.9675 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1834/0.7124, allocations: 8.682 MB / 0.976 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.7127, allocations: 240.1 kB / 0.9762 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.686, allocations: 7.938 kB / 0.9762 GB, free: 6.121 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches