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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 102.7 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.655/1.655, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.448/3.448, allocations: 0.505 GB / 0.8066 GB, free: 23.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 70.09 kB / 1.172 GB, free: 17.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3781, allocations: 180.2 MB / 1.348 GB, free: 9.918 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.005345/0.3835, allocations: 2.296 MB / 1.35 GB, free: 7.613 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003195/0.3867, allocations: 1.61 MB / 1.352 GB, free: 5.996 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002385/0.3869, allocations: 11.94 kB / 1.352 GB, free: 5.984 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007821/0.3877, allocations: 183.1 kB / 1.352 GB, free: 5.805 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007156/0.3884, allocations: 175.1 kB / 1.352 GB, free: 5.633 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005455/0.389, allocations: 131.6 kB / 1.352 GB, free: 5.504 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005856/0.3896, allocations: 279 kB / 1.352 GB, free: 5.23 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.3898, allocations: 36.66 kB / 1.352 GB, free: 5.188 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002818/0.39, allocations: 123.5 kB / 1.352 GB, free: 5.066 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.3903, allocations: 119.4 kB / 1.353 GB, free: 4.949 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.042e-05/0.3903, allocations: 12 kB / 1.353 GB, free: 4.938 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.3905, allocations: 59.97 kB / 1.353 GB, free: 4.879 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.3907, allocations: 99.59 kB / 1.353 GB, free: 4.781 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.3909, allocations: 154.8 kB / 1.353 GB, free: 4.629 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006832/0.3916, allocations: 410 kB / 1.353 GB, free: 4.227 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3916, allocations: 0 / 1.353 GB, free: 4.227 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3916, allocations: 0 / 1.353 GB, free: 4.227 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.838e-05/0.3916, allocations: 0 / 1.353 GB, free: 4.227 MB / 1.045 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.001465/0.393, allocations: 0.7305 MB / 1.354 GB, free: 3.445 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.3931, allocations: 11.98 kB / 1.354 GB, free: 3.434 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.046e-05/0.3932, allocations: 42.73 kB / 1.354 GB, free: 3.383 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.3933, allocations: 48.61 kB / 1.354 GB, free: 3.336 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007364/0.394, allocations: 416.6 kB / 1.355 GB, free: 2.887 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.3941, allocations: 16.06 kB / 1.355 GB, free: 2.871 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.3941, allocations: 8 kB / 1.355 GB, free: 2.863 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.3944, allocations: 91.75 kB / 1.355 GB, free: 2.77 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3944, allocations: 0 / 1.355 GB, free: 2.77 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.3944, allocations: 8 kB / 1.355 GB, free: 2.762 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3944, allocations: 0 / 1.355 GB, free: 2.762 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.3946, allocations: 51.97 kB / 1.355 GB, free: 2.711 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.3956, allocations: 0.4926 MB / 1.355 GB, free: 2.168 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004155/0.396, allocations: 102.7 kB / 1.355 GB, free: 2.059 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.215e-05/0.3961, allocations: 36.83 kB / 1.355 GB, free: 2.02 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.3961, allocations: 7.938 kB / 1.355 GB, free: 2.012 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.3963, allocations: 87.36 kB / 1.355 GB, free: 1.914 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.873e-06/0.3963, allocations: 3.938 kB / 1.355 GB, free: 1.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0004738/0.3968, allocations: 185.2 kB / 1.356 GB, free: 1.723 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.3969, allocations: 51.41 kB / 1.356 GB, free: 1.66 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006829/0.3975, allocations: 0.5029 MB / 1.356 GB, free: 1.145 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.3976, allocations: 29.7 kB / 1.356 GB, free: 1.109 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.3978, allocations: 236.1 kB / 1.356 GB, free: 0.875 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.3978, allocations: 31.78 kB / 1.356 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-05/0.3979, allocations: 46.08 kB / 1.356 GB, free: 0.793 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.3981, allocations: 358.8 kB / 1.357 GB, free: 444 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.3982, allocations: 47.98 kB / 1.357 GB, free: 396 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.3984, allocations: 85.44 kB / 1.357 GB, free: 304 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.3986, allocations: 111.5 kB / 1.357 GB, free: 188 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.3986, allocations: 7.969 kB / 1.357 GB, free: 180 kB / 1.045 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004324/0.399, allocations: 211.1 kB / 1.357 GB, free: 15.96 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3991, allocations: 4 kB / 1.357 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3991, allocations: 0 / 1.357 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3991, allocations: 4 kB / 1.357 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.3993, allocations: 31.98 kB / 1.357 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3993, allocations: 0 / 1.357 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.3994, allocations: 19.94 kB / 1.357 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.3994, allocations: 8.031 kB / 1.357 GB, free: 15.89 MB / 1.061 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.0002107/0.3997, allocations: 194.9 kB / 1.357 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.696e-05/0.3997, allocations: 51.67 kB / 1.358 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.17e-05/0.3998, allocations: 52.03 kB / 1.358 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3998, allocations: 0 / 1.358 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3998, allocations: 0 / 1.358 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3998, allocations: 0 / 1.358 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/0.4002, allocations: 317.4 kB / 1.358 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4002, allocations: 0 / 1.358 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.082e-05/0.4002, allocations: 11.98 kB / 1.358 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4002, allocations: 4 kB / 1.358 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.4002, allocations: 7.938 kB / 1.358 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.4002, allocations: 4 kB / 1.358 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4002, allocations: 0 / 1.358 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004123/0.4007, allocations: 220.6 kB / 1.358 GB, free: 14.97 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.905e-05/0.4008, allocations: 112.8 kB / 1.358 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.4008, allocations: 11.94 kB / 1.358 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.4009, allocations: 12.05 kB / 1.358 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.401, allocations: 11.98 kB / 1.358 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.401, allocations: 4 kB / 1.358 GB, free: 14.8 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004256/0.4014, allocations: 358.8 kB / 1.359 GB, free: 14.46 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4014, allocations: 0 / 1.359 GB, free: 14.46 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003028/0.4017, allocations: 55.88 kB / 1.359 GB, free: 14.4 MB / 1.061 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.002266/0.404, allocations: 1.066 MB / 1.36 GB, free: 13.47 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003005/0.4043, allocations: 99.91 kB / 1.36 GB, free: 13.37 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.4043, allocations: 0 / 1.36 GB, free: 13.37 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.4044, allocations: 39.92 kB / 1.36 GB, free: 13.33 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.4048, allocations: 70.73 kB / 1.36 GB, free: 13.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004462/0.4093, allocations: 3.192 MB / 1.363 GB, free: 9.992 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.4098, allocations: 0.8182 MB / 1.364 GB, free: 9.148 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001411/0.4099, allocations: 33.94 kB / 1.364 GB, free: 9.113 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.4101, allocations: 131.3 kB / 1.364 GB, free: 8.984 MB / 1.061 GB Notification: Performance of SimCode: time 1.313e-06/0.4101, allocations: 0 / 1.364 GB, free: 8.984 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0348/0.4449, allocations: 7.824 MB / 1.372 GB, free: 1.273 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.887/9.332, allocations: 13.53 kB / 1.372 GB, free: 1.262 MB / 1.061 GB " [Timeout remaining time 291] (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 800 --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) [Timeout 840.0] 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) [Timeout 300] "Error: Could not read variable assFue.assMes.u in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv. Warning: Get data of variable assFue.assMes.u from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv failed! Error: Could not read variable assFue.mFue_flow in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv. Warning: Get data of variable assFue.mFue_flow from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.859404267044738]