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.001669/0.001669, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.0022/0.0022, allocations: 221.8 kB / 22.25 MB, free: 5.254 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.789 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.27/3.27, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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.003377/0.003377, allocations: 65.02 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3639, allocations: 176.1 MB / 1.326 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004432/0.3683, allocations: 2.221 MB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00306/0.3714, allocations: 1.51 MB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002164/0.3716, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006783/0.3723, allocations: 175.1 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006013/0.3729, allocations: 179.1 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.3733, allocations: 143.5 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004724/0.3738, allocations: 271.1 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.3739, allocations: 40.84 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.3741, allocations: 115.5 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.3744, allocations: 123.4 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.227e-05/0.3744, allocations: 16 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.3746, allocations: 51.98 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.3747, allocations: 103.6 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.3749, allocations: 111.1 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006111/0.3755, allocations: 410 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3755, allocations: 0 / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.624e-06/0.3755, allocations: 0 / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.3755, allocations: 0 / 1.331 GB, free: 11.99 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.001276/0.3768, allocations: 0.6553 MB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3768, allocations: 8.031 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.697e-05/0.3769, allocations: 46.73 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.377, allocations: 48.61 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006311/0.3776, allocations: 357.3 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.3776, allocations: 12.12 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.3777, allocations: 4 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.3779, allocations: 125.9 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.3779, allocations: 4 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3779, allocations: 0 / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.378, allocations: 4 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.3781, allocations: 55.91 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008225/0.3789, allocations: 443.6 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.3792, allocations: 86.52 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.939e-05/0.3793, allocations: 32.98 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.3793, allocations: 8 kB / 1.333 GB, free: 9.996 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.3795, allocations: 117 kB / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/0.3795, allocations: 0 / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0004214/0.3799, allocations: 177.2 kB / 1.333 GB, free: 9.684 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.38, allocations: 55.34 kB / 1.333 GB, free: 9.617 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006247/0.3806, allocations: 0.5106 MB / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.3806, allocations: 29.7 kB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.3808, allocations: 228.1 kB / 1.334 GB, free: 8.832 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.3808, allocations: 35.73 kB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.057e-05/0.3809, allocations: 49.7 kB / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3811, allocations: 366.7 kB / 1.334 GB, free: 8.375 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.3812, allocations: 43.98 kB / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.3814, allocations: 105.5 kB / 1.335 GB, free: 8.215 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.3816, allocations: 103.5 kB / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3816, allocations: 3.938 kB / 1.335 GB, free: 8.105 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003559/0.3819, allocations: 210.6 kB / 1.335 GB, free: 7.895 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.382, allocations: 8 kB / 1.335 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.382, allocations: 64 / 1.335 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.382, allocations: 4 kB / 1.335 GB, free: 7.883 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.3822, allocations: 39.91 kB / 1.335 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.3822, allocations: 4 kB / 1.335 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.3823, allocations: 15.95 kB / 1.335 GB, free: 7.824 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.3823, allocations: 11.98 kB / 1.335 GB, free: 7.812 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.0002034/0.3825, allocations: 191.7 kB / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.3826, allocations: 47.67 kB / 1.335 GB, free: 7.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003214/0.3829, allocations: 162 kB / 1.335 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3829, allocations: 4 kB / 1.335 GB, free: 7.395 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3829, allocations: 4 kB / 1.335 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3829, allocations: 96 / 1.335 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.3832, allocations: 288.4 kB / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3832, allocations: 0 / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.459e-05/0.3833, allocations: 11.98 kB / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3833, allocations: 0 / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.3833, allocations: 8 kB / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.3833, allocations: 0 / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3833, allocations: 0 / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.3837, allocations: 228.6 kB / 1.336 GB, free: 6.805 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.3838, allocations: 39.75 kB / 1.336 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.3838, allocations: 3.984 kB / 1.336 GB, free: 6.762 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.109e-05/0.3839, allocations: 4 kB / 1.336 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.3839, allocations: 15.97 kB / 1.336 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.384, allocations: 4 kB / 1.336 GB, free: 6.738 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004233/0.3844, allocations: 362.8 kB / 1.336 GB, free: 6.387 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3844, allocations: 0 / 1.336 GB, free: 6.387 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002857/0.3847, allocations: 55.81 kB / 1.336 GB, free: 6.332 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 (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.002388/0.3871, allocations: 1.105 MB / 1.337 GB, free: 5.383 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003247/0.3874, allocations: 103.9 kB / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3874, allocations: 0 / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.665e-05/0.3875, allocations: 31.98 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.3879, allocations: 74.23 kB / 1.338 GB, free: 5.188 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.3922, allocations: 3.175 MB / 1.341 GB, free: 1.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.3924, allocations: 220.8 kB / 1.341 GB, free: 1.691 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.3926, allocations: 41.86 kB / 1.341 GB, free: 1.648 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.3928, allocations: 131.4 kB / 1.341 GB, free: 1.523 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.3928, allocations: 0 / 1.341 GB, free: 1.523 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03991/0.4327, allocations: 8.592 MB / 1.35 GB, free: 9.035 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.62, allocations: 7.312 kB / 1.35 GB, free: 9.031 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.648901100008516]