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.001823/0.001823, allocations: 100.8 kB / 16.45 MB, free: 6.449 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.002272/0.002272, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.648/1.648, allocations: 230.6 MB / 252.8 MB, free: 9.102 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.396/3.396, allocations: 0.49 GB / 0.7916 GB, free: 33.31 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.002035/0.002035, allocations: 69.3 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3751, allocations: 176.1 MB / 1.321 GB, free: 3.277 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002615/0.3777, allocations: 1.083 MB / 1.322 GB, free: 2.195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.3793, allocations: 1.034 MB / 1.323 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.3794, allocations: 7.938 kB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.3796, allocations: 15.75 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.971e-05/0.3797, allocations: 27.8 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.38, allocations: 75.84 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000249/0.3803, allocations: 176 kB / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.3804, allocations: 61.98 kB / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.3806, allocations: 75.77 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.3807, allocations: 79.55 kB / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.3807, allocations: 16 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.525e-05/0.3808, allocations: 27.98 kB / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.3808, allocations: 31.86 kB / 1.323 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.585e-05/0.3809, allocations: 75.59 kB / 1.324 GB, free: 500 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.3812, allocations: 195.1 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3812, allocations: 3.984 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3812, allocations: 0 / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.3812, allocations: 0 / 1.324 GB, free: 300 kB / 1.014 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.000912/0.3821, allocations: 478.6 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3822, allocations: 11.98 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.504e-05/0.3822, allocations: 58.73 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.3824, allocations: 24.78 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.3827, allocations: 224.6 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.3827, allocations: 8.375 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.3828, allocations: 24.38 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.3831, allocations: 149.4 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3831, allocations: 0 / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.3831, allocations: 8 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.3831, allocations: 8 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.3835, allocations: 107.9 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.3847, allocations: 0.5353 MB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.3851, allocations: 134.7 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.3853, allocations: 72.83 kB / 1.326 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.3853, allocations: 15.83 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.3856, allocations: 123.2 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.3856, allocations: 4 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0005901/0.3861, allocations: 226.7 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.3862, allocations: 55.34 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.3863, allocations: 165.7 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.3864, allocations: 29.7 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/0.3865, allocations: 120.5 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.443e-05/0.3865, allocations: 67.42 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.321e-05/0.3866, allocations: 41.7 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3868, allocations: 322.8 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.387, allocations: 71.89 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.3872, allocations: 91.7 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.3876, allocations: 143.9 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3876, allocations: 0 / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005651/0.3881, allocations: 219.5 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3882, allocations: 4 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3882, allocations: 4 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.3882, allocations: 0 / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.3884, allocations: 39.92 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3884, allocations: 7.984 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.3886, allocations: 23.88 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.3886, allocations: 8 kB / 1.327 GB, free: 12.49 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.0001237/0.3887, allocations: 129.8 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.3887, allocations: 15.91 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004502/0.3892, allocations: 192.4 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3892, allocations: 4 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3892, allocations: 0 / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.3892, allocations: 0 / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000976/0.3902, allocations: 0.5929 MB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3902, allocations: 8.188 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.3904, allocations: 35.92 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.3904, allocations: 7.922 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.3904, allocations: 8 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.3904, allocations: 4 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3904, allocations: 3.938 kB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007133/0.3911, allocations: 378.3 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.825e-05/0.3912, allocations: 96.98 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.3912, allocations: 12 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.3914, allocations: 19.98 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.3915, allocations: 23.97 kB / 1.329 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.3915, allocations: 4 kB / 1.329 GB, free: 10.83 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001254/0.3916, allocations: 121 kB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3916, allocations: 0 / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003518/0.392, allocations: 35.89 kB / 1.329 GB, free: 10.68 MB / 1.029 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.001133/0.3931, allocations: 0.9319 MB / 1.33 GB, free: 9.699 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004795/0.3936, allocations: 143.9 kB / 1.33 GB, free: 9.559 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3936, allocations: 0 / 1.33 GB, free: 9.559 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.3938, allocations: 92.27 kB / 1.33 GB, free: 9.469 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.3942, allocations: 29.98 kB / 1.33 GB, free: 9.441 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.3974, allocations: 2.137 MB / 1.332 GB, free: 7.184 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.3978, allocations: 0.7283 MB / 1.333 GB, free: 6.426 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.282e-05/0.3979, allocations: 13.61 kB / 1.333 GB, free: 6.414 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.398, allocations: 55.42 kB / 1.333 GB, free: 6.359 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.398, allocations: 0 / 1.333 GB, free: 6.359 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03217/0.4301, allocations: 3.639 MB / 1.336 GB, free: 2.828 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.558, allocations: 7.922 kB / 1.336 GB, free: 2.82 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.868687021080405]