Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.001362/0.001362, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001667/0.001667, allocations: 220.5 kB / 22.25 MB, free: 5.215 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 8.008 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.773/2.773, allocations: 476.7 MB / 0.7707 GB, free: 4.258 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.EnergyConversionNormal,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",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: 67.5 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3109, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004097/0.315, allocations: 2.301 MB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.3171, allocations: 0.9672 MB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.3173, allocations: 0 / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007368/0.318, allocations: 194.7 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.3182, allocations: 75.44 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.3187, allocations: 111.7 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.3189, allocations: 223.1 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.3191, allocations: 77.92 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.3192, allocations: 91.56 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.3194, allocations: 95.44 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.3194, allocations: 20 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.3197, allocations: 159.8 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.3199, allocations: 223.2 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.3201, allocations: 266 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008974/0.321, allocations: 0.7232 MB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.321, allocations: 0 / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.395e-06/0.321, allocations: 0 / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.321, allocations: 0 / 1.289 GB, free: 6.176 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.00152/0.3225, allocations: 0.9265 MB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.3226, allocations: 8.031 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.827e-05/0.3226, allocations: 46.75 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005427/0.3232, allocations: 124.3 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008489/0.324, allocations: 0.5416 MB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.3241, allocations: 8.375 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.3241, allocations: 16.38 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.3245, allocations: 195.3 kB / 1.291 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.3245, allocations: 3.938 kB / 1.291 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.3245, allocations: 7.938 kB / 1.291 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.3245, allocations: 4 kB / 1.291 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004914/0.325, allocations: 232.4 kB / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.3263, allocations: 0.878 MB / 1.292 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006493/0.327, allocations: 310.4 kB / 1.292 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.3272, allocations: 108.9 kB / 1.292 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006708/0.3278, allocations: 163.9 kB / 1.292 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.3279, allocations: 30.56 kB / 1.292 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.3279, allocations: 0 / 1.292 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0008283/0.3287, allocations: 409 kB / 1.293 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.3287, allocations: 55.41 kB / 1.293 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.33, allocations: 0.9935 MB / 1.294 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.33, allocations: 25.7 kB / 1.294 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/0.3304, allocations: 344.1 kB / 1.294 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.3304, allocations: 35.69 kB / 1.294 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/0.3304, allocations: 26.08 kB / 1.294 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3306, allocations: 318 kB / 1.294 GB, free: 228 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.3308, allocations: 91.95 kB / 1.294 GB, free: 136 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.331, allocations: 122.5 kB / 1.295 GB, free: 4 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/0.3314, allocations: 222.5 kB / 1.295 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3314, allocations: 4 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005655/0.332, allocations: 325 kB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.332, allocations: 4 kB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.332, allocations: 0 / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.332, allocations: 4 kB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.3322, allocations: 31.91 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.3322, allocations: 12 kB / 1.295 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.3324, allocations: 8 kB / 1.295 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.3325, allocations: 7.984 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0003015/0.3328, allocations: 245.7 kB / 1.295 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.679e-05/0.3329, allocations: 79.42 kB / 1.295 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006349/0.3335, allocations: 328.4 kB / 1.296 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.3335, allocations: 4 kB / 1.296 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3335, allocations: 4 kB / 1.296 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3335, allocations: 0 / 1.296 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005665/0.3341, allocations: 0.5079 MB / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3341, allocations: 4 kB / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.3342, allocations: 19.97 kB / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3342, allocations: 4 kB / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.3342, allocations: 0 / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3343, allocations: 192 / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3343, allocations: 4 kB / 1.296 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005777/0.3348, allocations: 414.8 kB / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.3351, allocations: 111.4 kB / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.021e-05/0.3351, allocations: 0 / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.3353, allocations: 8 kB / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.3353, allocations: 7.984 kB / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.3353, allocations: 4 kB / 1.297 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009016/0.3362, allocations: 0.7253 MB / 1.298 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3362, allocations: 0 / 1.298 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003763/0.3366, allocations: 63.94 kB / 1.298 GB, free: 12.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0009907/0.3376, allocations: 0.95 MB / 1.299 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004845/0.3381, allocations: 219.8 kB / 1.299 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3381, allocations: 0 / 1.299 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.3383, allocations: 111.8 kB / 1.299 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.3388, allocations: 53.89 kB / 1.299 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009102/0.3479, allocations: 6.393 MB / 1.305 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006351/0.3485, allocations: 0.9408 MB / 1.306 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002301/0.3487, allocations: 85.31 kB / 1.306 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.349, allocations: 223.3 kB / 1.306 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of SimCode: time 1.343e-06/0.349, allocations: 4 kB / 1.306 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04367/0.3927, allocations: 11.96 MB / 1.318 GB, free: 7.895 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.27, allocations: 5.562 kB / 1.318 GB, free: 7.891 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv --start-time 0 --stop-time 1500 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable opeModBas.PEle in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.PEle from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! Error: Could not read variable opeModBas.mWat_flow in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.mWat_flow from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! Error: Could not read variable opeModBas.TWatIn in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.TWatIn from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! Error: Could not read variable opeModBas.mFue_flow in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.mFue_flow from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.023716743000477]