Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002036/0.002036, allocations: 104 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.002427/0.002427, allocations: 212.9 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.618/1.618, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.233/3.233, allocations: 0.49 GB / 0.7916 GB, free: 33.72 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_12_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.002019/0.002019, allocations: 74.14 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.36, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.005391/0.3654, allocations: 2.294 MB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002971/0.3683, allocations: 1.614 MB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.3685, allocations: 7.938 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000711/0.3693, allocations: 183.1 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005078/0.3698, allocations: 175.2 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004042/0.3702, allocations: 139.5 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003808/0.3706, allocations: 279 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.3707, allocations: 40.72 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.3709, allocations: 115.4 kB / 1.326 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.3711, allocations: 119.4 kB / 1.326 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.3711, allocations: 12 kB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.3713, allocations: 67.95 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.3714, allocations: 103.5 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.3715, allocations: 150.8 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005518/0.3721, allocations: 402 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3721, allocations: 0 / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3721, allocations: 0 / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.3721, allocations: 0 / 1.326 GB, free: 13.62 MB / 1.029 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.001206/0.3733, allocations: 0.7345 MB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.3734, allocations: 11.98 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.488e-05/0.3734, allocations: 46.73 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.649e-05/0.3735, allocations: 48.61 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006073/0.3741, allocations: 416.5 kB / 1.328 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.3741, allocations: 12.12 kB / 1.328 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.3742, allocations: 8 kB / 1.328 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.3744, allocations: 93.64 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3744, allocations: 0 / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.3744, allocations: 0 / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3744, allocations: 4 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.3746, allocations: 58.44 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008942/0.3755, allocations: 0.4887 MB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.3759, allocations: 110.6 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.136e-05/0.376, allocations: 32.84 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.376, allocations: 4 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002166/0.3762, allocations: 83.38 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.3762, allocations: 0 / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0004519/0.3767, allocations: 181.2 kB / 1.329 GB, free: 11.13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.704e-05/0.3767, allocations: 71.64 kB / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006164/0.3774, allocations: 0.5029 MB / 1.329 GB, free: 10.53 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.3774, allocations: 25.7 kB / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.3776, allocations: 232.1 kB / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.3777, allocations: 35.67 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.074e-05/0.3778, allocations: 49.7 kB / 1.329 GB, free: 10.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.378, allocations: 358.8 kB / 1.33 GB, free: 9.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.3781, allocations: 51.97 kB / 1.33 GB, free: 9.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.3782, allocations: 80.8 kB / 1.33 GB, free: 9.684 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.3785, allocations: 99.2 kB / 1.33 GB, free: 9.582 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3785, allocations: 3.938 kB / 1.33 GB, free: 9.578 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003998/0.3789, allocations: 211 kB / 1.33 GB, free: 9.367 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3789, allocations: 4 kB / 1.33 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3789, allocations: 4.062 kB / 1.33 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3789, allocations: 4 kB / 1.33 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.3791, allocations: 43.91 kB / 1.33 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.3791, allocations: 0 / 1.33 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.3792, allocations: 11.95 kB / 1.33 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.3793, allocations: 15.98 kB / 1.33 GB, free: 9.285 MB / 1.029 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.0002221/0.3795, allocations: 186.8 kB / 1.331 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-05/0.3795, allocations: 47.67 kB / 1.331 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.838e-05/0.3796, allocations: 55.97 kB / 1.331 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.3797, allocations: 4 kB / 1.331 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3797, allocations: 0 / 1.331 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3797, allocations: 0 / 1.331 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/0.38, allocations: 321.4 kB / 1.331 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.38, allocations: 0 / 1.331 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.792e-05/0.3801, allocations: 8 kB / 1.331 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3801, allocations: 0 / 1.331 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.3801, allocations: 4 kB / 1.331 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3801, allocations: 0 / 1.331 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3801, allocations: 3.984 kB / 1.331 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004201/0.3805, allocations: 224.6 kB / 1.331 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.413e-05/0.3806, allocations: 116.8 kB / 1.331 GB, free: 8.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.3807, allocations: 3.984 kB / 1.331 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.739e-05/0.3808, allocations: 11.98 kB / 1.331 GB, free: 8.215 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.3808, allocations: 12.02 kB / 1.331 GB, free: 8.203 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.3808, allocations: 11.92 kB / 1.331 GB, free: 8.191 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004117/0.3812, allocations: 362.9 kB / 1.332 GB, free: 7.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3812, allocations: 0 / 1.332 GB, free: 7.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002989/0.3815, allocations: 51.89 kB / 1.332 GB, free: 7.789 MB / 1.029 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.002283/0.3838, allocations: 1.065 MB / 1.333 GB, free: 6.852 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003277/0.3841, allocations: 107.8 kB / 1.333 GB, free: 6.746 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3842, allocations: 0 / 1.333 GB, free: 6.746 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.3843, allocations: 35.98 kB / 1.333 GB, free: 6.711 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.3847, allocations: 72.31 kB / 1.333 GB, free: 6.648 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00436/0.3891, allocations: 3.175 MB / 1.336 GB, free: 3.387 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.3896, allocations: 0.8338 MB / 1.337 GB, free: 2.527 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001405/0.3898, allocations: 33.94 kB / 1.337 GB, free: 2.492 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.39, allocations: 135.4 kB / 1.337 GB, free: 2.363 MB / 1.029 GB Notification: Performance of SimCode: time 6.51e-07/0.39, allocations: 0 / 1.337 GB, free: 2.363 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03701/0.427, allocations: 7.822 MB / 1.345 GB, free: 10.65 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.681/9.108, allocations: 15.94 kB / 1.345 GB, free: 10.63 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv. Warning: Get data of variable assFue.assMes.u from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv failed! Error: Could not read variable assFue.mFue_flow in file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv. Warning: Get data of variable assFue.mFue_flow from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.143143024062738]