Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001772/0.001772, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002358/0.002358, allocations: 213.2 kB / 22.25 MB, free: 4.855 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.319/3.319, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_12_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.003218/0.003218, allocations: 75.66 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3949, allocations: 176.1 MB / 1.325 GB, free: 2.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.003233/0.3981, allocations: 0.9953 MB / 1.326 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001868/0.4, allocations: 1.034 MB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.4002, allocations: 4 kB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.4003, allocations: 19.73 kB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.933e-05/0.4004, allocations: 23.73 kB / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.4008, allocations: 75.84 kB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.4011, allocations: 176 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.4013, allocations: 60.67 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.4014, allocations: 63.78 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.4016, allocations: 79.59 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.058e-05/0.4016, allocations: 20 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.878e-05/0.4017, allocations: 16 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.4017, allocations: 39.91 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.4019, allocations: 67.64 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.4022, allocations: 187.1 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4022, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4022, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.4022, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 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.001104/0.4033, allocations: 427.4 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.4034, allocations: 12.03 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001231/0.4035, allocations: 54.67 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.4036, allocations: 24.8 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.404, allocations: 168.2 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.404, allocations: 16.38 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.4041, allocations: 16.38 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.4045, allocations: 175.1 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4045, allocations: 4 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.4045, allocations: 12 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4045, allocations: 0 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.4048, allocations: 103.9 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.4059, allocations: 479.4 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/0.4064, allocations: 144.5 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.4065, allocations: 80.86 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.4066, allocations: 7.938 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003925/0.407, allocations: 141 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.452e-06/0.407, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0008494/0.4078, allocations: 235.3 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.4079, allocations: 55.41 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.4081, allocations: 154.2 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.4081, allocations: 29.7 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/0.4082, allocations: 120.5 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.322e-05/0.4082, allocations: 67.42 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/0.4083, allocations: 37.7 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4085, allocations: 326.8 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.4087, allocations: 71.95 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.4089, allocations: 87.3 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.4093, allocations: 143.4 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4093, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005548/0.4098, allocations: 219.1 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4098, allocations: 4 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4099, allocations: 7.984 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4099, allocations: 0 / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.4101, allocations: 31.98 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/0.4101, allocations: 4 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.4102, allocations: 27.86 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.4102, allocations: 8 kB / 1.331 GB, free: 11.82 MB / 1.029 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.000131/0.4104, allocations: 138.3 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.4104, allocations: 15.91 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004411/0.4108, allocations: 188.2 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.4108, allocations: 4 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4109, allocations: 3.938 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.4109, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000912/0.4118, allocations: 0.5511 MB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4118, allocations: 0 / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.4119, allocations: 31.98 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.412, allocations: 11.88 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.412, allocations: 7.984 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.345e-05/0.412, allocations: 4 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.415e-06/0.4121, allocations: 12.12 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006963/0.4127, allocations: 370.4 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.4128, allocations: 27.81 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.4128, allocations: 8 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.413, allocations: 15.98 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/0.4131, allocations: 23.91 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.4131, allocations: 15.98 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001014/0.4132, allocations: 131.1 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.4132, allocations: 0 / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002883/0.4135, allocations: 31.95 kB / 1.333 GB, free: 10.14 MB / 1.029 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.001029/0.4145, allocations: 0.9165 MB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005131/0.415, allocations: 155.8 kB / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.415, allocations: 0 / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.4152, allocations: 83.84 kB / 1.334 GB, free: 8.941 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.4155, allocations: 27.92 kB / 1.334 GB, free: 8.914 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/0.4191, allocations: 2.121 MB / 1.336 GB, free: 6.672 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.4192, allocations: 116.2 kB / 1.336 GB, free: 6.531 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.285e-05/0.4193, allocations: 13.42 kB / 1.336 GB, free: 6.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.4194, allocations: 55.41 kB / 1.336 GB, free: 6.465 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.4194, allocations: 4 kB / 1.336 GB, free: 6.461 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03688/0.4563, allocations: 4.268 MB / 1.34 GB, free: 2.344 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.13, allocations: 2.062 kB / 1.34 GB, free: 2.344 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable der1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! Error: Could not read variable intWitRes.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable intWitRes.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! Error: Could not read variable der2.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable der2.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! Error: Could not read variable der1.T in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable der1.T from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.19519643392414]