Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.AssertFuelFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",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.006434/0.006434, allocations: 102 kB / 15.73 MB, free: 6.441 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.001392/0.001392, allocations: 196.3 kB / 16.67 MB, free: 6.352 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 469.8 MB / 0.7425 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 63.91 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3106, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.00381/0.3145, allocations: 2.269 MB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002281/0.3168, allocations: 1.447 MB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.3169, allocations: 3.938 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005942/0.3175, allocations: 183.4 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.3179, allocations: 135.3 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.3183, allocations: 167.3 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.3187, allocations: 271 kB / 1.225 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.3188, allocations: 56.67 kB / 1.225 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.319, allocations: 103.5 kB / 1.225 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.3192, allocations: 115.4 kB / 1.225 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.3192, allocations: 15.94 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.3193, allocations: 55.97 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.3195, allocations: 95.67 kB / 1.225 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.3196, allocations: 150.8 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.3201, allocations: 398.1 kB / 1.225 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3201, allocations: 0 / 1.225 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3201, allocations: 0 / 1.225 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.3201, allocations: 0 / 1.225 GB, free: 8.805 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001057/0.3212, allocations: 0.7306 MB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3213, allocations: 8.031 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.205e-05/0.3213, allocations: 38.75 kB / 1.226 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.892e-05/0.3214, allocations: 52.59 kB / 1.226 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000517/0.3219, allocations: 404.6 kB / 1.227 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.322, allocations: 12.12 kB / 1.227 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.322, allocations: 12 kB / 1.227 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.3222, allocations: 100.1 kB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3222, allocations: 0 / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3222, allocations: 3.938 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3223, allocations: 4 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.3224, allocations: 47.97 kB / 1.227 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007668/0.3232, allocations: 0.4926 MB / 1.227 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.3235, allocations: 102.7 kB / 1.227 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.486e-05/0.3236, allocations: 36.84 kB / 1.227 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.3237, allocations: 0 / 1.227 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.3238, allocations: 95.31 kB / 1.228 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3239, allocations: 0 / 1.228 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0004139/0.3243, allocations: 185.2 kB / 1.228 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.3243, allocations: 55.39 kB / 1.228 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005375/0.3249, allocations: 0.4915 MB / 1.228 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.3249, allocations: 29.7 kB / 1.228 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.3251, allocations: 236 kB / 1.229 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.3251, allocations: 23.84 kB / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.253e-05/0.3252, allocations: 53.59 kB / 1.229 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3254, allocations: 362.8 kB / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.3255, allocations: 47.98 kB / 1.229 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.3257, allocations: 80.17 kB / 1.229 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.3259, allocations: 99.92 kB / 1.229 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3259, allocations: 3.938 kB / 1.229 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003434/0.3262, allocations: 209.3 kB / 1.229 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3262, allocations: 4 kB / 1.229 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3263, allocations: 0 / 1.229 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3263, allocations: 4 kB / 1.229 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.3264, allocations: 35.98 kB / 1.229 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3265, allocations: 0 / 1.229 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.3266, allocations: 19.88 kB / 1.229 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.3266, allocations: 12 kB / 1.229 GB, free: 4.512 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.mFue_flow.tab.nextTimeEvent,$whenCondition1,mFue_flow.tab.nextTimeEventScaled,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEvent,assFue.hys.y,$PRE.assFue.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001892/0.3268, allocations: 193.7 kB / 1.23 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.3269, allocations: 47.67 kB / 1.23 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.19e-05/0.327, allocations: 51.91 kB / 1.23 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.327, allocations: 0 / 1.23 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.327, allocations: 0 / 1.23 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.327, allocations: 0 / 1.23 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.3273, allocations: 321.4 kB / 1.23 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3273, allocations: 3.938 kB / 1.23 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.478e-05/0.3274, allocations: 8 kB / 1.23 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3274, allocations: 4 kB / 1.23 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.3274, allocations: 3.984 kB / 1.23 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3274, allocations: 0 / 1.23 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.3274, allocations: 3.938 kB / 1.23 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.3278, allocations: 220.6 kB / 1.23 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.584e-05/0.3279, allocations: 120.8 kB / 1.23 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.3279, allocations: 0 / 1.23 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.485e-05/0.328, allocations: 8.047 kB / 1.23 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.3281, allocations: 19.98 kB / 1.23 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.3281, allocations: 4.094 kB / 1.23 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003803/0.3285, allocations: 354.8 kB / 1.231 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3285, allocations: 0 / 1.231 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002638/0.3288, allocations: 51.89 kB / 1.231 GB, free: 3.027 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assFue.floChaRat.x) * Number of discrete variables: 4 ($whenCondition1,assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 3 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002013/0.3308, allocations: 1.066 MB / 1.232 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002906/0.3311, allocations: 113.6 kB / 1.232 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3311, allocations: 3.938 kB / 1.232 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.978e-05/0.3312, allocations: 39.92 kB / 1.232 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.3316, allocations: 74.55 kB / 1.232 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.3354, allocations: 3.149 MB / 1.235 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.3358, allocations: 0.8228 MB / 1.236 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.336, allocations: 33.94 kB / 1.236 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.3362, allocations: 127.4 kB / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.3362, allocations: 0 / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/0.3671, allocations: 7.694 MB / 1.244 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/8.578, allocations: 20.59 kB / 1.244 GB, free: 6.074 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches