Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001786/0.001786, 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.002423/0.002423, allocations: 220.3 kB / 22.26 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.397/3.397, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_latest_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.00216/0.00216, allocations: 67.86 kB / 1.177 GB, free: 16.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3804, allocations: 180.2 MB / 1.353 GB, free: 8.406 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003935/0.3843, allocations: 2.288 MB / 1.355 GB, free: 6.109 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.386, allocations: 0.9594 MB / 1.356 GB, free: 5.148 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.3861, allocations: 8 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005579/0.3867, allocations: 194.8 kB / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.3868, allocations: 71.44 kB / 1.356 GB, free: 4.879 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.3872, allocations: 111.7 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.3875, allocations: 223.1 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.3877, allocations: 65.92 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.3878, allocations: 91.47 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.388, allocations: 115.4 kB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.388, allocations: 16 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003047/0.3883, allocations: 151.8 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.3885, allocations: 215.3 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.3887, allocations: 262.1 kB / 1.357 GB, free: 3.652 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008077/0.3896, allocations: 0.723 MB / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3896, allocations: 4 kB / 1.358 GB, free: 2.922 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3896, allocations: 0 / 1.358 GB, free: 2.922 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.3896, allocations: 0 / 1.358 GB, free: 2.922 MB / 1.045 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.001378/0.3909, allocations: 0.9187 MB / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.391, allocations: 8.031 kB / 1.359 GB, free: 1.957 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.57e-05/0.3911, allocations: 46.73 kB / 1.359 GB, free: 1.902 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005633/0.3916, allocations: 124.3 kB / 1.359 GB, free: 1.781 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008445/0.3925, allocations: 0.5494 MB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.3925, allocations: 8.375 kB / 1.36 GB, free: 1.195 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.3925, allocations: 8.375 kB / 1.36 GB, free: 1.188 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.3929, allocations: 202.1 kB / 1.36 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.393, allocations: 3.938 kB / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.393, allocations: 4 kB / 1.36 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.393, allocations: 8 kB / 1.36 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004674/0.3934, allocations: 227.9 kB / 1.36 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.3947, allocations: 0.8817 MB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006883/0.3954, allocations: 310.5 kB / 1.361 GB, free: 15.51 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.3956, allocations: 108.9 kB / 1.362 GB, free: 15.4 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006792/0.3963, allocations: 159.8 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.3963, allocations: 38.5 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.3964, allocations: 0 / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.000857/0.3972, allocations: 405 kB / 1.362 GB, free: 14.79 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.3973, allocations: 51.78 kB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.3985, allocations: 1.001 MB / 1.363 GB, free: 13.72 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3986, allocations: 25.7 kB / 1.363 GB, free: 13.69 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/0.3989, allocations: 352.1 kB / 1.363 GB, free: 13.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.3989, allocations: 35.67 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.708e-05/0.399, allocations: 25.72 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3991, allocations: 310 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.3994, allocations: 95.95 kB / 1.364 GB, free: 12.87 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.3996, allocations: 126.5 kB / 1.364 GB, free: 12.73 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.4, allocations: 214.4 kB / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4, allocations: 0 / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006134/0.4007, allocations: 324.9 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.4007, allocations: 8 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4007, allocations: 0 / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4007, allocations: 4.062 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.4009, allocations: 27.98 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.4009, allocations: 3.984 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.4011, allocations: 11.94 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.4011, allocations: 4 kB / 1.365 GB, free: 12.13 MB / 1.061 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.0003034/0.4014, allocations: 254.3 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.4015, allocations: 83.42 kB / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006663/0.4021, allocations: 332.4 kB / 1.365 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.4021, allocations: 3.984 kB / 1.365 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4021, allocations: 0 / 1.365 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4022, allocations: 4.125 kB / 1.365 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006243/0.4028, allocations: 0.4925 MB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4028, allocations: 7.875 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.4029, allocations: 23.98 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.4029, allocations: 4 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.403, allocations: 3.984 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.403, allocations: 4 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.403, allocations: 0 / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/0.4036, allocations: 410.8 kB / 1.366 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.4038, allocations: 107.4 kB / 1.366 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.109e-05/0.4039, allocations: 11.98 kB / 1.366 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.4041, allocations: 8 kB / 1.366 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.4041, allocations: 7.969 kB / 1.366 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.4041, allocations: 4 kB / 1.366 GB, free: 10.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009539/0.4051, allocations: 0.7176 MB / 1.367 GB, free: 9.602 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4051, allocations: 0 / 1.367 GB, free: 9.602 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003727/0.4054, allocations: 75.89 kB / 1.367 GB, free: 9.527 MB / 1.061 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.001031/0.4065, allocations: 0.9501 MB / 1.368 GB, free: 8.547 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005317/0.407, allocations: 207.8 kB / 1.368 GB, free: 8.344 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.407, allocations: 0 / 1.368 GB, free: 8.344 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.4072, allocations: 116.4 kB / 1.368 GB, free: 8.23 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.4077, allocations: 53.12 kB / 1.368 GB, free: 8.184 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009177/0.4169, allocations: 6.381 MB / 1.375 GB, free: 1.703 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006709/0.4175, allocations: 0.9529 MB / 1.376 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002254/0.4178, allocations: 73.33 kB / 1.376 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.4181, allocations: 215.4 kB / 1.376 GB, free: 452 kB / 1.061 GB Notification: Performance of SimCode: time 1.062e-06/0.4181, allocations: 3.938 kB / 1.376 GB, free: 448 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04453/0.4626, allocations: 11.95 MB / 1.387 GB, free: 4.641 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.91, allocations: 1.875 kB / 1.387 GB, free: 4.641 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv --start-time 0 --stop-time 1500 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.PEle from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! Error: Could not read variable opeModBas.mWat_flow in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.mWat_flow from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! Error: Could not read variable opeModBas.TWatIn in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.TWatIn from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! Error: Could not read variable opeModBas.mFue_flow in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.mFue_flow from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.219901174999904]