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.001781/0.001781, 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.002077/0.002077, allocations: 213.7 kB / 22.25 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.77 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.818/2.818, allocations: 476 MB / 0.7699 GB, free: 4.691 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.00209/0.00209, allocations: 63.12 kB / 1.117 GB, free: 40.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2903, allocations: 169.9 MB / 1.283 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004174/0.2945, allocations: 2.179 MB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.2961, allocations: 0.8699 MB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.2963, allocations: 4 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006417/0.2969, allocations: 167 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.2971, allocations: 71.5 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.2975, allocations: 119.7 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003183/0.2978, allocations: 227.1 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.298, allocations: 69.97 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.2981, allocations: 87.53 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.2983, allocations: 87.44 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.2983, allocations: 16 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.2986, allocations: 143.8 kB / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002107/0.2988, allocations: 223.3 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.299, allocations: 194.5 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008734/0.2999, allocations: 0.7323 MB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2999, allocations: 0 / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.248e-06/0.2999, allocations: 3.984 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.162e-05/0.2999, allocations: 0 / 1.288 GB, free: 7.039 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.00164/0.3016, allocations: 0.9187 MB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3016, allocations: 12.03 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.3017, allocations: 46.73 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005791/0.3023, allocations: 124.3 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009231/0.3032, allocations: 0.5377 MB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.3032, allocations: 8.375 kB / 1.289 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.3032, allocations: 12.38 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004499/0.3037, allocations: 199.4 kB / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3037, allocations: 3.938 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.3037, allocations: 4 kB / 1.289 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.3037, allocations: 15.86 kB / 1.289 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005287/0.3043, allocations: 220.4 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.3058, allocations: 0.8272 MB / 1.29 GB, free: 4 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007257/0.3065, allocations: 302.6 kB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.3067, allocations: 108.8 kB / 1.291 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007558/0.3075, allocations: 151.9 kB / 1.291 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.3075, allocations: 42.5 kB / 1.291 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.973e-06/0.3075, allocations: 0 / 1.291 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0009061/0.3084, allocations: 405 kB / 1.291 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.3085, allocations: 55.41 kB / 1.291 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.3099, allocations: 0.9935 MB / 1.292 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.31, allocations: 25.7 kB / 1.292 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004665/0.3104, allocations: 348.1 kB / 1.293 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.3105, allocations: 39.67 kB / 1.293 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-05/0.3105, allocations: 25.72 kB / 1.293 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002567/0.3108, allocations: 318 kB / 1.293 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.311, allocations: 95.95 kB / 1.293 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.3113, allocations: 114.5 kB / 1.293 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004963/0.3118, allocations: 222.4 kB / 1.294 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.3118, allocations: 4 kB / 1.294 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006677/0.3124, allocations: 337.2 kB / 1.294 GB, free: 380 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.3124, allocations: 9.719 kB / 1.294 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3125, allocations: 0 / 1.294 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3125, allocations: 0 / 1.294 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.3126, allocations: 23.98 kB / 1.294 GB, free: 348 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3127, allocations: 3.938 kB / 1.294 GB, free: 344 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.3128, allocations: 11.98 kB / 1.294 GB, free: 332 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.3128, allocations: 0 / 1.294 GB, free: 332 kB / 0.9825 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.0002868/0.3131, allocations: 253.8 kB / 1.294 GB, free: 68 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.3133, allocations: 83.61 kB / 1.294 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006954/0.314, allocations: 324.5 kB / 1.295 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.314, allocations: 0 / 1.295 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.314, allocations: 0 / 1.295 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.314, allocations: 0 / 1.295 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005913/0.3146, allocations: 464 kB / 1.295 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3146, allocations: 3.938 kB / 1.295 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.3147, allocations: 31.97 kB / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3147, allocations: 0 / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3148, allocations: 0 / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3148, allocations: 4 kB / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3148, allocations: 0 / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000709/0.3155, allocations: 406.8 kB / 1.295 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/0.3157, allocations: 111.5 kB / 1.296 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.3158, allocations: 0 / 1.296 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.3159, allocations: 8 kB / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.316, allocations: 7.984 kB / 1.296 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.316, allocations: 0 / 1.296 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001058/0.3171, allocations: 0.7179 MB / 1.296 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3171, allocations: 0 / 1.296 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003844/0.3174, allocations: 71.89 kB / 1.296 GB, free: 13.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.001085/0.3185, allocations: 0.9656 MB / 1.297 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005561/0.3191, allocations: 212 kB / 1.297 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3191, allocations: 0 / 1.297 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.3193, allocations: 111.9 kB / 1.298 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.3197, allocations: 53.31 kB / 1.298 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.3299, allocations: 6.389 MB / 1.304 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.3304, allocations: 350.6 kB / 1.304 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002275/0.3306, allocations: 81.31 kB / 1.304 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/0.331, allocations: 223.3 kB / 1.305 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of SimCode: time 1.283e-06/0.331, allocations: 0 / 1.305 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04708/0.3781, allocations: 12.56 MB / 1.317 GB, free: 8.898 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.17, allocations: 5.812 kB / 1.317 GB, free: 8.895 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: 18.881127303931862]