Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_latest_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.006846/0.006846, allocations: 101.3 kB / 15.73 MB, free: 6.051 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.001738/0.001738, allocations: 191.8 kB / 16.67 MB, free: 5.969 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.545/2.545, allocations: 469.4 MB / 0.7422 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.91 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7894/0.7907, allocations: 159.1 MB / 1.22 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004113/0.7949, allocations: 2.257 MB / 1.222 GB, free: 160 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002461/0.7974, allocations: 1.44 MB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.7977, allocations: 8 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006168/0.7983, allocations: 187.2 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004503/0.7988, allocations: 135.3 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005041/0.7993, allocations: 166.9 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004257/0.7997, allocations: 267.1 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.7999, allocations: 56.67 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.8002, allocations: 115.5 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.8004, allocations: 107.5 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.402e-05/0.8004, allocations: 16 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.8006, allocations: 63.84 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.8007, allocations: 99.66 kB / 1.225 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.8008, allocations: 146.9 kB / 1.225 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005169/0.8014, allocations: 402.2 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.8014, allocations: 0 / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8014, allocations: 0 / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.8014, allocations: 0 / 1.225 GB, free: 12.98 MB / 0.9512 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.001137/0.8025, allocations: 0.7189 MB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.8026, allocations: 16.56 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.035e-05/0.8027, allocations: 38.75 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.864e-05/0.8028, allocations: 52.61 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005584/0.8033, allocations: 416.5 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.8034, allocations: 12.12 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.8034, allocations: 8 kB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.8036, allocations: 93.64 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.8036, allocations: 0 / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.8036, allocations: 0 / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.8037, allocations: 4 kB / 1.226 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.8038, allocations: 55.91 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000793/0.8046, allocations: 496.5 kB / 1.227 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/0.805, allocations: 114.7 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.364e-05/0.8051, allocations: 40.78 kB / 1.227 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.8051, allocations: 0 / 1.227 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.8053, allocations: 91.31 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.8053, allocations: 0 / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0004035/0.8057, allocations: 177.2 kB / 1.227 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.8057, allocations: 63.41 kB / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005032/0.8062, allocations: 0.4911 MB / 1.228 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.8063, allocations: 29.7 kB / 1.228 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.8064, allocations: 236 kB / 1.228 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.8065, allocations: 19.86 kB / 1.228 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-05/0.8066, allocations: 53.64 kB / 1.228 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.8067, allocations: 358.8 kB / 1.229 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.8068, allocations: 51.98 kB / 1.229 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.807, allocations: 74.55 kB / 1.229 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.8072, allocations: 99.88 kB / 1.229 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.8072, allocations: 4.312 kB / 1.229 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003383/0.8075, allocations: 202.7 kB / 1.229 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.8075, allocations: 8 kB / 1.229 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.8075, allocations: 3.984 kB / 1.229 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.8076, allocations: 8 kB / 1.229 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.8077, allocations: 39.92 kB / 1.229 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.8078, allocations: 0 / 1.229 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.8079, allocations: 23.88 kB / 1.229 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.8079, allocations: 8 kB / 1.229 GB, free: 8.68 MB / 0.9512 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.0001847/0.8081, allocations: 190.2 kB / 1.229 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.714e-05/0.8082, allocations: 47.67 kB / 1.229 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.574e-05/0.8083, allocations: 47.91 kB / 1.229 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.8083, allocations: 4 kB / 1.229 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.8083, allocations: 0 / 1.229 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.8083, allocations: 4 kB / 1.229 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.8086, allocations: 317.4 kB / 1.23 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.8086, allocations: 0 / 1.23 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.569e-05/0.8086, allocations: 8 kB / 1.23 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.8087, allocations: 0 / 1.23 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.8087, allocations: 11.98 kB / 1.23 GB, free: 8 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.8087, allocations: 0 / 1.23 GB, free: 8 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8087, allocations: 3.938 kB / 1.23 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.809, allocations: 220.6 kB / 1.23 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-05/0.8091, allocations: 120.8 kB / 1.23 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.8092, allocations: 4 kB / 1.23 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.318e-05/0.8093, allocations: 8 kB / 1.23 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.8093, allocations: 11.98 kB / 1.23 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.8094, allocations: 7.984 kB / 1.23 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003478/0.8097, allocations: 354.8 kB / 1.23 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8097, allocations: 4.062 kB / 1.23 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002708/0.81, allocations: 47.95 kB / 1.23 GB, free: 7.199 MB / 0.9512 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.00147/0.8115, allocations: 1.062 MB / 1.231 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002827/0.8118, allocations: 111.8 kB / 1.231 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8118, allocations: 0 / 1.231 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.636e-05/0.8119, allocations: 43.92 kB / 1.232 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.8123, allocations: 84.12 kB / 1.232 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.8158, allocations: 3.145 MB / 1.235 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.8162, allocations: 0.826 MB / 1.235 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001192/0.8164, allocations: 33.94 kB / 1.236 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.8165, allocations: 123.4 kB / 1.236 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of SimCode: time 4.61e-07/0.8165, allocations: 4 kB / 1.236 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.8413, allocations: 7.695 MB / 1.243 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/8.451, allocations: 0 / 1.243 GB, free: 10.27 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches