Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.00181/0.00181, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.002239/0.002239, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.514/1.514, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.435/3.435, allocations: 0.505 GB / 0.8066 GB, free: 23.1 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.EngineTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",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.002085/0.002085, allocations: 70.23 kB / 1.172 GB, free: 17.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3698, allocations: 180.2 MB / 1.348 GB, free: 9.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004283/0.3741, allocations: 2.492 MB / 1.35 GB, free: 7.441 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3752, allocations: 0.5431 MB / 1.351 GB, free: 6.898 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.3753, allocations: 4 kB / 1.351 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004035/0.3757, allocations: 115.5 kB / 1.351 GB, free: 6.781 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.3759, allocations: 99.27 kB / 1.351 GB, free: 6.684 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.3761, allocations: 47.89 kB / 1.351 GB, free: 6.637 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.3764, allocations: 246.7 kB / 1.351 GB, free: 6.395 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.3766, allocations: 71.14 kB / 1.351 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.3768, allocations: 87.72 kB / 1.351 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.3769, allocations: 99.5 kB / 1.351 GB, free: 6.141 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/0.377, allocations: 20 kB / 1.351 GB, free: 6.121 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.036e-05/0.377, allocations: 16 kB / 1.352 GB, free: 6.105 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.3771, allocations: 95.61 kB / 1.352 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.3773, allocations: 147 kB / 1.352 GB, free: 5.867 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004225/0.3777, allocations: 342.4 kB / 1.352 GB, free: 5.531 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3777, allocations: 0 / 1.352 GB, free: 5.531 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3777, allocations: 0 / 1.352 GB, free: 5.531 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3777, allocations: 0 / 1.352 GB, free: 5.531 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001016/0.3787, allocations: 0.6609 MB / 1.353 GB, free: 4.816 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3788, allocations: 19.98 kB / 1.353 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.142e-05/0.3788, allocations: 46.73 kB / 1.353 GB, free: 4.742 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.806e-05/0.3789, allocations: 44.66 kB / 1.353 GB, free: 4.699 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.3793, allocations: 310.5 kB / 1.353 GB, free: 4.359 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.3793, allocations: 12.38 kB / 1.353 GB, free: 4.348 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.3794, allocations: 12.38 kB / 1.353 GB, free: 4.336 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.3797, allocations: 149.6 kB / 1.353 GB, free: 4.184 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3797, allocations: 3.938 kB / 1.353 GB, free: 4.18 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.3797, allocations: 8 kB / 1.353 GB, free: 4.172 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3797, allocations: 8 kB / 1.353 GB, free: 4.164 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.38, allocations: 87.95 kB / 1.353 GB, free: 4.078 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009046/0.3809, allocations: 0.5898 MB / 1.354 GB, free: 3.438 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.3811, allocations: 86.66 kB / 1.354 GB, free: 3.344 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.3812, allocations: 44.78 kB / 1.354 GB, free: 3.297 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.3813, allocations: 4 kB / 1.354 GB, free: 3.293 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.3813, allocations: 30.56 kB / 1.354 GB, free: 3.254 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.3813, allocations: 0 / 1.354 GB, free: 3.254 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0003849/0.3817, allocations: 145.4 kB / 1.354 GB, free: 3.105 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.3817, allocations: 59.39 kB / 1.354 GB, free: 3.035 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004374/0.3822, allocations: 386 kB / 1.355 GB, free: 2.648 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.3822, allocations: 29.7 kB / 1.355 GB, free: 2.613 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.3824, allocations: 220.2 kB / 1.355 GB, free: 2.395 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.785e-05/0.3825, allocations: 31.73 kB / 1.355 GB, free: 2.363 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.3825, allocations: 21.72 kB / 1.355 GB, free: 2.336 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002459/0.3828, allocations: 354.7 kB / 1.355 GB, free: 1.98 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.828e-05/0.3828, allocations: 23.98 kB / 1.355 GB, free: 1.957 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.383, allocations: 62.3 kB / 1.355 GB, free: 1.887 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.3832, allocations: 87.73 kB / 1.355 GB, free: 1.789 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3832, allocations: 3.938 kB / 1.355 GB, free: 1.785 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000352/0.3835, allocations: 153.3 kB / 1.356 GB, free: 1.629 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3835, allocations: 4 kB / 1.356 GB, free: 1.625 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3835, allocations: 0 / 1.356 GB, free: 1.625 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3835, allocations: 4 kB / 1.356 GB, free: 1.621 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.3837, allocations: 27.92 kB / 1.356 GB, free: 1.594 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3837, allocations: 0 / 1.356 GB, free: 1.594 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.716e-05/0.3838, allocations: 23.88 kB / 1.356 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.3838, allocations: 7.938 kB / 1.356 GB, free: 1.562 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 13 * 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.0002134/0.384, allocations: 162.6 kB / 1.356 GB, free: 1.395 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.3841, allocations: 35.77 kB / 1.356 GB, free: 1.359 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.889e-05/0.3841, allocations: 39.22 kB / 1.356 GB, free: 1.316 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3841, allocations: 3.984 kB / 1.356 GB, free: 1.312 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3841, allocations: 0 / 1.356 GB, free: 1.312 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3841, allocations: 3.938 kB / 1.356 GB, free: 1.309 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.3845, allocations: 309.5 kB / 1.356 GB, free: 0.957 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3845, allocations: 0 / 1.356 GB, free: 0.957 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.3847, allocations: 16 kB / 1.356 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3847, allocations: 4 kB / 1.356 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.3847, allocations: 15.92 kB / 1.356 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3847, allocations: 0 / 1.356 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3847, allocations: 0 / 1.356 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.3851, allocations: 251.2 kB / 1.356 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.3852, allocations: 120.8 kB / 1.357 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.3852, allocations: 4 kB / 1.357 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3853, allocations: 8.062 kB / 1.357 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.3854, allocations: 3.984 kB / 1.357 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.3854, allocations: 4 kB / 1.357 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003175/0.3857, allocations: 283.1 kB / 1.357 GB, free: 232 kB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3857, allocations: 4.188 kB / 1.357 GB, free: 228 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002959/0.386, allocations: 43.89 kB / 1.357 GB, free: 184 kB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * 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.0008661/0.3868, allocations: 0.7941 MB / 1.358 GB, free: 15.36 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.3871, allocations: 67.91 kB / 1.358 GB, free: 15.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3871, allocations: 0 / 1.358 GB, free: 15.29 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.3872, allocations: 35.92 kB / 1.358 GB, free: 15.26 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.3876, allocations: 27.84 kB / 1.358 GB, free: 15.23 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/0.3914, allocations: 2.721 MB / 1.36 GB, free: 12.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.392, allocations: 0.8019 MB / 1.361 GB, free: 11.59 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.112e-05/0.3921, allocations: 12.58 kB / 1.361 GB, free: 11.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.3922, allocations: 99.41 kB / 1.361 GB, free: 11.47 MB / 1.061 GB Notification: Performance of SimCode: time 9.52e-07/0.3922, allocations: 7.938 kB / 1.361 GB, free: 11.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/0.4253, allocations: 4.958 MB / 1.366 GB, free: 6.641 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.922/9.347, allocations: 3.375 kB / 1.366 GB, free: 6.641 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_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_EngineTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable eng.TRoo.T in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.TRoo.T from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable eng.TWat.T in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.TWat.T from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable eng.QGen_flow in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.QGen_flow from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable per.capEng in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable per.capEng from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable eng.TEng in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.TEng from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.67037418507971]