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.002212/0.002212, allocations: 103.6 kB / 16.45 MB, free: 6.5 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.002551/0.002551, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.525/1.525, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.737/2.737, allocations: 476.7 MB / 0.7672 GB, free: 5.215 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.002091/0.002091, allocations: 75.89 kB / 1.112 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7907/0.7928, allocations: 169.9 MB / 1.278 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003911/0.7967, allocations: 2.3 MB / 1.281 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.7983, allocations: 0.9594 MB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.7984, allocations: 4 kB / 1.281 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005042/0.7989, allocations: 198.6 kB / 1.282 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.799, allocations: 67.44 kB / 1.282 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.7994, allocations: 111.7 kB / 1.282 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.7996, allocations: 219.2 kB / 1.282 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.7999, allocations: 73.69 kB / 1.282 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.8, allocations: 95.45 kB / 1.282 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.8001, allocations: 95.44 kB / 1.282 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.8001, allocations: 20 kB / 1.282 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003328/0.8005, allocations: 159.8 kB / 1.282 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.8007, allocations: 219.3 kB / 1.283 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000245/0.8009, allocations: 262.1 kB / 1.283 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009264/0.8018, allocations: 0.7212 MB / 1.284 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8018, allocations: 0 / 1.284 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8018, allocations: 4 kB / 1.284 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.8019, allocations: 0 / 1.284 GB, free: 7.969 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.001368/0.8032, allocations: 1.002 MB / 1.285 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.8033, allocations: 12.03 kB / 1.285 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.839e-05/0.8033, allocations: 46.73 kB / 1.285 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005612/0.8039, allocations: 124.3 kB / 1.285 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009243/0.8048, allocations: 0.5865 MB / 1.285 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.8048, allocations: 12.38 kB / 1.285 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.8048, allocations: 12.38 kB / 1.285 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004322/0.8053, allocations: 195.4 kB / 1.286 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.8053, allocations: 3.938 kB / 1.286 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.8053, allocations: 11.97 kB / 1.286 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.8053, allocations: 7.938 kB / 1.286 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.8058, allocations: 219.9 kB / 1.286 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.8071, allocations: 0.9217 MB / 1.287 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007023/0.8078, allocations: 314.4 kB / 1.287 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/0.8081, allocations: 104.8 kB / 1.287 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007503/0.8088, allocations: 244.9 kB / 1.287 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.8088, allocations: 38.56 kB / 1.287 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.8088, allocations: 0 / 1.287 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0009089/0.8098, allocations: 401 kB / 1.288 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.8098, allocations: 55.41 kB / 1.288 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.8112, allocations: 0.9974 MB / 1.289 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.8112, allocations: 29.7 kB / 1.289 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/0.8116, allocations: 340.2 kB / 1.289 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.8116, allocations: 35.69 kB / 1.289 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.8117, allocations: 25.7 kB / 1.289 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.8118, allocations: 314 kB / 1.289 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.8121, allocations: 95.95 kB / 1.29 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.8123, allocations: 122.5 kB / 1.29 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.8128, allocations: 214.5 kB / 1.29 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.8128, allocations: 4 kB / 1.29 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000639/0.8134, allocations: 329.3 kB / 1.29 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.8134, allocations: 4 kB / 1.29 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.8134, allocations: 0 / 1.29 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.8135, allocations: 4 kB / 1.29 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.8136, allocations: 24.06 kB / 1.29 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.8136, allocations: 11.94 kB / 1.29 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.8138, allocations: 7.938 kB / 1.29 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.8138, allocations: 12.05 kB / 1.29 GB, free: 0.8789 MB / 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.0002876/0.8141, allocations: 251.9 kB / 1.291 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.8142, allocations: 79.42 kB / 1.291 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006925/0.8149, allocations: 332.4 kB / 1.291 GB, free: 216 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.8149, allocations: 0 / 1.291 GB, free: 216 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.8149, allocations: 4 kB / 1.291 GB, free: 212 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.8149, allocations: 0 / 1.291 GB, free: 212 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006777/0.8156, allocations: 0.5284 MB / 1.291 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.8156, allocations: 7.984 kB / 1.291 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.8158, allocations: 19.98 kB / 1.291 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.8158, allocations: 4 kB / 1.291 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.8158, allocations: 0 / 1.291 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.8158, allocations: 0 / 1.291 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8158, allocations: 0 / 1.291 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006491/0.8164, allocations: 414.8 kB / 1.292 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.8167, allocations: 180.6 kB / 1.292 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/0.8167, allocations: 0 / 1.292 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.8169, allocations: 11.98 kB / 1.292 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.8169, allocations: 4 kB / 1.292 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.8169, allocations: 0 / 1.292 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009834/0.8179, allocations: 0.7254 MB / 1.293 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8179, allocations: 0 / 1.293 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003765/0.8183, allocations: 75.83 kB / 1.293 GB, free: 14.17 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.001184/0.8195, allocations: 0.9702 MB / 1.294 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005333/0.82, allocations: 203.8 kB / 1.294 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.82, allocations: 8.125 kB / 1.294 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.8203, allocations: 103.9 kB / 1.294 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.8207, allocations: 55.28 kB / 1.294 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009487/0.8302, allocations: 6.392 MB / 1.3 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007283/0.8309, allocations: 0.9485 MB / 1.301 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002431/0.8311, allocations: 81.33 kB / 1.301 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/0.8315, allocations: 215.4 kB / 1.302 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/0.8315, allocations: 0 / 1.302 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04347/0.875, allocations: 11.84 MB / 1.313 GB, free: 9.387 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.671/10.55, allocations: 7.734 kB / 1.313 GB, free: 9.383 MB / 1.014 GB " [Timeout remaining time 289] (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: 16.621601252118126]