Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.001341/0.001341, allocations: 107.3 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.00141/0.00141, allocations: 213.7 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.593/1.593, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.852/2.852, allocations: 476.7 MB / 0.7672 GB, free: 5.203 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",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.002103/0.002103, allocations: 71.89 kB / 1.112 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7878/0.7899, allocations: 169.9 MB / 1.278 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002676/0.7926, allocations: 1.084 MB / 1.279 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.7942, allocations: 1.04 MB / 1.28 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.7944, allocations: 7.938 kB / 1.28 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.7946, allocations: 19.73 kB / 1.28 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.7947, allocations: 15.81 kB / 1.28 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.795, allocations: 75.84 kB / 1.281 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.7953, allocations: 176 kB / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.7955, allocations: 59.86 kB / 1.281 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.7956, allocations: 75.75 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.7958, allocations: 87.55 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.7958, allocations: 16 kB / 1.281 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.06e-05/0.7959, allocations: 20 kB / 1.281 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.233e-05/0.7959, allocations: 43.84 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.484e-05/0.796, allocations: 67.59 kB / 1.281 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.7963, allocations: 201.1 kB / 1.281 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7963, allocations: 0 / 1.281 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7963, allocations: 0 / 1.281 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.7964, allocations: 0 / 1.281 GB, free: 10.44 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000892/0.7972, allocations: 482.7 kB / 1.282 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.7973, allocations: 8.031 kB / 1.282 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.082e-05/0.7973, allocations: 50.75 kB / 1.282 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.7975, allocations: 28.78 kB / 1.282 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.7978, allocations: 219.6 kB / 1.282 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.7978, allocations: 16.38 kB / 1.282 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.7979, allocations: 20.38 kB / 1.282 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.7982, allocations: 149.4 kB / 1.282 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.7982, allocations: 0 / 1.282 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.7982, allocations: 7.984 kB / 1.282 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.7983, allocations: 8 kB / 1.282 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/0.7986, allocations: 104.5 kB / 1.282 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.7998, allocations: 0.543 MB / 1.283 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.8002, allocations: 134.7 kB / 1.283 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.8004, allocations: 80.81 kB / 1.283 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.8004, allocations: 7.984 kB / 1.283 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.8007, allocations: 125.7 kB / 1.283 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.8007, allocations: 0 / 1.283 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.0005957/0.8013, allocations: 225.4 kB / 1.283 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.8013, allocations: 55.41 kB / 1.283 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.8015, allocations: 160.7 kB / 1.284 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.8015, allocations: 33.7 kB / 1.284 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.521e-05/0.8016, allocations: 112.6 kB / 1.284 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.426e-05/0.8017, allocations: 71.41 kB / 1.284 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.694e-05/0.8017, allocations: 41.7 kB / 1.284 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.8019, allocations: 326.8 kB / 1.284 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.8021, allocations: 63.95 kB / 1.284 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.8023, allocations: 93.61 kB / 1.284 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.8027, allocations: 145.5 kB / 1.284 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.8027, allocations: 0 / 1.284 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000529/0.8032, allocations: 223.8 kB / 1.285 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.8032, allocations: 4 kB / 1.285 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.8033, allocations: 0 / 1.285 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.8033, allocations: 4 kB / 1.285 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.8035, allocations: 35.97 kB / 1.285 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.8035, allocations: 7.922 kB / 1.285 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.8036, allocations: 27.88 kB / 1.285 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.8036, allocations: 4 kB / 1.285 GB, free: 6.641 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.000124/0.8038, allocations: 133.8 kB / 1.285 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.8038, allocations: 15.91 kB / 1.285 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004474/0.8042, allocations: 192.2 kB / 1.285 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.8042, allocations: 0 / 1.285 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.8043, allocations: 4 kB / 1.285 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.8043, allocations: 3.984 kB / 1.285 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008889/0.8052, allocations: 0.5812 MB / 1.286 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.8052, allocations: 4.188 kB / 1.286 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.8053, allocations: 35.97 kB / 1.286 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.8053, allocations: 11.88 kB / 1.286 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.8054, allocations: 8 kB / 1.286 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.8054, allocations: 0 / 1.286 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.8054, allocations: 7.938 kB / 1.286 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006517/0.806, allocations: 372.4 kB / 1.286 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.8061, allocations: 108.9 kB / 1.286 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.8061, allocations: 11.94 kB / 1.286 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.8063, allocations: 19.98 kB / 1.286 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.8063, allocations: 19.97 kB / 1.286 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.8064, allocations: 8 kB / 1.286 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.557e-05/0.8065, allocations: 120.8 kB / 1.286 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4e-08/0.8065, allocations: 0 / 1.286 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002776/0.8067, allocations: 28 kB / 1.286 GB, free: 4.832 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0009699/0.8077, allocations: 0.93 MB / 1.287 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004462/0.8082, allocations: 155.9 kB / 1.287 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8082, allocations: 0 / 1.287 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.8084, allocations: 90.14 kB / 1.287 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.8087, allocations: 27.92 kB / 1.287 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.8117, allocations: 2.138 MB / 1.29 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.8121, allocations: 0.7321 MB / 1.29 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.121e-05/0.8122, allocations: 13.42 kB / 1.29 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.8123, allocations: 55.42 kB / 1.29 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.8123, allocations: 0 / 1.29 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.8426, allocations: 3.649 MB / 1.294 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.198/9.04, allocations: 2.609 kB / 1.294 GB, free: 12.96 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable der1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! Error: Could not read variable intWitRes.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable intWitRes.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! Error: Could not read variable der2.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable der2.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! Error: Could not read variable der1.T in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable der1.T from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.443127248901874]