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.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.001845/0.001845, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001644/0.001644, allocations: 214.2 kB / 22.24 MB, free: 5.262 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.878/2.878, allocations: 476 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_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"}) [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.002174/0.002174, allocations: 64.34 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3433, allocations: 170 MB / 1.283 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004983/0.3483, allocations: 2.208 MB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003148/0.3514, allocations: 1.498 MB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.3517, allocations: 4 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007633/0.3524, allocations: 179.1 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007124/0.3532, allocations: 175.2 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.3536, allocations: 139.6 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005344/0.3542, allocations: 279 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.3543, allocations: 36.89 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.3546, allocations: 123.4 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.3548, allocations: 107.4 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.339e-05/0.3548, allocations: 16 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.355, allocations: 55.95 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.3552, allocations: 103.6 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.3553, allocations: 115 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006148/0.356, allocations: 415.4 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.356, allocations: 7.984 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.914e-06/0.356, allocations: 0 / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.356, allocations: 0 / 1.288 GB, free: 6.984 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.001273/0.3573, allocations: 0.6514 MB / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3573, allocations: 8.031 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.156e-05/0.3574, allocations: 38.75 kB / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.3575, allocations: 52.55 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006505/0.3581, allocations: 353.4 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.3581, allocations: 16.11 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.3582, allocations: 8 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.3584, allocations: 115.3 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3584, allocations: 3.984 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.3585, allocations: 4 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.3585, allocations: 7.984 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.3586, allocations: 51.97 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008759/0.3595, allocations: 451.5 kB / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.3598, allocations: 94.7 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.991e-05/0.3598, allocations: 28.84 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.3599, allocations: 0 / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.3601, allocations: 117 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.3601, allocations: 0 / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.000433/0.3605, allocations: 177.2 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.3605, allocations: 55.41 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000615/0.3612, allocations: 0.5145 MB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.3612, allocations: 25.7 kB / 1.291 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.3614, allocations: 236.1 kB / 1.291 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.3614, allocations: 27.75 kB / 1.291 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.896e-05/0.3615, allocations: 54.06 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.3617, allocations: 358.8 kB / 1.291 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.3618, allocations: 43.98 kB / 1.291 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.362, allocations: 100.2 kB / 1.291 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.3622, allocations: 111.3 kB / 1.291 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3622, allocations: 7.969 kB / 1.291 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00037/0.3626, allocations: 209.2 kB / 1.292 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3626, allocations: 8 kB / 1.292 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3626, allocations: 0 / 1.292 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3626, allocations: 0 / 1.292 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.3628, allocations: 35.92 kB / 1.292 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.3628, allocations: 4 kB / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.3629, allocations: 15.94 kB / 1.292 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.3629, allocations: 8 kB / 1.292 GB, free: 2.816 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.000205/0.3631, allocations: 196.1 kB / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.3632, allocations: 47.7 kB / 1.292 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.3635, allocations: 157.6 kB / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3635, allocations: 4 kB / 1.292 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3635, allocations: 0 / 1.292 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3635, allocations: 0 / 1.292 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.3639, allocations: 284.5 kB / 1.292 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3639, allocations: 0 / 1.292 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.609e-05/0.3639, allocations: 8 kB / 1.292 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3639, allocations: 0 / 1.292 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.3639, allocations: 11.98 kB / 1.292 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3639, allocations: 0 / 1.292 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3639, allocations: 0 / 1.292 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.3643, allocations: 228.6 kB / 1.293 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-05/0.3644, allocations: 39.69 kB / 1.293 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.3645, allocations: 8 kB / 1.293 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.539e-05/0.3646, allocations: 7.984 kB / 1.293 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.3646, allocations: 19.92 kB / 1.293 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.3646, allocations: 192 / 1.293 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004229/0.365, allocations: 366.8 kB / 1.293 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.365, allocations: 8 kB / 1.293 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002911/0.3653, allocations: 47.89 kB / 1.293 GB, free: 1.34 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 (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 (10): * Single equations (assignments): 8 * 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.002386/0.3677, allocations: 1.094 MB / 1.294 GB, free: 408 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003035/0.368, allocations: 106.2 kB / 1.294 GB, free: 304 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.368, allocations: 0 / 1.294 GB, free: 304 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.3681, allocations: 43.92 kB / 1.294 GB, free: 260 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.3686, allocations: 74.58 kB / 1.294 GB, free: 192 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/0.3728, allocations: 3.165 MB / 1.297 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.3731, allocations: 221.5 kB / 1.298 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001335/0.3732, allocations: 33.94 kB / 1.298 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.3735, allocations: 127.4 kB / 1.298 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/0.3735, allocations: 0 / 1.298 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04269/0.4162, allocations: 8.549 MB / 1.306 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.89, allocations: 3.938 kB / 1.306 GB, free: 4.098 MB / 0.9981 GB " [Timeout remaining time 287] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "Error: Could not read variable assFue.assMes.u in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv. Warning: Get data of variable assFue.assMes.u from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv failed! Error: Could not read variable assFue.mFue_flow in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv. Warning: Get data of variable assFue.mFue_flow from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.778497300110757]