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.000915/0.000915, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008598/0.0008598, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8723/0.8723, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.678/1.678, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355e-05/1.495e-05, allocations: 2.281 kB / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002411/0.002426, allocations: 2.169 MB / 0.9831 GB, free: 376 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.003511, allocations: 0.8851 MB / 0.984 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.374e-05/0.003604, allocations: 8 kB / 0.984 GB, free: 15.47 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004204/0.004025, allocations: 170.9 kB / 0.9841 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.004126, allocations: 79.38 kB / 0.9842 GB, free: 15.23 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.004466, allocations: 115.7 kB / 0.9843 GB, free: 15.11 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.004667, allocations: 231 kB / 0.9845 GB, free: 14.89 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.004801, allocations: 65.97 kB / 0.9846 GB, free: 14.82 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.004919, allocations: 119.7 kB / 0.9847 GB, free: 14.71 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.779e-05/0.004996, allocations: 75.73 kB / 0.9848 GB, free: 14.63 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.005021, allocations: 16 kB / 0.9848 GB, free: 14.62 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.00523, allocations: 155.7 kB / 0.985 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.005365, allocations: 215.3 kB / 0.9852 GB, free: 14.25 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.639e-05/0.005452, allocations: 131.5 kB / 0.9853 GB, free: 14.12 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004903/0.005942, allocations: 0.7122 MB / 0.986 GB, free: 13.41 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.005944, allocations: 0 / 0.986 GB, free: 13.41 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.031e-06/0.005945, allocations: 0 / 0.986 GB, free: 13.41 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.005952, allocations: 0 / 0.986 GB, free: 13.41 MB / 0.948 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.0008136/0.006765, allocations: 0.9187 MB / 0.9869 GB, free: 12.45 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.006799, allocations: 12.03 kB / 0.9869 GB, free: 12.44 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.006837, allocations: 46.73 kB / 0.9869 GB, free: 12.39 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002954/0.007133, allocations: 116.4 kB / 0.987 GB, free: 12.27 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/0.007679, allocations: 0.5448 MB / 0.9876 GB, free: 11.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.007698, allocations: 12.38 kB / 0.9876 GB, free: 11.69 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.007716, allocations: 16.31 kB / 0.9876 GB, free: 11.67 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.007981, allocations: 190.1 kB / 0.9878 GB, free: 11.48 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.007992, allocations: 192 / 0.9878 GB, free: 11.48 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.008007, allocations: 4.375 kB / 0.9878 GB, free: 11.48 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.008015, allocations: 8.125 kB / 0.9878 GB, free: 11.47 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/0.008282, allocations: 227.9 kB / 0.988 GB, free: 11.25 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008532/0.009135, allocations: 0.8194 MB / 0.9888 GB, free: 10.38 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.009534, allocations: 306.6 kB / 0.9891 GB, free: 10.07 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.009651, allocations: 108.8 kB / 0.9892 GB, free: 9.965 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003396/0.00999, allocations: 151.9 kB / 0.9894 GB, free: 9.816 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.01001, allocations: 34.56 kB / 0.9894 GB, free: 9.773 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.01001, allocations: 4 kB / 0.9894 GB, free: 9.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0004721/0.01048, allocations: 405 kB / 0.9898 GB, free: 9.367 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.01051, allocations: 59.34 kB / 0.9898 GB, free: 9.297 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007418/0.01125, allocations: 1.005 MB / 0.9908 GB, free: 8.285 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.01127, allocations: 29.64 kB / 0.9908 GB, free: 8.25 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.01147, allocations: 344.2 kB / 0.9912 GB, free: 7.906 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.01148, allocations: 27.75 kB / 0.9912 GB, free: 7.879 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.01153, allocations: 29.7 kB / 0.9912 GB, free: 7.844 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.934e-05/0.01161, allocations: 310 kB / 0.9915 GB, free: 7.535 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.01172, allocations: 95.95 kB / 0.9916 GB, free: 7.441 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.01185, allocations: 122.5 kB / 0.9917 GB, free: 7.312 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.01208, allocations: 218.8 kB / 0.9919 GB, free: 7.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01208, allocations: 0 / 0.9919 GB, free: 7.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003217/0.0124, allocations: 325 kB / 0.9922 GB, free: 6.766 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.01242, allocations: 11.94 kB / 0.9923 GB, free: 6.754 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.01243, allocations: 0 / 0.9923 GB, free: 6.754 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.01244, allocations: 0 / 0.9923 GB, free: 6.754 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.703e-05/0.01253, allocations: 31.91 kB / 0.9923 GB, free: 6.723 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.01253, allocations: 4.062 kB / 0.9923 GB, free: 6.719 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.643e-05/0.01261, allocations: 15.89 kB / 0.9923 GB, free: 6.703 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.01262, allocations: 7.984 kB / 0.9923 GB, free: 6.695 MB / 0.948 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.0001802/0.0128, allocations: 241.8 kB / 0.9925 GB, free: 6.449 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.01286, allocations: 83.47 kB / 0.9926 GB, free: 6.367 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003705/0.01323, allocations: 332.4 kB / 0.9929 GB, free: 6.035 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.01323, allocations: 0 / 0.9929 GB, free: 6.035 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01324, allocations: 4 kB / 0.9929 GB, free: 6.031 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.01324, allocations: 0 / 0.9929 GB, free: 6.031 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.01358, allocations: 456.5 kB / 0.9934 GB, free: 5.543 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01358, allocations: 0 / 0.9934 GB, free: 5.543 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.003e-05/0.01365, allocations: 23.92 kB / 0.9934 GB, free: 5.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01366, allocations: 3.938 kB / 0.9934 GB, free: 5.516 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.01367, allocations: 7.938 kB / 0.9934 GB, free: 5.508 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01367, allocations: 4 kB / 0.9934 GB, free: 5.504 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01367, allocations: 3.984 kB / 0.9934 GB, free: 5.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.01398, allocations: 406.9 kB / 0.9938 GB, free: 5.086 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.0141, allocations: 107.4 kB / 0.9939 GB, free: 4.98 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.01414, allocations: 8.219 kB / 0.9939 GB, free: 4.973 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-05/0.01421, allocations: 7.984 kB / 0.9939 GB, free: 4.965 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.01425, allocations: 7.984 kB / 0.9939 GB, free: 4.957 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.01426, allocations: 3.938 kB / 0.9939 GB, free: 4.953 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005603/0.01482, allocations: 0.7176 MB / 0.9946 GB, free: 4.238 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01482, allocations: 0 / 0.9946 GB, free: 4.238 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002477/0.01506, allocations: 79.81 kB / 0.9947 GB, free: 4.16 MB / 0.948 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.000635/0.0157, allocations: 0.954 MB / 0.9957 GB, free: 3.18 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.01596, allocations: 211.8 kB / 0.9959 GB, free: 2.973 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01597, allocations: 4 kB / 0.9959 GB, free: 2.969 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.01608, allocations: 103.9 kB / 0.996 GB, free: 2.867 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.01636, allocations: 61.3 kB / 0.996 GB, free: 2.809 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005702/0.02206, allocations: 6.4 MB / 1.002 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.02233, allocations: 347 kB / 1.003 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.02245, allocations: 77.33 kB / 1.003 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.02263, allocations: 220.4 kB / 1.003 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of SimCode: time 6.92e-07/0.02263, allocations: 0 / 1.003 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03061/0.05325, allocations: 12.69 MB / 1.015 GB, free: 15.16 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.258/7.311, allocations: 9.891 kB / 1.015 GB, free: 15.15 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 11.353372321464121]