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.0017/0.0017, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.00249/0.00249, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.466/1.466, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.188/3.188, allocations: 0.49 GB / 0.7916 GB, free: 33.47 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.002074/0.002074, allocations: 72.34 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3611, allocations: 176.1 MB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003918/0.365, allocations: 2.297 MB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.3666, allocations: 0.9555 MB / 1.324 GB, free: 68 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.3668, allocations: 4 kB / 1.324 GB, free: 64 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005642/0.3673, allocations: 194.8 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.3675, allocations: 71.44 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.3678, allocations: 115.7 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.3681, allocations: 219.1 kB / 1.325 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.3683, allocations: 65.7 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.3684, allocations: 87.53 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.3686, allocations: 103.4 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.3686, allocations: 20 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.3689, allocations: 155.8 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.3691, allocations: 211.3 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.3693, allocations: 270 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008594/0.3702, allocations: 0.7269 MB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.3702, allocations: 4 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3702, allocations: 0 / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.3702, allocations: 0 / 1.326 GB, free: 13.84 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.00136/0.3716, allocations: 0.994 MB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3716, allocations: 15.98 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.506e-05/0.3717, allocations: 50.67 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005589/0.3722, allocations: 124.3 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008147/0.373, allocations: 0.5981 MB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.373, allocations: 8.375 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.3731, allocations: 12.38 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004277/0.3735, allocations: 202.1 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3735, allocations: 3.938 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.3735, allocations: 4 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.3735, allocations: 8 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005197/0.3741, allocations: 227.9 kB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.3754, allocations: 0.9256 MB / 1.329 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007288/0.3762, allocations: 310.4 kB / 1.33 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002415/0.3764, allocations: 104.9 kB / 1.33 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008047/0.3772, allocations: 241 kB / 1.33 GB, free: 9.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.3772, allocations: 30.56 kB / 1.33 GB, free: 9.801 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.3772, allocations: 0 / 1.33 GB, free: 9.801 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0009435/0.3782, allocations: 405 kB / 1.33 GB, free: 9.398 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.3782, allocations: 55.41 kB / 1.33 GB, free: 9.332 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.3795, allocations: 0.9896 MB / 1.331 GB, free: 8.332 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.3795, allocations: 33.7 kB / 1.331 GB, free: 8.293 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.3799, allocations: 344.1 kB / 1.332 GB, free: 7.949 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.3799, allocations: 35.69 kB / 1.332 GB, free: 7.914 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.083e-05/0.3799, allocations: 25.66 kB / 1.332 GB, free: 7.883 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3801, allocations: 322 kB / 1.332 GB, free: 7.562 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.3803, allocations: 95.95 kB / 1.332 GB, free: 7.469 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.3806, allocations: 122.8 kB / 1.332 GB, free: 7.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004631/0.381, allocations: 226.4 kB / 1.332 GB, free: 7.109 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.381, allocations: 0 / 1.332 GB, free: 7.109 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006923/0.3817, allocations: 325 kB / 1.333 GB, free: 6.785 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.3818, allocations: 4 kB / 1.333 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3818, allocations: 4 kB / 1.333 GB, free: 6.777 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3818, allocations: 0 / 1.333 GB, free: 6.777 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.382, allocations: 27.92 kB / 1.333 GB, free: 6.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.382, allocations: 3.984 kB / 1.333 GB, free: 6.746 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.3821, allocations: 12.06 kB / 1.333 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.3822, allocations: 4 kB / 1.333 GB, free: 6.73 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.0003084/0.3825, allocations: 249.7 kB / 1.333 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.3826, allocations: 79.42 kB / 1.333 GB, free: 6.398 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006921/0.3833, allocations: 324.5 kB / 1.333 GB, free: 6.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.3833, allocations: 4 kB / 1.333 GB, free: 6.066 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3833, allocations: 7.984 kB / 1.333 GB, free: 6.059 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3833, allocations: 0 / 1.333 GB, free: 6.059 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006233/0.3839, allocations: 0.5323 MB / 1.334 GB, free: 5.477 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3839, allocations: 4 kB / 1.334 GB, free: 5.473 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.3841, allocations: 15.98 kB / 1.334 GB, free: 5.457 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3841, allocations: 4 kB / 1.334 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.3841, allocations: 3.984 kB / 1.334 GB, free: 5.449 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3841, allocations: 3.938 kB / 1.334 GB, free: 5.445 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.3841, allocations: 4 kB / 1.334 GB, free: 5.441 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006398/0.3847, allocations: 415 kB / 1.334 GB, free: 5.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.385, allocations: 184.5 kB / 1.335 GB, free: 4.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/0.385, allocations: 4 kB / 1.335 GB, free: 4.816 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.3852, allocations: 11.94 kB / 1.335 GB, free: 4.805 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.3852, allocations: 7.984 kB / 1.335 GB, free: 4.797 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.3853, allocations: 0 / 1.335 GB, free: 4.797 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001069/0.3863, allocations: 0.7254 MB / 1.335 GB, free: 4.074 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3863, allocations: 0 / 1.335 GB, free: 4.074 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004103/0.3867, allocations: 63.94 kB / 1.335 GB, free: 4.012 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.001204/0.3879, allocations: 0.9539 MB / 1.336 GB, free: 3.027 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005562/0.3885, allocations: 216 kB / 1.337 GB, free: 2.816 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3885, allocations: 0 / 1.337 GB, free: 2.816 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.3887, allocations: 107.9 kB / 1.337 GB, free: 2.711 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.3892, allocations: 50.22 kB / 1.337 GB, free: 2.668 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009893/0.3991, allocations: 6.395 MB / 1.343 GB, free: 12.17 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007135/0.3998, allocations: 0.944 MB / 1.344 GB, free: 11.2 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002549/0.4001, allocations: 81.33 kB / 1.344 GB, free: 11.12 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003212/0.4004, allocations: 215.4 kB / 1.344 GB, free: 10.91 MB / 1.045 GB Notification: Performance of SimCode: time 1.613e-06/0.4004, allocations: 0 / 1.344 GB, free: 10.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04206/0.4424, allocations: 11.84 MB / 1.356 GB, free: 15.24 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.768/10.21, allocations: 7.688 kB / 1.356 GB, free: 15.24 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.987353707896546]