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: 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.001566/0.001566, allocations: 106.2 kB / 16.36 MB, free: 6.355 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.001356/0.001356, allocations: 195.8 kB / 17.3 MB, free: 5.906 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.405/2.405, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 64.34 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3157, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004049/0.3197, allocations: 2.437 MB / 0.9535 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00231/0.3221, allocations: 1.51 MB / 0.955 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.3222, allocations: 7.938 kB / 0.955 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006309/0.3229, allocations: 231.3 kB / 0.9552 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.3233, allocations: 151.2 kB / 0.9553 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.3237, allocations: 195.4 kB / 0.9555 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004045/0.3241, allocations: 350.9 kB / 0.9559 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.3243, allocations: 88.69 kB / 0.9559 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.3245, allocations: 143.3 kB / 0.9561 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.3247, allocations: 155.2 kB / 0.9562 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/0.3248, allocations: 20 kB / 0.9562 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.3249, allocations: 59.98 kB / 0.9563 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.325, allocations: 119.6 kB / 0.9564 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.3252, allocations: 198.5 kB / 0.9566 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005006/0.3257, allocations: 0.4981 MB / 0.9571 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3257, allocations: 0 / 0.9571 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3257, allocations: 0 / 0.9571 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.3257, allocations: 0 / 0.9571 GB, free: 1.918 MB / 0.7325 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.00119/0.3269, allocations: 0.8085 MB / 0.9579 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.327, allocations: 8.031 kB / 0.9579 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.3271, allocations: 60.19 kB / 0.958 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005968/0.3277, allocations: 423.8 kB / 0.9584 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.3277, allocations: 16.36 kB / 0.9584 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.3278, allocations: 15.94 kB / 0.9584 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.328, allocations: 133.6 kB / 0.9585 GB, free: 376 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3281, allocations: 7.922 kB / 0.9585 GB, free: 368 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.3281, allocations: 8 kB / 0.9585 GB, free: 360 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3281, allocations: 0 / 0.9585 GB, free: 360 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.3283, allocations: 87.89 kB / 0.9586 GB, free: 272 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.3293, allocations: 0.6329 MB / 0.9592 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.3297, allocations: 130.6 kB / 0.9594 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.712e-05/0.3298, allocations: 52.81 kB / 0.9594 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.3298, allocations: 15.84 kB / 0.9594 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.33, allocations: 95.36 kB / 0.9595 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.3301, allocations: 0 / 0.9595 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12): time 0.0004348/0.3305, allocations: 209 kB / 0.9597 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.3306, allocations: 63.28 kB / 0.9598 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007186/0.3313, allocations: 0.6436 MB / 0.9604 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.3313, allocations: 33.7 kB / 0.9604 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.3315, allocations: 260.4 kB / 0.9607 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.3316, allocations: 31.56 kB / 0.9607 GB, free: 14 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.034e-05/0.3317, allocations: 61.59 kB / 0.9608 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3318, allocations: 366.8 kB / 0.9611 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.332, allocations: 75.95 kB / 0.9612 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.3322, allocations: 118.2 kB / 0.9613 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.3324, allocations: 127.7 kB / 0.9614 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.3324, allocations: 0 / 0.9614 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004205/0.3328, allocations: 268.8 kB / 0.9617 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3328, allocations: 8 kB / 0.9617 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3329, allocations: 0 / 0.9617 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3329, allocations: 3.984 kB / 0.9617 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.3331, allocations: 39.92 kB / 0.9617 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3331, allocations: 0 / 0.9617 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.3332, allocations: 35.86 kB / 0.9618 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.3333, allocations: 11.98 kB / 0.9618 GB, free: 12.88 MB / 0.7481 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.0002106/0.3335, allocations: 206.2 kB / 0.962 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/0.3336, allocations: 51.34 kB / 0.962 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.3337, allocations: 56.66 kB / 0.9621 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3337, allocations: 4 kB / 0.9621 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.3337, allocations: 3.984 kB / 0.9621 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.3337, allocations: 4 kB / 0.9621 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.3341, allocations: 377.3 kB / 0.9624 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3341, allocations: 0 / 0.9624 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.731e-05/0.3341, allocations: 8 kB / 0.9625 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3341, allocations: 0 / 0.9625 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.3342, allocations: 7.938 kB / 0.9625 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3342, allocations: 7.938 kB / 0.9625 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3342, allocations: 3.984 kB / 0.9625 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.3346, allocations: 260.2 kB / 0.9627 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.3348, allocations: 128.5 kB / 0.9628 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.3348, allocations: 8 kB / 0.9629 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.3349, allocations: 7.984 kB / 0.9629 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.335, allocations: 27.95 kB / 0.9629 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.335, allocations: 8 kB / 0.9629 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004394/0.3355, allocations: 426.8 kB / 0.9633 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3355, allocations: 0 / 0.9633 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002779/0.3358, allocations: 71.89 kB / 0.9634 GB, free: 11.14 MB / 0.7481 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.001059/0.3368, allocations: 428.9 kB / 0.9638 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003425/0.3372, allocations: 161.2 kB / 0.9639 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3372, allocations: 0 / 0.9639 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.3373, allocations: 59.86 kB / 0.964 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.3378, allocations: 79.03 kB / 0.9641 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.3391, allocations: 0.8296 MB / 0.9649 GB, free: 9.734 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.3396, allocations: 0.857 MB / 0.9657 GB, free: 8.852 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001099/0.3397, allocations: 42.27 kB / 0.9658 GB, free: 8.809 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.391e-05/0.3398, allocations: 31.42 kB / 0.9658 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of SimCode: time 3.71e-07/0.3398, allocations: 0 / 0.9658 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of Templates: time 0.008593/0.3484, allocations: 4.025 MB / 0.9697 GB, free: 4.785 MB / 0.7481 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 -s cvode -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/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