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.001643/0.001643, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.003038/0.003038, allocations: 217 kB / 22.25 MB, free: 5.082 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.655/1.655, allocations: 230.6 MB / 256 MB, free: 8.012 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.424/3.424, allocations: 0.505 GB / 0.8101 GB, free: 22.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.002096/0.002096, allocations: 73.3 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3888, allocations: 180.2 MB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.003057/0.3918, allocations: 1.08 MB / 1.354 GB, free: 7.348 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001749/0.3936, allocations: 1.042 MB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.3937, allocations: 0 / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.3939, allocations: 19.75 kB / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.215e-05/0.394, allocations: 23.78 kB / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.3943, allocations: 83.03 kB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.3946, allocations: 176.1 kB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.3948, allocations: 64.62 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.3949, allocations: 67.77 kB / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.3951, allocations: 83.61 kB / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.451e-05/0.3951, allocations: 16 kB / 1.356 GB, free: 5.762 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.131e-05/0.3952, allocations: 20 kB / 1.356 GB, free: 5.742 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.3952, allocations: 43.83 kB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.174e-05/0.3953, allocations: 75.59 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.3956, allocations: 195.1 kB / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3957, allocations: 0 / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3957, allocations: 0 / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.3957, allocations: 0 / 1.356 GB, free: 5.434 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.0009317/0.3966, allocations: 434.3 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3966, allocations: 12.03 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.903e-05/0.3967, allocations: 46.73 kB / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.3968, allocations: 20.84 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.3971, allocations: 166.8 kB / 1.356 GB, free: 4.699 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3972, allocations: 8.375 kB / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.3972, allocations: 20.38 kB / 1.356 GB, free: 4.672 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.3976, allocations: 153.3 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3976, allocations: 0 / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.3976, allocations: 12 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.3976, allocations: 4 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.3979, allocations: 103.9 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.3992, allocations: 0.4993 MB / 1.357 GB, free: 3.855 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/0.3997, allocations: 134.6 kB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.3999, allocations: 80.86 kB / 1.357 GB, free: 3.633 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.3999, allocations: 7.906 kB / 1.357 GB, free: 3.625 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002893/0.4002, allocations: 121.4 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 1.323e-06/0.4002, allocations: 0 / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.0006391/0.4008, allocations: 227.1 kB / 1.358 GB, free: 3.27 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.4009, allocations: 59.39 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.4011, allocations: 162.2 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.4011, allocations: 33.64 kB / 1.358 GB, free: 2.992 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.4012, allocations: 116.5 kB / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.124e-05/0.4013, allocations: 67.44 kB / 1.358 GB, free: 2.809 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.459e-05/0.4014, allocations: 37.7 kB / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.4016, allocations: 330.8 kB / 1.359 GB, free: 2.434 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.4018, allocations: 67.97 kB / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.402, allocations: 85.66 kB / 1.359 GB, free: 2.277 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.4023, allocations: 147.4 kB / 1.359 GB, free: 2.129 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4023, allocations: 0 / 1.359 GB, free: 2.129 MB / 1.045 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005133/0.4029, allocations: 210.4 kB / 1.359 GB, free: 1.918 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.4029, allocations: 5.719 kB / 1.359 GB, free: 1.914 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.4029, allocations: 4 kB / 1.359 GB, free: 1.91 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/0.4029, allocations: 3.938 kB / 1.359 GB, free: 1.906 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.4031, allocations: 43.91 kB / 1.359 GB, free: 1.863 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.4031, allocations: 4 kB / 1.359 GB, free: 1.859 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.4033, allocations: 19.88 kB / 1.359 GB, free: 1.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.4033, allocations: 16.02 kB / 1.359 GB, free: 1.824 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.000145/0.4035, allocations: 129.7 kB / 1.359 GB, free: 1.688 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.4035, allocations: 19.89 kB / 1.359 GB, free: 1.668 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004706/0.404, allocations: 190.7 kB / 1.359 GB, free: 1.477 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.404, allocations: 4 kB / 1.359 GB, free: 1.473 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.404, allocations: 4 kB / 1.359 GB, free: 1.469 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.404, allocations: 4 kB / 1.359 GB, free: 1.465 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009701/0.405, allocations: 0.5531 MB / 1.36 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.405, allocations: 4 kB / 1.36 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.4052, allocations: 39.91 kB / 1.36 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.4052, allocations: 7.938 kB / 1.36 GB, free: 0.793 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.4052, allocations: 4 kB / 1.36 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.4052, allocations: 4 kB / 1.36 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4052, allocations: 0 / 1.36 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006433/0.4058, allocations: 386.1 kB / 1.36 GB, free: 384 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.4059, allocations: 23.78 kB / 1.36 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.4059, allocations: 8 kB / 1.36 GB, free: 352 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.4061, allocations: 16.03 kB / 1.36 GB, free: 336 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.4061, allocations: 27.89 kB / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.4062, allocations: 11.94 kB / 1.361 GB, free: 296 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001078/0.4063, allocations: 123.2 kB / 1.361 GB, free: 172 kB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4063, allocations: 0 / 1.361 GB, free: 172 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002928/0.4066, allocations: 31.95 kB / 1.361 GB, free: 140 kB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.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.001164/0.4077, allocations: 0.9125 MB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004765/0.4082, allocations: 155.6 kB / 1.362 GB, free: 15.03 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.4082, allocations: 4 kB / 1.362 GB, free: 15.03 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.4084, allocations: 83.95 kB / 1.362 GB, free: 14.95 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.4088, allocations: 31.86 kB / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.4119, allocations: 2.12 MB / 1.364 GB, free: 12.67 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.4124, allocations: 0.7282 MB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.596e-05/0.4125, allocations: 13.42 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.4126, allocations: 59.36 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of SimCode: time 7.62e-07/0.4126, allocations: 0 / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03339/0.446, allocations: 3.847 MB / 1.368 GB, free: 8.137 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.42, allocations: 7.531 kB / 1.368 GB, free: 8.133 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.99258616499992]