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.001327/0.001327, allocations: 106.9 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.00232/0.00232, 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.464/1.464, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.205/3.205, allocations: 0.505 GB / 0.8066 GB, free: 23.11 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.002096/0.002096, allocations: 73.59 kB / 1.172 GB, free: 17.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.412, allocations: 180.2 MB / 1.348 GB, free: 9.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003836/0.4158, allocations: 2.298 MB / 1.35 GB, free: 7.656 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.4174, allocations: 0.9516 MB / 1.351 GB, free: 6.703 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.641e-05/0.4175, allocations: 0 / 1.351 GB, free: 6.703 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005408/0.418, allocations: 194.8 kB / 1.351 GB, free: 6.512 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.4181, allocations: 67.45 kB / 1.351 GB, free: 6.445 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.4185, allocations: 115.7 kB / 1.351 GB, free: 6.332 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.4188, allocations: 227 kB / 1.352 GB, free: 6.109 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.419, allocations: 61.7 kB / 1.352 GB, free: 6.043 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.4191, allocations: 91.52 kB / 1.352 GB, free: 5.953 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.4193, allocations: 103.4 kB / 1.352 GB, free: 5.852 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.4193, allocations: 16 kB / 1.352 GB, free: 5.836 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.4196, allocations: 147.8 kB / 1.352 GB, free: 5.691 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.4198, allocations: 215.3 kB / 1.352 GB, free: 5.48 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.42, allocations: 266.1 kB / 1.352 GB, free: 5.219 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008071/0.4208, allocations: 0.723 MB / 1.353 GB, free: 4.492 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4208, allocations: 0 / 1.353 GB, free: 4.492 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4208, allocations: 4 kB / 1.353 GB, free: 4.488 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.4209, allocations: 0 / 1.353 GB, free: 4.488 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.001345/0.4222, allocations: 0.9979 MB / 1.354 GB, free: 3.434 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.4222, allocations: 15.98 kB / 1.354 GB, free: 3.418 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.527e-05/0.4223, allocations: 38.75 kB / 1.354 GB, free: 3.371 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005771/0.4229, allocations: 132.3 kB / 1.354 GB, free: 3.242 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008197/0.4237, allocations: 0.5981 MB / 1.355 GB, free: 2.602 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.4237, allocations: 8.375 kB / 1.355 GB, free: 2.594 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.4237, allocations: 16.31 kB / 1.355 GB, free: 2.578 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004239/0.4242, allocations: 194.1 kB / 1.355 GB, free: 2.383 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4242, allocations: 7.938 kB / 1.355 GB, free: 2.375 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.4242, allocations: 4 kB / 1.355 GB, free: 2.371 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.4242, allocations: 4 kB / 1.355 GB, free: 2.367 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004959/0.4247, allocations: 227.8 kB / 1.355 GB, free: 2.145 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.426, allocations: 0.9217 MB / 1.356 GB, free: 1.172 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007143/0.4267, allocations: 310.6 kB / 1.356 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.4269, allocations: 108.7 kB / 1.357 GB, free: 0.75 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000763/0.4277, allocations: 229 kB / 1.357 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.4277, allocations: 38.5 kB / 1.357 GB, free: 472 kB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.4277, allocations: 4 kB / 1.357 GB, free: 468 kB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0008601/0.4286, allocations: 405 kB / 1.357 GB, free: 56 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.4287, allocations: 51.41 kB / 1.357 GB, free: 15.99 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.4299, allocations: 0.9974 MB / 1.358 GB, free: 14.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.4299, allocations: 29.7 kB / 1.358 GB, free: 14.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.4302, allocations: 344.1 kB / 1.359 GB, free: 14.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.4303, allocations: 27.75 kB / 1.359 GB, free: 14.58 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.4303, allocations: 29.7 kB / 1.359 GB, free: 14.54 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.4305, allocations: 310 kB / 1.359 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.4307, allocations: 99.94 kB / 1.359 GB, free: 14.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.4309, allocations: 122.5 kB / 1.359 GB, free: 14.01 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/0.4313, allocations: 222.8 kB / 1.359 GB, free: 13.78 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4314, allocations: 0 / 1.359 GB, free: 13.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006066/0.432, allocations: 336.8 kB / 1.36 GB, free: 13.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.432, allocations: 4 kB / 1.36 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.432, allocations: 4 kB / 1.36 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.432, allocations: 0 / 1.36 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.4322, allocations: 23.98 kB / 1.36 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4322, allocations: 0 / 1.36 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.4323, allocations: 11.92 kB / 1.36 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.4324, allocations: 4 kB / 1.36 GB, free: 13.4 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.0002842/0.4326, allocations: 257.7 kB / 1.36 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.4328, allocations: 79.42 kB / 1.36 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006682/0.4334, allocations: 332.4 kB / 1.36 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.4334, allocations: 4 kB / 1.36 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4334, allocations: 0 / 1.36 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4334, allocations: 0 / 1.36 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006112/0.434, allocations: 0.5323 MB / 1.361 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.434, allocations: 4 kB / 1.361 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.4342, allocations: 19.98 kB / 1.361 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4342, allocations: 4 kB / 1.361 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.4342, allocations: 0 / 1.361 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4342, allocations: 0 / 1.361 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4342, allocations: 0 / 1.361 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/0.4348, allocations: 414.8 kB / 1.361 GB, free: 11.69 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/0.4351, allocations: 188.5 kB / 1.361 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.4351, allocations: 288 / 1.361 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.4353, allocations: 11.98 kB / 1.362 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.4353, allocations: 4 kB / 1.362 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.4353, allocations: 7.922 kB / 1.362 GB, free: 11.46 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008939/0.4362, allocations: 0.7215 MB / 1.362 GB, free: 10.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4362, allocations: 0 / 1.362 GB, free: 10.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003628/0.4366, allocations: 67.89 kB / 1.362 GB, free: 10.68 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.00103/0.4376, allocations: 0.954 MB / 1.363 GB, free: 9.695 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005197/0.4381, allocations: 215.8 kB / 1.363 GB, free: 9.484 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4382, allocations: 4.125 kB / 1.363 GB, free: 9.48 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.4384, allocations: 99.95 kB / 1.364 GB, free: 9.383 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.4388, allocations: 59.41 kB / 1.364 GB, free: 9.332 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008869/0.4477, allocations: 6.388 MB / 1.37 GB, free: 2.852 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006789/0.4483, allocations: 0.944 MB / 1.371 GB, free: 1.883 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002315/0.4486, allocations: 81.27 kB / 1.371 GB, free: 1.801 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003121/0.4489, allocations: 215.4 kB / 1.371 GB, free: 1.59 MB / 1.061 GB Notification: Performance of SimCode: time 9.91e-07/0.4489, allocations: 0 / 1.371 GB, free: 1.59 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05721/0.5061, allocations: 11.83 MB / 1.383 GB, free: 5.926 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.778/10.28, allocations: 10.75 kB / 1.383 GB, free: 5.918 MB / 1.076 GB " [Timeout remaining time 290] (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: 17.231280254898593]