Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.001194/0.001194, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.001231/0.001231, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.304/1.304, allocations: 225.6 MB / 249.3 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 179] 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.537/2.537, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 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.EngineTemperature,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 67.89 kB / 1.107 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.784/0.7859, allocations: 168.7 MB / 1.271 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002971/0.7888, allocations: 2.494 MB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000611/0.7895, allocations: 0.5393 MB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.876e-05/0.7895, allocations: 3.188 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003015/0.7898, allocations: 120.8 kB / 1.274 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.79, allocations: 98.91 kB / 1.275 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 9.299e-05/0.7901, allocations: 44.58 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.7903, allocations: 239.6 kB / 1.275 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.7904, allocations: 81.14 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.984e-05/0.7905, allocations: 84.06 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.7906, allocations: 98.73 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.7907, allocations: 18.59 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.108e-05/0.7907, allocations: 22.53 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.553e-05/0.7908, allocations: 87.3 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.756e-05/0.7909, allocations: 151.9 kB / 1.275 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.7912, allocations: 345 kB / 1.276 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7912, allocations: 0.9688 kB / 1.276 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.482e-06/0.7912, allocations: 0 / 1.276 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.7912, allocations: 0 / 1.276 GB, free: 4.863 MB / 0.9981 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.0006394/0.7918, allocations: 0.6536 MB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.7918, allocations: 10 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.7919, allocations: 50.06 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.7919, allocations: 45.75 kB / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.7922, allocations: 305.2 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.7922, allocations: 9.906 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.7922, allocations: 22.52 kB / 1.277 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.7925, allocations: 138.5 kB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.7925, allocations: 4.844 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.7925, allocations: 9.812 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.7925, allocations: 3.5 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.7927, allocations: 93.17 kB / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006262/0.7933, allocations: 0.5854 MB / 1.278 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.7935, allocations: 82.94 kB / 1.278 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.137e-05/0.7936, allocations: 49.56 kB / 1.278 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-06/0.7936, allocations: 0.9688 kB / 1.278 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.053e-05/0.7936, allocations: 35.94 kB / 1.278 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.7936, allocations: 0.8125 kB / 1.278 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0003075/0.7939, allocations: 151.5 kB / 1.278 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.683e-05/0.794, allocations: 57.08 kB / 1.278 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/0.7943, allocations: 393.2 kB / 1.278 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.7943, allocations: 26.7 kB / 1.278 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.486e-05/0.7944, allocations: 216.8 kB / 1.279 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.7944, allocations: 30.47 kB / 1.279 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.7945, allocations: 31.62 kB / 1.279 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.648e-05/0.7945, allocations: 351.6 kB / 1.279 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.319e-05/0.7946, allocations: 30.52 kB / 1.279 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.426e-05/0.7947, allocations: 54.17 kB / 1.279 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.7948, allocations: 85.75 kB / 1.279 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7948, allocations: 4 kB / 1.279 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002102/0.795, allocations: 152.3 kB / 1.279 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.795, allocations: 5.719 kB / 1.279 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.795, allocations: 0.875 kB / 1.279 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.7951, allocations: 1.844 kB / 1.279 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.7952, allocations: 26.66 kB / 1.279 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.7952, allocations: 1.875 kB / 1.279 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.221e-05/0.7952, allocations: 7.469 kB / 1.279 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.7952, allocations: 11.38 kB / 1.279 GB, free: 2.125 MB / 0.9981 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.0001006/0.7953, allocations: 162.9 kB / 1.279 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.7954, allocations: 35.92 kB / 1.279 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.037e-05/0.7954, allocations: 39.77 kB / 1.28 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.7954, allocations: 0.8438 kB / 1.28 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7954, allocations: 4.906 kB / 1.28 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.7955, allocations: 0 / 1.28 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.7957, allocations: 318 kB / 1.28 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.7957, allocations: 3.938 kB / 1.28 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.7958, allocations: 26.14 kB / 1.28 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7958, allocations: 1.031 kB / 1.28 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.7958, allocations: 1.922 kB / 1.28 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7958, allocations: 0 / 1.28 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.7958, allocations: 0.9688 kB / 1.28 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.7961, allocations: 256.6 kB / 1.28 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.7962, allocations: 114.2 kB / 1.28 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.7962, allocations: 5.125 kB / 1.28 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.7963, allocations: 5 kB / 1.28 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.7963, allocations: 6.406 kB / 1.28 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.7963, allocations: 6.531 kB / 1.28 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002288/0.7965, allocations: 280.9 kB / 1.281 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7965, allocations: 0 / 1.281 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002589/0.7968, allocations: 47.39 kB / 1.281 GB, free: 1.219 MB / 0.9981 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.000437/0.7972, allocations: 0.7876 MB / 1.281 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001954/0.7974, allocations: 78.72 kB / 1.281 GB, free: 484 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.7974, allocations: 0 / 1.281 GB, free: 484 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.09e-05/0.7975, allocations: 31 kB / 1.281 GB, free: 476 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.7978, allocations: 32.64 kB / 1.281 GB, free: 452 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.8006, allocations: 2.722 MB / 1.284 GB, free: 14.64 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.801, allocations: 0.7998 MB / 1.285 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.647e-05/0.8011, allocations: 12.73 kB / 1.285 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.8012, allocations: 103.6 kB / 1.285 GB, free: 13.84 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.8012, allocations: 0 / 1.285 GB, free: 13.84 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.8298, allocations: 4.952 MB / 1.29 GB, free: 12.87 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.357/8.187, allocations: 15.73 kB / 1.29 GB, free: 12.87 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_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_EngineTemperature.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.TRoo.T from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable eng.TWat.T in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.TWat.T from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable eng.QGen_flow in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.QGen_flow from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable per.capEng in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable per.capEng from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable eng.TEng in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.TEng from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.596871840003587]