Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001375/0.001375, allocations: 105.9 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.001462/0.001462, 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.592/1.592, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.437/3.437, 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.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_latest_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.002279/0.002279, allocations: 75.55 kB / 1.172 GB, free: 17.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.395, allocations: 180.2 MB / 1.348 GB, free: 9.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002872/0.3978, allocations: 1.082 MB / 1.349 GB, free: 8.902 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3993, allocations: 1.038 MB / 1.35 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.475e-05/0.3994, allocations: 11.94 kB / 1.35 GB, free: 7.84 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.3995, allocations: 19.73 kB / 1.35 GB, free: 7.82 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.986e-05/0.3996, allocations: 11.81 kB / 1.35 GB, free: 7.809 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.3998, allocations: 75.84 kB / 1.35 GB, free: 7.734 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.4, allocations: 180 kB / 1.35 GB, free: 7.555 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.4002, allocations: 64.27 kB / 1.35 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.4003, allocations: 67.78 kB / 1.35 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.4004, allocations: 87.53 kB / 1.35 GB, free: 7.336 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.4004, allocations: 20 kB / 1.35 GB, free: 7.316 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.855e-05/0.4005, allocations: 20 kB / 1.35 GB, free: 7.297 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.4005, allocations: 43.84 kB / 1.35 GB, free: 7.254 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.444e-05/0.4006, allocations: 71.59 kB / 1.351 GB, free: 7.184 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.4009, allocations: 187.1 kB / 1.351 GB, free: 7 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4009, allocations: 0 / 1.351 GB, free: 7 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4009, allocations: 0 / 1.351 GB, free: 7 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.4009, allocations: 0 / 1.351 GB, free: 7 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008645/0.4018, allocations: 494.6 kB / 1.351 GB, free: 6.465 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.4018, allocations: 11.98 kB / 1.351 GB, free: 6.453 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.863e-05/0.4019, allocations: 46.73 kB / 1.351 GB, free: 6.398 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.402, allocations: 24.8 kB / 1.351 GB, free: 6.375 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.4023, allocations: 228.6 kB / 1.351 GB, free: 6.113 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.4024, allocations: 16.31 kB / 1.351 GB, free: 6.098 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.4024, allocations: 20.36 kB / 1.352 GB, free: 6.078 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.4027, allocations: 157.4 kB / 1.352 GB, free: 5.918 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.4027, allocations: 0 / 1.352 GB, free: 5.918 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.4028, allocations: 4 kB / 1.352 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.4028, allocations: 4 kB / 1.352 GB, free: 5.91 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.4031, allocations: 111.9 kB / 1.352 GB, free: 5.801 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.4042, allocations: 0.5314 MB / 1.352 GB, free: 5.219 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.4046, allocations: 130.7 kB / 1.352 GB, free: 5.082 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.4048, allocations: 84.81 kB / 1.353 GB, free: 4.996 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.4048, allocations: 7.906 kB / 1.353 GB, free: 4.988 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002661/0.4051, allocations: 121 kB / 1.353 GB, free: 4.859 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 1.293e-06/0.4051, allocations: 0 / 1.353 GB, free: 4.859 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.0005628/0.4056, allocations: 223.2 kB / 1.353 GB, free: 4.637 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.4057, allocations: 55.41 kB / 1.353 GB, free: 4.57 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.4058, allocations: 164.3 kB / 1.353 GB, free: 4.402 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.4059, allocations: 37.69 kB / 1.353 GB, free: 4.359 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/0.4059, allocations: 120.5 kB / 1.353 GB, free: 4.238 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.946e-05/0.406, allocations: 59.44 kB / 1.353 GB, free: 4.18 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/0.4061, allocations: 41.7 kB / 1.353 GB, free: 4.133 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4062, allocations: 330.8 kB / 1.354 GB, free: 3.801 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.4065, allocations: 67.91 kB / 1.354 GB, free: 3.734 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.4067, allocations: 89.66 kB / 1.354 GB, free: 3.641 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.407, allocations: 144.8 kB / 1.354 GB, free: 3.496 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.407, allocations: 4 kB / 1.354 GB, free: 3.492 MB / 1.045 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005072/0.4076, allocations: 213.4 kB / 1.354 GB, free: 3.277 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.4076, allocations: 4 kB / 1.354 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.4076, allocations: 0 / 1.354 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.4076, allocations: 4 kB / 1.354 GB, free: 3.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.4078, allocations: 43.91 kB / 1.354 GB, free: 3.227 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.4078, allocations: 0 / 1.354 GB, free: 3.227 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.4079, allocations: 31.91 kB / 1.354 GB, free: 3.195 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.4079, allocations: 8 kB / 1.354 GB, free: 3.188 MB / 1.045 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.0001145/0.4081, allocations: 129.8 kB / 1.354 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.4081, allocations: 15.91 kB / 1.354 GB, free: 3.035 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000427/0.4085, allocations: 194.7 kB / 1.355 GB, free: 2.832 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4085, allocations: 4 kB / 1.355 GB, free: 2.828 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4085, allocations: 7.938 kB / 1.355 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4085, allocations: 0 / 1.355 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008964/0.4094, allocations: 0.5851 MB / 1.355 GB, free: 2.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4094, allocations: 0 / 1.355 GB, free: 2.16 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.4096, allocations: 43.91 kB / 1.355 GB, free: 2.117 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.4096, allocations: 7.938 kB / 1.355 GB, free: 2.109 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.4096, allocations: 4 kB / 1.355 GB, free: 2.105 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4096, allocations: 0 / 1.355 GB, free: 2.105 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.4096, allocations: 4 kB / 1.355 GB, free: 2.102 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006176/0.4103, allocations: 384.5 kB / 1.356 GB, free: 1.695 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.954e-05/0.4103, allocations: 101 kB / 1.356 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.4104, allocations: 8 kB / 1.356 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.4105, allocations: 12.03 kB / 1.356 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.4106, allocations: 23.91 kB / 1.356 GB, free: 1.535 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.4106, allocations: 11.98 kB / 1.356 GB, free: 1.523 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.51e-05/0.4107, allocations: 115.4 kB / 1.356 GB, free: 1.41 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4107, allocations: 4 kB / 1.356 GB, free: 1.406 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002875/0.411, allocations: 43.89 kB / 1.356 GB, free: 1.363 MB / 1.045 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.0009488/0.4119, allocations: 0.922 MB / 1.357 GB, free: 408 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004097/0.4123, allocations: 151.9 kB / 1.357 GB, free: 256 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4123, allocations: 4.062 kB / 1.357 GB, free: 252 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.4125, allocations: 83.84 kB / 1.357 GB, free: 168 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.4128, allocations: 29.64 kB / 1.357 GB, free: 140 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.4157, allocations: 2.143 MB / 1.359 GB, free: 13.88 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.4161, allocations: 0.7205 MB / 1.36 GB, free: 13.12 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.9e-05/0.4162, allocations: 17.42 kB / 1.36 GB, free: 13.11 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.4163, allocations: 55.41 kB / 1.36 GB, free: 13.05 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.4163, allocations: 0 / 1.36 GB, free: 13.05 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02991/0.4462, allocations: 3.642 MB / 1.363 GB, free: 9.516 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.284/8.73, allocations: 15.42 kB / 1.363 GB, free: 9.504 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable der1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! Error: Could not read variable intWitRes.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable intWitRes.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! Error: Could not read variable der2.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable der2.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! Error: Could not read variable der1.T in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable der1.T from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.937332560075447]