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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007781/0.0007781, allocations: 91.45 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.0049/0.004901, 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.44/1.44, allocations: 223.2 MB / 240.3 MB, free: 5.363 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.537/2.537, allocations: 390.9 MB / 0.6663 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004248/0.000425, allocations: 16 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7907/0.7911, allocations: 142.4 MB / 0.955 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002857/0.794, allocations: 2.115 MB / 0.9571 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002416/0.7965, allocations: 1.452 MB / 0.9585 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.7967, allocations: 8 kB / 0.9585 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006372/0.7974, allocations: 226.2 kB / 0.9587 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003553/0.7977, allocations: 135.8 kB / 0.9589 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.7982, allocations: 166.4 kB / 0.959 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000343/0.7985, allocations: 324 kB / 0.9593 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.7988, allocations: 88.56 kB / 0.9594 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.7989, allocations: 115.5 kB / 0.9595 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.7991, allocations: 141 kB / 0.9597 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.7992, allocations: 5.5 kB / 0.9597 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.7993, allocations: 52.8 kB / 0.9597 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.7994, allocations: 109 kB / 0.9598 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.7996, allocations: 191.9 kB / 0.96 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.8, allocations: 487.4 kB / 0.9605 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.8, allocations: 4.906 kB / 0.9605 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8, allocations: 0 / 0.9605 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.8, allocations: 0 / 0.9605 GB, free: 3.539 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.001042/0.8011, allocations: 0.728 MB / 0.9612 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.8011, allocations: 9.188 kB / 0.9612 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.888e-05/0.8012, allocations: 59.72 kB / 0.9613 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/0.8017, allocations: 425.5 kB / 0.9617 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.8017, allocations: 17.95 kB / 0.9617 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.8018, allocations: 17.31 kB / 0.9617 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.802, allocations: 130.1 kB / 0.9618 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.8021, allocations: 0 / 0.9618 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.8021, allocations: 2 kB / 0.9618 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.8021, allocations: 7.156 kB / 0.9618 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.8023, allocations: 86.05 kB / 0.9619 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009399/0.8032, allocations: 0.6475 MB / 0.9625 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/0.8036, allocations: 143.2 kB / 0.9627 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.922e-05/0.8037, allocations: 46.62 kB / 0.9627 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.8037, allocations: 2.188 kB / 0.9627 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.8039, allocations: 101.1 kB / 0.9628 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.8039, allocations: 0 / 0.9628 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0004288/0.8044, allocations: 209.6 kB / 0.963 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.8044, allocations: 64.66 kB / 0.9631 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006569/0.8051, allocations: 0.6453 MB / 0.9637 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.8051, allocations: 33.36 kB / 0.9638 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.8053, allocations: 262.5 kB / 0.964 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.8053, allocations: 37.89 kB / 0.964 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.8054, allocations: 35.23 kB / 0.9641 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.582e-05/0.8055, allocations: 366.8 kB / 0.9644 GB, free: 388 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.8056, allocations: 74.44 kB / 0.9645 GB, free: 356 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.8058, allocations: 124.2 kB / 0.9646 GB, free: 272 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.806, allocations: 126.9 kB / 0.9647 GB, free: 204 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.806, allocations: 1.344 kB / 0.9647 GB, free: 204 kB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003796/0.8064, allocations: 269.3 kB / 0.965 GB, free: 60 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.8064, allocations: 6.062 kB / 0.965 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.8064, allocations: 0 / 0.965 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.8064, allocations: 5.438 kB / 0.965 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.8066, allocations: 45.88 kB / 0.965 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.8066, allocations: 1 kB / 0.965 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.8068, allocations: 38.61 kB / 0.9651 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.8069, allocations: 9.094 kB / 0.9651 GB, free: 16 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.0002427/0.8071, allocations: 215.3 kB / 0.9653 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.8072, allocations: 52.34 kB / 0.9653 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.295e-05/0.8073, allocations: 54.91 kB / 0.9654 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.8073, allocations: 1.312 kB / 0.9654 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.8073, allocations: 0 / 0.9654 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.8073, allocations: 1.344 kB / 0.9654 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/0.8077, allocations: 375.4 kB / 0.9658 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8077, allocations: 0 / 0.9658 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/0.8078, allocations: 12.58 kB / 0.9658 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.8078, allocations: 0 / 0.9658 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.8078, allocations: 10.19 kB / 0.9658 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.8078, allocations: 0.9375 kB / 0.9658 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8078, allocations: 0 / 0.9658 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004379/0.8083, allocations: 261.9 kB / 0.966 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.8084, allocations: 132.8 kB / 0.9662 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.956e-05/0.8084, allocations: 5.656 kB / 0.9662 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.8086, allocations: 20.42 kB / 0.9662 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.8087, allocations: 20.97 kB / 0.9662 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.8087, allocations: 8.438 kB / 0.9662 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000485/0.8092, allocations: 431.7 kB / 0.9666 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8092, allocations: 0 / 0.9666 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003225/0.8095, allocations: 60.52 kB / 0.9667 GB, free: 14.86 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.001017/0.8105, allocations: 427.1 kB / 0.9671 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003629/0.8109, allocations: 162.6 kB / 0.9672 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.8109, allocations: 0 / 0.9672 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.8111, allocations: 55.33 kB / 0.9673 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.8116, allocations: 72.23 kB / 0.9674 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.813, allocations: 0.9892 MB / 0.9683 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.8135, allocations: 0.8592 MB / 0.9692 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001363/0.8137, allocations: 38.66 kB / 0.9692 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.813e-05/0.8137, allocations: 35.45 kB / 0.9692 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.8138, allocations: 0.8125 kB / 0.9692 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of Templates: time 0.009625/0.8234, allocations: 3.707 MB / 0.9729 GB, free: 11.21 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (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 & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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