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.001402/0.001402, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001697/0.001697, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.457/1.457, 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.179/3.179, allocations: 0.4892 GB / 0.7944 GB, free: 35.55 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.002099/0.002099, allocations: 64.52 kB / 1.153 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3089, allocations: 176.1 MB / 1.325 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004082/0.313, allocations: 2.228 MB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002835/0.3158, allocations: 1.494 MB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.316, allocations: 11.88 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006645/0.3167, allocations: 175.1 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006209/0.3173, allocations: 175.2 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.3177, allocations: 135.6 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004552/0.3182, allocations: 283 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.3183, allocations: 28.92 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.3185, allocations: 123.5 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.3188, allocations: 107.4 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.3188, allocations: 16 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.319, allocations: 51.98 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.3191, allocations: 115.5 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.3192, allocations: 107 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005976/0.3198, allocations: 414 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3198, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3198, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.3198, allocations: 0 / 1.33 GB, free: 12.88 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.001157/0.321, allocations: 0.6514 MB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.321, allocations: 8.031 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.227e-05/0.3211, allocations: 42.73 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.231e-05/0.3212, allocations: 52.61 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005678/0.3218, allocations: 357.2 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.3218, allocations: 12.12 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.3218, allocations: 12 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.322, allocations: 121.7 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.3221, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3221, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.3221, allocations: 7.984 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.3222, allocations: 55.97 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007894/0.323, allocations: 447.5 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.3233, allocations: 94.64 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.3233, allocations: 32.84 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.3234, allocations: 4 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.3236, allocations: 109.1 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.3236, allocations: 0 / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0004322/0.324, allocations: 177.2 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.324, allocations: 55.41 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005949/0.3246, allocations: 0.5067 MB / 1.333 GB, free: 9.988 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.3247, allocations: 37.62 kB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.3249, allocations: 228.1 kB / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.3249, allocations: 32.11 kB / 1.333 GB, free: 9.688 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.197e-05/0.325, allocations: 49.7 kB / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3252, allocations: 358.8 kB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.3253, allocations: 51.97 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.3255, allocations: 104.2 kB / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.3257, allocations: 104.2 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3257, allocations: 3.938 kB / 1.334 GB, free: 8.996 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003664/0.326, allocations: 210.5 kB / 1.334 GB, free: 8.785 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.326, allocations: 6.031 kB / 1.334 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.326, allocations: 4.062 kB / 1.334 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3261, allocations: 3.984 kB / 1.334 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.3262, allocations: 35.92 kB / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3263, allocations: 4 kB / 1.334 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.3264, allocations: 15.94 kB / 1.334 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.3264, allocations: 8 kB / 1.334 GB, free: 8.711 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.0002005/0.3266, allocations: 190.9 kB / 1.334 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/0.3267, allocations: 51.61 kB / 1.334 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.327, allocations: 157.6 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.327, allocations: 12 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.327, allocations: 0 / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.327, allocations: 0 / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.3273, allocations: 288.5 kB / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3273, allocations: 0 / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.779e-05/0.3274, allocations: 11.94 kB / 1.335 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.3274, allocations: 4 kB / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3274, allocations: 0 / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3274, allocations: 0 / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3274, allocations: 0 / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/0.3278, allocations: 232.6 kB / 1.335 GB, free: 7.699 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.308e-05/0.3279, allocations: 39.73 kB / 1.335 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.3279, allocations: 0 / 1.335 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.189e-05/0.328, allocations: 8 kB / 1.335 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.3281, allocations: 16.16 kB / 1.335 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.3281, allocations: 4 kB / 1.335 GB, free: 7.633 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004148/0.3285, allocations: 362.8 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3285, allocations: 0 / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002959/0.3288, allocations: 55.88 kB / 1.336 GB, free: 7.227 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.002292/0.3311, allocations: 1.103 MB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002915/0.3314, allocations: 107.8 kB / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3314, allocations: 0 / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.916e-05/0.3315, allocations: 35.98 kB / 1.337 GB, free: 6.133 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.3319, allocations: 82.17 kB / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004311/0.3362, allocations: 3.162 MB / 1.34 GB, free: 2.824 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.3365, allocations: 220.8 kB / 1.34 GB, free: 2.586 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001655/0.3366, allocations: 33.94 kB / 1.34 GB, free: 2.551 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.3368, allocations: 135.4 kB / 1.34 GB, free: 2.422 MB / 1.029 GB Notification: Performance of SimCode: time 1.262e-06/0.3368, allocations: 7.938 kB / 1.34 GB, free: 2.414 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03967/0.3765, allocations: 8.558 MB / 1.349 GB, free: 9.957 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.9, allocations: 1.875 kB / 1.349 GB, free: 9.957 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.825313553679734]