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.001298/0.001298, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001548/0.001548, allocations: 218.7 kB / 22.26 MB, free: 5.125 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.992 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.338/3.338, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.002177/0.002177, allocations: 65.95 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.401, allocations: 180.2 MB / 1.353 GB, free: 8.492 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003852/0.4048, allocations: 2.315 MB / 1.355 GB, free: 6.168 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002742/0.4076, allocations: 1.628 MB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.4077, allocations: 7.938 kB / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006592/0.4084, allocations: 183.1 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004989/0.4089, allocations: 171.2 kB / 1.357 GB, free: 4.18 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.4093, allocations: 135.6 kB / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004145/0.4097, allocations: 287 kB / 1.357 GB, free: 3.766 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.4098, allocations: 32.92 kB / 1.358 GB, free: 3.734 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.41, allocations: 127.4 kB / 1.358 GB, free: 3.609 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.4102, allocations: 115.4 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.4102, allocations: 16 kB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.4104, allocations: 55.97 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.4105, allocations: 103.6 kB / 1.358 GB, free: 3.324 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.4107, allocations: 150.8 kB / 1.358 GB, free: 3.176 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005137/0.4112, allocations: 406 kB / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4112, allocations: 0 / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4112, allocations: 4 kB / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.4112, allocations: 0 / 1.358 GB, free: 2.773 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.001159/0.4123, allocations: 0.6552 MB / 1.359 GB, free: 2.086 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4124, allocations: 12.02 kB / 1.359 GB, free: 2.074 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.117e-05/0.4124, allocations: 38.75 kB / 1.359 GB, free: 2.027 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.029e-05/0.4125, allocations: 48.61 kB / 1.359 GB, free: 1.98 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.4131, allocations: 357.3 kB / 1.36 GB, free: 1.602 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.4131, allocations: 16.12 kB / 1.36 GB, free: 1.586 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.4131, allocations: 11.98 kB / 1.36 GB, free: 1.574 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.4133, allocations: 85.66 kB / 1.36 GB, free: 1.484 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4134, allocations: 0 / 1.36 GB, free: 1.484 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.4134, allocations: 4 kB / 1.36 GB, free: 1.48 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4134, allocations: 0 / 1.36 GB, free: 1.48 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.4135, allocations: 59.89 kB / 1.36 GB, free: 1.422 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008184/0.4143, allocations: 475.5 kB / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.4147, allocations: 94.72 kB / 1.36 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.563e-05/0.4148, allocations: 40.78 kB / 1.36 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.4148, allocations: 0 / 1.36 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.415, allocations: 87.38 kB / 1.36 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.415, allocations: 0 / 1.36 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0004049/0.4154, allocations: 185.5 kB / 1.361 GB, free: 496 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.4154, allocations: 55.41 kB / 1.361 GB, free: 428 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000625/0.4161, allocations: 0.5146 MB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.4161, allocations: 25.8 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.4163, allocations: 235.9 kB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.4163, allocations: 27.78 kB / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.044e-05/0.4164, allocations: 53.69 kB / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.4166, allocations: 358.8 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.4167, allocations: 47.97 kB / 1.362 GB, free: 15.13 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.4169, allocations: 84.69 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.4171, allocations: 103.9 kB / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4171, allocations: 3.938 kB / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003591/0.4174, allocations: 209.3 kB / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4174, allocations: 8 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4174, allocations: 4 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4175, allocations: 0 / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.4176, allocations: 43.97 kB / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4176, allocations: 3.938 kB / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.4178, allocations: 19.97 kB / 1.362 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.4178, allocations: 8 kB / 1.362 GB, free: 14.64 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.0001949/0.418, allocations: 191.3 kB / 1.362 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.512e-05/0.4181, allocations: 47.67 kB / 1.362 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.4184, allocations: 157.6 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4184, allocations: 0 / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4184, allocations: 4 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4184, allocations: 0 / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.4187, allocations: 300.5 kB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4187, allocations: 0 / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.568e-05/0.4188, allocations: 8 kB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.4188, allocations: 0 / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.4188, allocations: 3.984 kB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4188, allocations: 3.938 kB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4188, allocations: 0 / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.4192, allocations: 228.7 kB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.79e-05/0.4193, allocations: 43.72 kB / 1.363 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.4193, allocations: 4 kB / 1.363 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.063e-05/0.4194, allocations: 8 kB / 1.363 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.4194, allocations: 11.97 kB / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.4194, allocations: 7.938 kB / 1.363 GB, free: 13.56 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003943/0.4198, allocations: 358.8 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4198, allocations: 0 / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002705/0.4201, allocations: 47.92 kB / 1.364 GB, free: 13.17 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 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * 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.00218/0.4223, allocations: 1.081 MB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003052/0.4226, allocations: 99.89 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4226, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.4227, allocations: 39.92 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.4231, allocations: 64 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.4272, allocations: 3.176 MB / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/0.4277, allocations: 0.8259 MB / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001364/0.4278, allocations: 41.92 kB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.428, allocations: 131.4 kB / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of SimCode: time 6.82e-07/0.428, allocations: 0 / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03958/0.4676, allocations: 7.998 MB / 1.377 GB, free: 15.83 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.7, allocations: 6.094 kB / 1.377 GB, free: 15.83 MB / 1.076 GB " [Timeout remaining time 288] (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: 18.846353000999898]