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.001353/0.001353, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001517/0.001517, allocations: 214.4 kB / 22.25 MB, free: 5.258 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.777 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.347/3.347, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.002309/0.002309, allocations: 68.11 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3919, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002959/0.3949, allocations: 1.01 MB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002022/0.3969, allocations: 1.023 MB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.3971, allocations: 4 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.3972, allocations: 23.73 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.368e-05/0.3973, allocations: 15.81 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/0.3978, allocations: 79.84 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.398, allocations: 172 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.3982, allocations: 60.67 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.3984, allocations: 79.64 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.3985, allocations: 67.67 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.956e-05/0.3985, allocations: 16 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.76e-05/0.3986, allocations: 23.98 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.684e-05/0.3986, allocations: 39.86 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.279e-05/0.3987, allocations: 67.64 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.399, allocations: 187.1 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.399, allocations: 0 / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.354e-06/0.399, allocations: 0 / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.399, allocations: 0 / 1.366 GB, free: 11.16 MB / 1.061 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.001001/0.4, allocations: 432 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.4001, allocations: 12.03 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.392e-05/0.4002, allocations: 50.73 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.4003, allocations: 20.84 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.4007, allocations: 162.8 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.4007, allocations: 12.38 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.4008, allocations: 20.38 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.4012, allocations: 183 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.4012, allocations: 0 / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.4012, allocations: 8 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.4012, allocations: 4 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/0.4015, allocations: 103.9 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.4028, allocations: 479.3 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004542/0.4032, allocations: 138.6 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.4034, allocations: 80.73 kB / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.4034, allocations: 7.984 kB / 1.368 GB, free: 9.348 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000295/0.4037, allocations: 137.1 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 2.033e-06/0.4037, allocations: 0 / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0006244/0.4044, allocations: 231.6 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.4044, allocations: 55.41 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.4046, allocations: 160.4 kB / 1.368 GB, free: 8.734 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.4046, allocations: 29.7 kB / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.604e-05/0.4047, allocations: 120.5 kB / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.794e-05/0.4048, allocations: 71.38 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.104e-05/0.4049, allocations: 37.7 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.405, allocations: 330.8 kB / 1.369 GB, free: 8.133 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.4053, allocations: 67.95 kB / 1.369 GB, free: 8.066 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.4055, allocations: 91.56 kB / 1.369 GB, free: 7.973 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/0.4059, allocations: 152 kB / 1.369 GB, free: 7.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4059, allocations: 0 / 1.369 GB, free: 7.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005046/0.4064, allocations: 207.5 kB / 1.369 GB, free: 7.613 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4064, allocations: 12.03 kB / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4064, allocations: 0 / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4064, allocations: 0 / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.4066, allocations: 47.91 kB / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4066, allocations: 0 / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.4068, allocations: 23.83 kB / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.4068, allocations: 12 kB / 1.37 GB, free: 7.52 MB / 1.061 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.0001248/0.4069, allocations: 129.7 kB / 1.37 GB, free: 7.383 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.4069, allocations: 19.89 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004319/0.4074, allocations: 194.7 kB / 1.37 GB, free: 7.164 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4074, allocations: 4 kB / 1.37 GB, free: 7.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4074, allocations: 0 / 1.37 GB, free: 7.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.4074, allocations: 7.984 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009055/0.4083, allocations: 0.5335 MB / 1.37 GB, free: 6.551 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4083, allocations: 0 / 1.37 GB, free: 6.551 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.4085, allocations: 39.91 kB / 1.37 GB, free: 6.512 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.4085, allocations: 7.938 kB / 1.37 GB, free: 6.504 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.4085, allocations: 4 kB / 1.37 GB, free: 6.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.4085, allocations: 4 kB / 1.37 GB, free: 6.496 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4085, allocations: 4 kB / 1.37 GB, free: 6.492 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000704/0.4092, allocations: 383.2 kB / 1.371 GB, free: 6.086 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.4092, allocations: 27.78 kB / 1.371 GB, free: 6.059 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.4093, allocations: 8 kB / 1.371 GB, free: 6.051 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.4094, allocations: 12.03 kB / 1.371 GB, free: 6.039 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/0.4095, allocations: 27.89 kB / 1.371 GB, free: 6.012 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.4095, allocations: 4 kB / 1.371 GB, free: 6.008 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001052/0.4096, allocations: 124.7 kB / 1.371 GB, free: 5.887 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4096, allocations: 3.938 kB / 1.371 GB, free: 5.883 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002917/0.4099, allocations: 39.95 kB / 1.371 GB, free: 5.844 MB / 1.061 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.001016/0.4109, allocations: 0.9086 MB / 1.372 GB, free: 4.891 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004556/0.4114, allocations: 159.8 kB / 1.372 GB, free: 4.734 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4114, allocations: 0 / 1.372 GB, free: 4.734 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.4116, allocations: 83.89 kB / 1.372 GB, free: 4.652 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.412, allocations: 27.86 kB / 1.372 GB, free: 4.625 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.4153, allocations: 2.133 MB / 1.374 GB, free: 2.371 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.4154, allocations: 116.2 kB / 1.374 GB, free: 2.234 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.372e-05/0.4155, allocations: 13.42 kB / 1.374 GB, free: 2.223 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.4156, allocations: 55.61 kB / 1.375 GB, free: 2.168 MB / 1.061 GB Notification: Performance of SimCode: time 9.11e-07/0.4156, allocations: 0 / 1.375 GB, free: 2.168 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.036/0.4516, allocations: 4.258 MB / 1.379 GB, free: 14.06 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.05, allocations: 9.781 kB / 1.379 GB, free: 14.06 MB / 1.076 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: 19.19932574685663]