Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001319/0.001319, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001526/0.001526, allocations: 216.2 kB / 22.25 MB, free: 5.125 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.977 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.23/3.23, allocations: 0.49 GB / 0.7951 GB, free: 33.34 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.EnergyConversionNormal,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_12_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.002137/0.002137, allocations: 61.5 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3915, allocations: 176.1 MB / 1.326 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004372/0.3959, allocations: 2.306 MB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001906/0.3978, allocations: 0.9672 MB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.398, allocations: 8 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006552/0.3986, allocations: 194.8 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.3988, allocations: 71.44 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.3993, allocations: 115.7 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.3996, allocations: 215.1 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.3998, allocations: 73.97 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.3999, allocations: 91.52 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.4, allocations: 99.44 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.4001, allocations: 16 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.4004, allocations: 155.8 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.4007, allocations: 219.3 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.4009, allocations: 266.1 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008465/0.4017, allocations: 0.7231 MB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.4017, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.755e-06/0.4018, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.4018, allocations: 0 / 1.331 GB, free: 12.46 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001419/0.4032, allocations: 0.9226 MB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.4032, allocations: 12.02 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.498e-05/0.4033, allocations: 42.75 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005622/0.4038, allocations: 124.3 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008633/0.4047, allocations: 0.5493 MB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.4047, allocations: 8.375 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.4048, allocations: 12.38 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.4052, allocations: 194.2 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.4052, allocations: 7.938 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.4052, allocations: 4 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.4052, allocations: 15.88 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004795/0.4057, allocations: 223.9 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.4073, allocations: 0.8819 MB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008073/0.4081, allocations: 310.4 kB / 1.334 GB, free: 9.035 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.4084, allocations: 108.9 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008655/0.4092, allocations: 163.8 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.4093, allocations: 34.56 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/0.4093, allocations: 0 / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.001011/0.4103, allocations: 405 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.4103, allocations: 55.41 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/0.4119, allocations: 0.9935 MB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.4119, allocations: 29.7 kB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004748/0.4124, allocations: 348.1 kB / 1.337 GB, free: 6.867 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.4125, allocations: 35.69 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.4126, allocations: 25.7 kB / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.4128, allocations: 310 kB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.413, allocations: 95.95 kB / 1.337 GB, free: 6.398 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.4132, allocations: 130.4 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.4137, allocations: 214.5 kB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4137, allocations: 3.938 kB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007519/0.4144, allocations: 329.2 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.801e-05/0.4145, allocations: 8 kB / 1.338 GB, free: 5.703 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.4145, allocations: 4.047 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.4145, allocations: 4 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.4147, allocations: 31.97 kB / 1.338 GB, free: 5.664 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.4147, allocations: 0 / 1.338 GB, free: 5.664 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.4149, allocations: 8 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.4149, allocations: 8 kB / 1.338 GB, free: 5.648 MB / 1.029 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.0003703/0.4153, allocations: 250.2 kB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.4154, allocations: 83.42 kB / 1.338 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006882/0.4161, allocations: 328.4 kB / 1.338 GB, free: 4.984 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.4161, allocations: 0 / 1.338 GB, free: 4.984 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4161, allocations: 0 / 1.338 GB, free: 4.984 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4161, allocations: 0 / 1.338 GB, free: 4.984 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006692/0.4168, allocations: 0.5079 MB / 1.339 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.4168, allocations: 0 / 1.339 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.417, allocations: 23.97 kB / 1.339 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.417, allocations: 4 kB / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.417, allocations: 0 / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.417, allocations: 4 kB / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.417, allocations: 0 / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000608/0.4176, allocations: 414.8 kB / 1.339 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/0.4178, allocations: 103.4 kB / 1.339 GB, free: 3.879 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.4179, allocations: 8 kB / 1.339 GB, free: 3.871 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.418, allocations: 4 kB / 1.339 GB, free: 3.867 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.4181, allocations: 3.984 kB / 1.339 GB, free: 3.863 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.4181, allocations: 4 kB / 1.339 GB, free: 3.859 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001022/0.4191, allocations: 0.7218 MB / 1.34 GB, free: 3.141 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4191, allocations: 0 / 1.34 GB, free: 3.141 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003883/0.4195, allocations: 67.94 kB / 1.34 GB, free: 3.074 MB / 1.029 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.001112/0.4206, allocations: 0.9694 MB / 1.341 GB, free: 2.074 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005264/0.4212, allocations: 207.8 kB / 1.341 GB, free: 1.871 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4212, allocations: 0 / 1.341 GB, free: 1.871 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.4214, allocations: 112.1 kB / 1.341 GB, free: 1.762 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.4219, allocations: 50.72 kB / 1.341 GB, free: 1.719 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00987/0.4317, allocations: 6.385 MB / 1.348 GB, free: 11.23 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006627/0.4324, allocations: 0.9483 MB / 1.349 GB, free: 10.26 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002599/0.4326, allocations: 77.33 kB / 1.349 GB, free: 10.18 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.433, allocations: 219.3 kB / 1.349 GB, free: 9.965 MB / 1.045 GB Notification: Performance of SimCode: time 2.054e-06/0.433, allocations: 0 / 1.349 GB, free: 9.965 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04859/0.4816, allocations: 11.99 MB / 1.361 GB, free: 14.16 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.66, allocations: 9.812 kB / 1.361 GB, free: 14.15 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.PEle from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! Error: Could not read variable opeModBas.mWat_flow in file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.mWat_flow from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! Error: Could not read variable opeModBas.TWatIn in file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.TWatIn from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! Error: Could not read variable opeModBas.mFue_flow in file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.mFue_flow from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.629394551000587]