Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 111.7 kB / 17.96 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002355/0.002355, allocations: 193.5 kB / 21.22 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 249.9 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.701/2.701, allocations: 476.7 MB / 0.7634 GB, free: 10.91 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 66.23 kB / 1.108 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3419, allocations: 168.7 MB / 1.272 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003974/0.3459, allocations: 2.286 MB / 1.275 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001794/0.3477, allocations: 0.9594 MB / 1.276 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.3478, allocations: 0 / 1.276 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006521/0.3485, allocations: 195.1 kB / 1.276 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.3487, allocations: 79.44 kB / 1.276 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.3491, allocations: 111.7 kB / 1.276 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000346/0.3495, allocations: 223.1 kB / 1.276 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.3496, allocations: 65.64 kB / 1.276 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.3498, allocations: 79.59 kB / 1.276 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.3499, allocations: 103.4 kB / 1.276 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.35, allocations: 16 kB / 1.276 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.3503, allocations: 155.8 kB / 1.277 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.3505, allocations: 219.3 kB / 1.277 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.3507, allocations: 270 kB / 1.277 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008295/0.3516, allocations: 0.7231 MB / 1.278 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3516, allocations: 3.938 kB / 1.278 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3516, allocations: 0 / 1.278 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.3516, allocations: 0 / 1.278 GB, free: 6.332 MB / 0.9825 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.001369/0.353, allocations: 0.9979 MB / 1.279 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.353, allocations: 8.031 kB / 1.279 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.194e-05/0.3531, allocations: 46.73 kB / 1.279 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005389/0.3536, allocations: 124.3 kB / 1.279 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008542/0.3545, allocations: 0.5981 MB / 1.279 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.3545, allocations: 8.375 kB / 1.279 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.3545, allocations: 12.38 kB / 1.279 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.3549, allocations: 206.1 kB / 1.28 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3549, allocations: 3.938 kB / 1.28 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.3549, allocations: 8 kB / 1.28 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.3549, allocations: 0 / 1.28 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004733/0.3554, allocations: 231.9 kB / 1.28 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.3566, allocations: 0.9178 MB / 1.281 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006879/0.3573, allocations: 318.5 kB / 1.281 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.3575, allocations: 108.8 kB / 1.281 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007469/0.3583, allocations: 233 kB / 1.281 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.3583, allocations: 34.55 kB / 1.281 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.3583, allocations: 0 / 1.281 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0008626/0.3592, allocations: 405 kB / 1.282 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.3592, allocations: 51.41 kB / 1.282 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.3605, allocations: 1.001 MB / 1.283 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.3605, allocations: 25.7 kB / 1.283 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/0.3608, allocations: 348.1 kB / 1.283 GB, free: 460 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.3609, allocations: 27.8 kB / 1.283 GB, free: 432 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.361, allocations: 25.66 kB / 1.283 GB, free: 400 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3611, allocations: 318 kB / 1.284 GB, free: 76 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.3613, allocations: 95.95 kB / 1.284 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.3616, allocations: 118.5 kB / 1.284 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.362, allocations: 218.5 kB / 1.284 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.362, allocations: 3.938 kB / 1.284 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006609/0.3627, allocations: 325.3 kB / 1.284 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.3627, allocations: 8 kB / 1.284 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3627, allocations: 0 / 1.284 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.3628, allocations: 4.094 kB / 1.284 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.3629, allocations: 27.92 kB / 1.284 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3629, allocations: 0 / 1.284 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.3631, allocations: 27.88 kB / 1.284 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.3631, allocations: 4 kB / 1.284 GB, free: 15.23 MB / 0.9981 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.0003078/0.3634, allocations: 245.7 kB / 1.285 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.3635, allocations: 79.42 kB / 1.285 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006672/0.3642, allocations: 324.5 kB / 1.285 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3642, allocations: 4 kB / 1.285 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3642, allocations: 4 kB / 1.285 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.3642, allocations: 3.984 kB / 1.285 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006218/0.3648, allocations: 0.5285 MB / 1.286 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3648, allocations: 0 / 1.286 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.365, allocations: 19.98 kB / 1.286 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.365, allocations: 0 / 1.286 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.365, allocations: 3.984 kB / 1.286 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.365, allocations: 0 / 1.286 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.365, allocations: 0 / 1.286 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006256/0.3656, allocations: 418.8 kB / 1.286 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/0.3659, allocations: 184.5 kB / 1.286 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/0.3659, allocations: 7.984 kB / 1.286 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.3661, allocations: 8 kB / 1.286 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.3661, allocations: 7.984 kB / 1.286 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.3661, allocations: 4 kB / 1.286 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000945/0.3671, allocations: 0.7176 MB / 1.287 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3671, allocations: 3.938 kB / 1.287 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003844/0.3675, allocations: 71.88 kB / 1.287 GB, free: 12.52 MB / 0.9981 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.001047/0.3685, allocations: 0.9585 MB / 1.288 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005145/0.369, allocations: 215.8 kB / 1.288 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.369, allocations: 4 kB / 1.288 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.3693, allocations: 103.9 kB / 1.288 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.3697, allocations: 47.3 kB / 1.288 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009311/0.379, allocations: 6.392 MB / 1.294 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000664/0.3797, allocations: 0.9479 MB / 1.295 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002635/0.38, allocations: 81.33 kB / 1.295 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/0.3803, allocations: 215.4 kB / 1.296 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/0.3803, allocations: 0 / 1.296 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04147/0.4217, allocations: 11.81 MB / 1.307 GB, free: 7.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.766/10.19, allocations: 7.469 kB / 1.307 GB, free: 7.727 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.PEle from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! Error: Could not read variable opeModBas.mWat_flow in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.mWat_flow from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! Error: Could not read variable opeModBas.TWatIn in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.TWatIn from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! Error: Could not read variable opeModBas.mFue_flow in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.mFue_flow from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.835050290916115]