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.001811/0.001811, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002177/0.002177, allocations: 220.4 kB / 22.25 MB, free: 5.105 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.793 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.21/3.21, allocations: 0.49 GB / 0.7951 GB, free: 35.56 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.001982/0.001982, allocations: 70.28 kB / 1.154 GB, free: 25.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3957, allocations: 176.1 MB / 1.326 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.00512/0.4008, allocations: 2.181 MB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002196/0.403, allocations: 0.8738 MB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.4032, allocations: 4 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008184/0.4041, allocations: 170.9 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.4043, allocations: 67.5 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006364/0.405, allocations: 119.7 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004256/0.4054, allocations: 223 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002385/0.4056, allocations: 69.97 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.4058, allocations: 83.59 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.4061, allocations: 111.3 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.268e-05/0.4061, allocations: 20 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005178/0.4066, allocations: 151.8 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.4069, allocations: 215.3 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002625/0.4072, allocations: 190.5 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.4083, allocations: 0.7349 MB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4083, allocations: 3.938 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4083, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.86e-05/0.4083, allocations: 0 / 1.331 GB, free: 12.23 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.001902/0.4102, allocations: 0.9265 MB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.4103, allocations: 12.02 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.905e-05/0.4103, allocations: 42.75 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007423/0.4111, allocations: 124.3 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.4123, allocations: 0.5416 MB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.4124, allocations: 8.375 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.4124, allocations: 16.31 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.4128, allocations: 194.2 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.4128, allocations: 3.938 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.4128, allocations: 8 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.4128, allocations: 0 / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004917/0.4133, allocations: 231.9 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.4146, allocations: 0.8156 MB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006754/0.4153, allocations: 310.5 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.4155, allocations: 104.9 kB / 1.334 GB, free: 8.773 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006845/0.4162, allocations: 167.8 kB / 1.334 GB, free: 8.609 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.4162, allocations: 30.56 kB / 1.334 GB, free: 8.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.4162, allocations: 4 kB / 1.334 GB, free: 8.566 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0008436/0.417, allocations: 409 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.4171, allocations: 55.34 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.4184, allocations: 1.001 MB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.4184, allocations: 25.7 kB / 1.336 GB, free: 7.051 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/0.4187, allocations: 344.1 kB / 1.336 GB, free: 6.707 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.4188, allocations: 36.06 kB / 1.336 GB, free: 6.672 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.4188, allocations: 25.7 kB / 1.336 GB, free: 6.641 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.419, allocations: 310 kB / 1.336 GB, free: 6.332 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.4192, allocations: 95.95 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.4194, allocations: 130.5 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.4199, allocations: 214.4 kB / 1.337 GB, free: 5.883 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4199, allocations: 0 / 1.337 GB, free: 5.883 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000609/0.4205, allocations: 329 kB / 1.337 GB, free: 5.555 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4205, allocations: 7.938 kB / 1.337 GB, free: 5.547 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4205, allocations: 0 / 1.337 GB, free: 5.547 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4205, allocations: 0 / 1.337 GB, free: 5.547 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.4207, allocations: 31.97 kB / 1.337 GB, free: 5.516 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4207, allocations: 4 kB / 1.337 GB, free: 5.512 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.4209, allocations: 12 kB / 1.337 GB, free: 5.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.4209, allocations: 4 kB / 1.337 GB, free: 5.496 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.0003207/0.4212, allocations: 246.3 kB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.4213, allocations: 79.42 kB / 1.338 GB, free: 5.168 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000685/0.422, allocations: 328.4 kB / 1.338 GB, free: 4.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.422, allocations: 0 / 1.338 GB, free: 4.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.422, allocations: 4 kB / 1.338 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.422, allocations: 0 / 1.338 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005599/0.4225, allocations: 464.3 kB / 1.338 GB, free: 4.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4225, allocations: 0 / 1.338 GB, free: 4.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.4227, allocations: 23.92 kB / 1.338 GB, free: 4.316 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.4227, allocations: 192 / 1.338 GB, free: 4.316 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.4227, allocations: 4 kB / 1.338 GB, free: 4.312 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4227, allocations: 3.938 kB / 1.338 GB, free: 4.309 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4227, allocations: 0 / 1.338 GB, free: 4.309 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006101/0.4233, allocations: 414.8 kB / 1.339 GB, free: 3.887 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.4236, allocations: 107.4 kB / 1.339 GB, free: 3.781 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.842e-05/0.4236, allocations: 4 kB / 1.339 GB, free: 3.777 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.4238, allocations: 7.984 kB / 1.339 GB, free: 3.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.4239, allocations: 7.984 kB / 1.339 GB, free: 3.762 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.4239, allocations: 0 / 1.339 GB, free: 3.762 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009942/0.4249, allocations: 0.7254 MB / 1.34 GB, free: 3.039 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4249, allocations: 0 / 1.34 GB, free: 3.039 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003901/0.4252, allocations: 63.94 kB / 1.34 GB, free: 2.977 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.001056/0.4263, allocations: 0.9617 MB / 1.341 GB, free: 1.984 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004898/0.4268, allocations: 211.8 kB / 1.341 GB, free: 1.777 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4268, allocations: 0 / 1.341 GB, free: 1.777 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.427, allocations: 107.9 kB / 1.341 GB, free: 1.672 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.4274, allocations: 65.48 kB / 1.341 GB, free: 1.613 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009189/0.4366, allocations: 6.377 MB / 1.347 GB, free: 11.14 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.4371, allocations: 345.5 kB / 1.348 GB, free: 10.78 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000215/0.4373, allocations: 81.31 kB / 1.348 GB, free: 10.7 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/0.4376, allocations: 215.4 kB / 1.348 GB, free: 10.48 MB / 1.045 GB Notification: Performance of SimCode: time 1.042e-06/0.4376, allocations: 0 / 1.348 GB, free: 10.48 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0463/0.4839, allocations: 12.61 MB / 1.36 GB, free: 14.04 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.17, allocations: 8.875 kB / 1.36 GB, free: 14.04 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.917081750987563]