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.001601/0.001601, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002182/0.002182, allocations: 217.9 kB / 22.26 MB, free: 5.113 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 8.031 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.36/3.36, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.0021/0.0021, allocations: 68.94 kB / 1.177 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3841, allocations: 180.2 MB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.005743/0.3898, allocations: 2.494 MB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.3913, allocations: 0.5587 MB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.3915, allocations: 4 kB / 1.356 GB, free: 5.406 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005095/0.392, allocations: 123.5 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.3923, allocations: 95.22 kB / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.3924, allocations: 39.95 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003741/0.3928, allocations: 246.7 kB / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.3931, allocations: 79.61 kB / 1.356 GB, free: 4.832 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.3932, allocations: 87.72 kB / 1.356 GB, free: 4.746 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.3934, allocations: 99.38 kB / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.391e-05/0.3935, allocations: 20 kB / 1.357 GB, free: 4.629 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.023e-05/0.3936, allocations: 20 kB / 1.357 GB, free: 4.609 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.3937, allocations: 83.69 kB / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002774/0.394, allocations: 155 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005842/0.3946, allocations: 346.4 kB / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3946, allocations: 0 / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3946, allocations: 0 / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.3946, allocations: 0 / 1.357 GB, free: 4.035 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.001035/0.3956, allocations: 0.5856 MB / 1.358 GB, free: 3.414 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3956, allocations: 8.031 kB / 1.358 GB, free: 3.406 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.722e-05/0.3957, allocations: 54.73 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.117e-05/0.3958, allocations: 48.59 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.3962, allocations: 244.7 kB / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.3962, allocations: 12.38 kB / 1.358 GB, free: 3.023 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.3963, allocations: 16.38 kB / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.3966, allocations: 145.7 kB / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3966, allocations: 3.938 kB / 1.358 GB, free: 2.855 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.3966, allocations: 4 kB / 1.358 GB, free: 2.852 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.3966, allocations: 4 kB / 1.358 GB, free: 2.848 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/0.3968, allocations: 87.95 kB / 1.358 GB, free: 2.762 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009486/0.3978, allocations: 0.5538 MB / 1.359 GB, free: 2.164 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.3981, allocations: 86.55 kB / 1.359 GB, free: 2.07 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.3982, allocations: 40.89 kB / 1.359 GB, free: 2.027 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.3982, allocations: 4 kB / 1.359 GB, free: 2.023 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.3982, allocations: 34.56 kB / 1.359 GB, free: 1.98 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.3982, allocations: 0 / 1.359 GB, free: 1.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0003969/0.3986, allocations: 149.4 kB / 1.359 GB, free: 1.828 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.3987, allocations: 51.41 kB / 1.359 GB, free: 1.766 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004565/0.3991, allocations: 390 kB / 1.36 GB, free: 1.379 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.3992, allocations: 29.7 kB / 1.36 GB, free: 1.344 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.3993, allocations: 220.5 kB / 1.36 GB, free: 1.125 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.3994, allocations: 31.73 kB / 1.36 GB, free: 1.094 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.3994, allocations: 29.7 kB / 1.36 GB, free: 1.059 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.3996, allocations: 350.8 kB / 1.36 GB, free: 0.707 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.73e-05/0.3997, allocations: 27.92 kB / 1.36 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.3998, allocations: 63.34 kB / 1.36 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.4, allocations: 95.36 kB / 1.36 GB, free: 0.5 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4, allocations: 0 / 1.36 GB, free: 0.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002891/0.4003, allocations: 145.4 kB / 1.361 GB, free: 360 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.4003, allocations: 4 kB / 1.361 GB, free: 356 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.4003, allocations: 7.922 kB / 1.361 GB, free: 348 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.4003, allocations: 4.094 kB / 1.361 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.4005, allocations: 27.98 kB / 1.361 GB, free: 316 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4005, allocations: 0 / 1.361 GB, free: 316 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.072e-05/0.4006, allocations: 15.95 kB / 1.361 GB, free: 300 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.4006, allocations: 7.938 kB / 1.361 GB, free: 292 kB / 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.0001966/0.4008, allocations: 165.7 kB / 1.361 GB, free: 116 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.4008, allocations: 35.77 kB / 1.361 GB, free: 80 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.134e-05/0.4009, allocations: 43.2 kB / 1.361 GB, free: 32 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4009, allocations: 0 / 1.361 GB, free: 32 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4009, allocations: 4 kB / 1.361 GB, free: 28 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4009, allocations: 0 / 1.361 GB, free: 28 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/0.4013, allocations: 284.5 kB / 1.361 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4013, allocations: 0 / 1.361 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.4015, allocations: 23.92 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4015, allocations: 0 / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.4015, allocations: 8 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4015, allocations: 0 / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4015, allocations: 0 / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004545/0.402, allocations: 263.2 kB / 1.361 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.582e-05/0.402, allocations: 35.75 kB / 1.361 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.4021, allocations: 4 kB / 1.361 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.851e-05/0.4022, allocations: 4 kB / 1.361 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.4022, allocations: 3.984 kB / 1.361 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.4022, allocations: 4 kB / 1.361 GB, free: 15.35 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003296/0.4026, allocations: 287.1 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4026, allocations: 0 / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003037/0.4029, allocations: 47.95 kB / 1.362 GB, free: 15.02 MB / 1.061 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.0007615/0.4036, allocations: 0.7864 MB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.4039, allocations: 68.16 kB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4039, allocations: 4 kB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.333e-05/0.404, allocations: 31.92 kB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.4044, allocations: 32.2 kB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/0.4081, allocations: 2.718 MB / 1.365 GB, free: 11.26 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/0.4087, allocations: 0.803 MB / 1.366 GB, free: 10.43 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.46e-05/0.4087, allocations: 12.64 kB / 1.366 GB, free: 10.42 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.4089, allocations: 99.41 kB / 1.366 GB, free: 10.32 MB / 1.061 GB Notification: Performance of SimCode: time 1.002e-06/0.4089, allocations: 0 / 1.366 GB, free: 10.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03782/0.4467, allocations: 5.112 MB / 1.371 GB, free: 5.355 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.95, allocations: 5.781 kB / 1.371 GB, free: 5.352 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.03863532200012]