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.00159/0.00159, 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.001936/0.001936, allocations: 215.7 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.766 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.267/3.267, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 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.002074/0.002074, allocations: 61.53 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3209, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003864/0.3248, allocations: 2.217 MB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002567/0.3274, allocations: 1.506 MB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.3275, allocations: 4 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000579/0.3281, allocations: 183.6 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00045/0.3285, allocations: 175.1 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.3288, allocations: 143.5 kB / 1.368 GB, free: 9.793 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000346/0.3292, allocations: 275 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.3293, allocations: 40.91 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.3295, allocations: 115.5 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.3296, allocations: 107.4 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.011e-05/0.3297, allocations: 16 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.3298, allocations: 63.91 kB / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.3299, allocations: 103.6 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.3301, allocations: 103.2 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000501/0.3306, allocations: 410 kB / 1.369 GB, free: 8.574 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3306, allocations: 0 / 1.369 GB, free: 8.574 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3306, allocations: 0 / 1.369 GB, free: 8.574 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.3306, allocations: 0 / 1.369 GB, free: 8.574 MB / 1.061 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.001072/0.3316, allocations: 0.6553 MB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3317, allocations: 16.02 kB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.629e-05/0.3317, allocations: 38.75 kB / 1.369 GB, free: 7.824 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.097e-05/0.3318, allocations: 52.61 kB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/0.3323, allocations: 353.3 kB / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.3324, allocations: 12.12 kB / 1.37 GB, free: 7.395 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.3324, allocations: 19.97 kB / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.3326, allocations: 115.3 kB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3326, allocations: 0 / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.3327, allocations: 7.984 kB / 1.37 GB, free: 7.242 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.3327, allocations: 0 / 1.37 GB, free: 7.242 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.3328, allocations: 59.97 kB / 1.37 GB, free: 7.184 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007322/0.3335, allocations: 435.6 kB / 1.37 GB, free: 6.715 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.3338, allocations: 94.69 kB / 1.37 GB, free: 6.613 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.712e-05/0.3339, allocations: 32.84 kB / 1.371 GB, free: 6.578 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.3339, allocations: 0 / 1.371 GB, free: 6.578 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.3341, allocations: 113 kB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.3341, allocations: 0 / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0003957/0.3345, allocations: 189.4 kB / 1.371 GB, free: 6.258 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.3345, allocations: 59.39 kB / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005652/0.3351, allocations: 0.5029 MB / 1.371 GB, free: 5.672 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.3351, allocations: 29.7 kB / 1.371 GB, free: 5.637 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.3353, allocations: 232.1 kB / 1.372 GB, free: 5.406 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.3353, allocations: 31.78 kB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-05/0.3354, allocations: 57.58 kB / 1.372 GB, free: 5.312 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3356, allocations: 354.8 kB / 1.372 GB, free: 4.957 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.3357, allocations: 47.97 kB / 1.372 GB, free: 4.91 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.3358, allocations: 105.8 kB / 1.372 GB, free: 4.793 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.336, allocations: 107.3 kB / 1.372 GB, free: 4.684 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.336, allocations: 3.938 kB / 1.372 GB, free: 4.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003533/0.3364, allocations: 215.2 kB / 1.372 GB, free: 4.465 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.3364, allocations: 4 kB / 1.372 GB, free: 4.461 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3364, allocations: 0 / 1.372 GB, free: 4.461 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3364, allocations: 0 / 1.372 GB, free: 4.461 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.3366, allocations: 35.92 kB / 1.373 GB, free: 4.426 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3366, allocations: 4 kB / 1.373 GB, free: 4.422 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.3367, allocations: 16.02 kB / 1.373 GB, free: 4.406 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.3367, allocations: 12 kB / 1.373 GB, free: 4.395 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.0001966/0.3369, allocations: 191.7 kB / 1.373 GB, free: 4.199 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/0.337, allocations: 47.67 kB / 1.373 GB, free: 4.152 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.3373, allocations: 161.6 kB / 1.373 GB, free: 3.984 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3373, allocations: 4 kB / 1.373 GB, free: 3.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3373, allocations: 3.984 kB / 1.373 GB, free: 3.977 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3373, allocations: 0 / 1.373 GB, free: 3.977 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.3376, allocations: 280.5 kB / 1.373 GB, free: 3.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3376, allocations: 4 kB / 1.373 GB, free: 3.656 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.285e-05/0.3377, allocations: 8 kB / 1.373 GB, free: 3.648 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3377, allocations: 4 kB / 1.373 GB, free: 3.645 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.3377, allocations: 7.984 kB / 1.373 GB, free: 3.637 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3377, allocations: 0 / 1.373 GB, free: 3.637 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3377, allocations: 0 / 1.373 GB, free: 3.637 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.3381, allocations: 228.8 kB / 1.373 GB, free: 3.395 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.3382, allocations: 43.7 kB / 1.373 GB, free: 3.352 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.305e-05/0.3382, allocations: 4 kB / 1.373 GB, free: 3.348 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.3e-05/0.3383, allocations: 11.98 kB / 1.374 GB, free: 3.336 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.3384, allocations: 12.05 kB / 1.374 GB, free: 3.324 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.3384, allocations: 4 kB / 1.374 GB, free: 3.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004323/0.3388, allocations: 362.8 kB / 1.374 GB, free: 2.969 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3388, allocations: 3.938 kB / 1.374 GB, free: 2.965 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000289/0.3391, allocations: 43.94 kB / 1.374 GB, free: 2.922 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 (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.002344/0.3414, allocations: 1.103 MB / 1.375 GB, free: 1.973 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002967/0.3417, allocations: 103.9 kB / 1.375 GB, free: 1.871 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3417, allocations: 4.062 kB / 1.375 GB, free: 1.867 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.952e-05/0.3418, allocations: 39.92 kB / 1.375 GB, free: 1.828 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.3423, allocations: 62.8 kB / 1.375 GB, free: 1.773 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/0.3462, allocations: 3.165 MB / 1.378 GB, free: 14.53 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.3464, allocations: 232.7 kB / 1.378 GB, free: 14.28 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.3466, allocations: 33.92 kB / 1.379 GB, free: 14.24 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.3468, allocations: 135.4 kB / 1.379 GB, free: 14.11 MB / 1.076 GB Notification: Performance of SimCode: time 4.31e-07/0.3468, allocations: 0 / 1.379 GB, free: 14.11 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03701/0.3838, allocations: 8.55 MB / 1.387 GB, free: 5.66 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.87, allocations: 4.156 kB / 1.387 GB, free: 5.66 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.858735377900302]