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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001166/0.001166, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 390.2 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 67.89 kB / 0.8126 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6732/0.6747, allocations: 140.4 MB / 0.9497 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003379/0.6781, allocations: 2.422 MB / 0.9521 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.6799, allocations: 1.509 MB / 0.9536 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.6801, allocations: 3.719 kB / 0.9536 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005473/0.6806, allocations: 237.1 kB / 0.9538 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.681, allocations: 165.4 kB / 0.9539 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.6813, allocations: 184.4 kB / 0.9541 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.6817, allocations: 348.1 kB / 0.9545 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.6819, allocations: 90.27 kB / 0.9545 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.682, allocations: 139.9 kB / 0.9547 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.6822, allocations: 151.4 kB / 0.9548 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.768e-05/0.6822, allocations: 21.06 kB / 0.9548 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.6824, allocations: 65.28 kB / 0.9549 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.791e-05/0.6825, allocations: 127.9 kB / 0.955 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.6826, allocations: 192.7 kB / 0.9552 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.683, allocations: 0.4922 MB / 0.9557 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.683, allocations: 0 / 0.9557 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.683, allocations: 5.094 kB / 0.9557 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.683, allocations: 0 / 0.9557 GB, free: 4.707 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.0009481/0.684, allocations: 0.8023 MB / 0.9565 GB, free: 4 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.684, allocations: 9.625 kB / 0.9565 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.684, allocations: 46.86 kB / 0.9565 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.757e-05/0.6841, allocations: 63.69 kB / 0.9566 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.6845, allocations: 417.2 kB / 0.957 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.6845, allocations: 15 kB / 0.957 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.6846, allocations: 13.62 kB / 0.957 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.6848, allocations: 136.8 kB / 0.9571 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.6848, allocations: 0 / 0.9571 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.6849, allocations: 6.094 kB / 0.9571 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.6849, allocations: 2.406 kB / 0.9572 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.685, allocations: 87.08 kB / 0.9572 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007988/0.6858, allocations: 0.6492 MB / 0.9579 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.6862, allocations: 128.1 kB / 0.958 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.852e-05/0.6863, allocations: 45.75 kB / 0.958 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.6863, allocations: 1.938 kB / 0.958 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.6865, allocations: 112.9 kB / 0.9581 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.522e-06/0.6865, allocations: 0 / 0.9581 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.000405/0.6869, allocations: 209.2 kB / 0.9583 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.687, allocations: 53.91 kB / 0.9584 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000608/0.6876, allocations: 0.6454 MB / 0.959 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.6876, allocations: 36.28 kB / 0.9591 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.6877, allocations: 258.7 kB / 0.9593 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.6878, allocations: 38.11 kB / 0.9593 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.666e-05/0.6879, allocations: 54.44 kB / 0.9594 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.723e-05/0.6879, allocations: 371 kB / 0.9597 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.6881, allocations: 86.88 kB / 0.9598 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.6882, allocations: 112.5 kB / 0.9599 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.6884, allocations: 131.6 kB / 0.9601 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6884, allocations: 0 / 0.9601 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003751/0.6888, allocations: 276.8 kB / 0.9603 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.6888, allocations: 4.375 kB / 0.9603 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.6889, allocations: 1.156 kB / 0.9603 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.6889, allocations: 1.031 kB / 0.9603 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.689, allocations: 41.44 kB / 0.9604 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.6891, allocations: 1.875 kB / 0.9604 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.6892, allocations: 28.02 kB / 0.9604 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.6893, allocations: 9.844 kB / 0.9604 GB, free: 1.078 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.0001675/0.6894, allocations: 211.3 kB / 0.9606 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.6895, allocations: 55.28 kB / 0.9607 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.451e-05/0.6896, allocations: 60.69 kB / 0.9607 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.6896, allocations: 2.688 kB / 0.9607 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6896, allocations: 3.938 kB / 0.9607 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.6896, allocations: 0 / 0.9607 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.6899, allocations: 378.7 kB / 0.9611 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6899, allocations: 0 / 0.9611 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.583e-05/0.6899, allocations: 12.33 kB / 0.9611 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.69, allocations: 1.125 kB / 0.9611 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.69, allocations: 1.031 kB / 0.9611 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.69, allocations: 1.125 kB / 0.9611 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.69, allocations: 0 / 0.9611 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.6904, allocations: 257.3 kB / 0.9614 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.219e-05/0.6904, allocations: 133.2 kB / 0.9615 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.6905, allocations: 14.77 kB / 0.9615 GB, free: 188 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.6906, allocations: 14.86 kB / 0.9615 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.6907, allocations: 21.56 kB / 0.9615 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.6907, allocations: 4.469 kB / 0.9615 GB, free: 168 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004069/0.6911, allocations: 428 kB / 0.9619 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6911, allocations: 0 / 0.9619 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002864/0.6914, allocations: 63.56 kB / 0.962 GB, free: 15.91 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.001453/0.6929, allocations: 1.118 MB / 0.9631 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003227/0.6932, allocations: 159.9 kB / 0.9632 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6932, allocations: 0 / 0.9632 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.6933, allocations: 59.31 kB / 0.9633 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.6938, allocations: 72.53 kB / 0.9634 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004609/0.6984, allocations: 3.889 MB / 0.9672 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.6988, allocations: 0.8574 MB / 0.968 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000134/0.6989, allocations: 42.59 kB / 0.968 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.6991, allocations: 161 kB / 0.9682 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of SimCode: time 6.51e-07/0.6991, allocations: 4 kB / 0.9682 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2376/0.9368, allocations: 9.077 MB / 0.9771 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/8.745, allocations: 9.453 kB / 0.9771 GB, free: 5.566 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