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.0008179/0.0008178, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005758/0.005758, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.194/2.194, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.0003561, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5912/0.5915, allocations: 142.4 MB / 0.9552 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002077/0.5936, allocations: 2.103 MB / 0.9572 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.5954, allocations: 1.458 MB / 0.9587 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.5956, allocations: 3.562 kB / 0.9587 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004898/0.5961, allocations: 221.2 kB / 0.9589 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.5963, allocations: 144.8 kB / 0.959 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.5967, allocations: 168 kB / 0.9592 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.597, allocations: 324.4 kB / 0.9595 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.5972, allocations: 84.58 kB / 0.9596 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.5974, allocations: 118.7 kB / 0.9597 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.5975, allocations: 138.3 kB / 0.9598 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.5975, allocations: 6.156 kB / 0.9598 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.5977, allocations: 55.89 kB / 0.9599 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.712e-05/0.5978, allocations: 100.7 kB / 0.96 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.5979, allocations: 203.9 kB / 0.9602 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.5982, allocations: 472.5 kB / 0.9606 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.5982, allocations: 7.984 kB / 0.9606 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5982, allocations: 3.938 kB / 0.9606 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.5982, allocations: 4 kB / 0.9606 GB, free: 3.625 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.0008043/0.5991, allocations: 0.728 MB / 0.9613 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.5991, allocations: 9.188 kB / 0.9613 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.5991, allocations: 46.7 kB / 0.9614 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.779e-05/0.5992, allocations: 59.91 kB / 0.9614 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.5996, allocations: 421 kB / 0.9618 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.5996, allocations: 22.05 kB / 0.9619 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.5997, allocations: 13.53 kB / 0.9619 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.5999, allocations: 136.9 kB / 0.962 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.5999, allocations: 0 / 0.962 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.5999, allocations: 1.25 kB / 0.962 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.5999, allocations: 3.75 kB / 0.962 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.6001, allocations: 90.62 kB / 0.9621 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000807/0.6009, allocations: 0.647 MB / 0.9627 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.6012, allocations: 135.6 kB / 0.9629 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.96e-05/0.6013, allocations: 46.75 kB / 0.9629 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.6014, allocations: 5.172 kB / 0.9629 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.6015, allocations: 101.2 kB / 0.963 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.6015, allocations: 0 / 0.963 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0003621/0.6019, allocations: 217.8 kB / 0.9632 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.6019, allocations: 56.53 kB / 0.9633 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005476/0.6025, allocations: 0.6459 MB / 0.9639 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.6025, allocations: 41.06 kB / 0.9639 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.6026, allocations: 263 kB / 0.9642 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.6027, allocations: 37.31 kB / 0.9642 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.6027, allocations: 35.27 kB / 0.9643 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.859e-05/0.6028, allocations: 374.8 kB / 0.9646 GB, free: 408 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.6029, allocations: 74.09 kB / 0.9647 GB, free: 376 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.6031, allocations: 120.1 kB / 0.9648 GB, free: 296 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.6032, allocations: 124.8 kB / 0.9649 GB, free: 232 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6033, allocations: 0 / 0.9649 GB, free: 232 kB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003421/0.6036, allocations: 267.5 kB / 0.9652 GB, free: 92 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.6036, allocations: 10.8 kB / 0.9652 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6036, allocations: 3.812 kB / 0.9652 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.6036, allocations: 0 / 0.9652 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.6038, allocations: 35.86 kB / 0.9652 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.6038, allocations: 5.547 kB / 0.9652 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.604, allocations: 38.53 kB / 0.9653 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.604, allocations: 9.094 kB / 0.9653 GB, free: 48 kB / 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.0002012/0.6042, allocations: 203.1 kB / 0.9655 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.099e-05/0.6043, allocations: 59.08 kB / 0.9655 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.783e-05/0.6044, allocations: 63.66 kB / 0.9656 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.6044, allocations: 2.688 kB / 0.9656 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6044, allocations: 0 / 0.9656 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.6044, allocations: 0 / 0.9656 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.6047, allocations: 367.7 kB / 0.9659 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6047, allocations: 1.094 kB / 0.9659 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.6048, allocations: 7.688 kB / 0.9659 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.6048, allocations: 1.062 kB / 0.9659 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.6048, allocations: 5.25 kB / 0.9659 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6048, allocations: 12.77 kB / 0.966 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6048, allocations: 0 / 0.966 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.6052, allocations: 249.4 kB / 0.9662 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.922e-05/0.6053, allocations: 136.6 kB / 0.9663 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.6054, allocations: 6.219 kB / 0.9663 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.6055, allocations: 16.08 kB / 0.9663 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.6056, allocations: 26.19 kB / 0.9664 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.6056, allocations: 11.02 kB / 0.9664 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004337/0.606, allocations: 432.2 kB / 0.9668 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6061, allocations: 0.75 kB / 0.9668 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002775/0.6063, allocations: 59.69 kB / 0.9669 GB, free: 14.89 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.001379/0.6077, allocations: 1.117 MB / 0.9679 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002916/0.608, allocations: 158.2 kB / 0.9681 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.608, allocations: 1 kB / 0.9681 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.6082, allocations: 55.27 kB / 0.9682 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.6086, allocations: 70.47 kB / 0.9682 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.6129, allocations: 4.021 MB / 0.9721 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.6133, allocations: 0.8535 MB / 0.973 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.6134, allocations: 39.19 kB / 0.973 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.6136, allocations: 159.9 kB / 0.9732 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of SimCode: time 1.533e-06/0.6136, allocations: 0 / 0.9732 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.625/3.238, allocations: 8.523 MB / 0.9815 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/3.238, allocations: 247 kB / 0.9817 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.914/6.152, allocations: 0 / 0.9817 GB, free: 3.961 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