Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009113/0.0009113, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009627/0.0009627, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8695/0.8695, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.643/1.643, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.986e-06/2.986e-06, allocations: 0 / 0.9506 GB, free: 3.406 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.335e-05, allocations: 6.219 kB / 0.9506 GB, free: 3.398 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001598/0.001622, allocations: 1.003 MB / 0.9516 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.002633, allocations: 1.022 MB / 0.9526 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.357e-05/0.002727, allocations: 7.938 kB / 0.9526 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.002839, allocations: 23.73 kB / 0.9526 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.542e-05/0.002894, allocations: 23.8 kB / 0.9526 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.003165, allocations: 75.77 kB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.00332, allocations: 176.1 kB / 0.9528 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.003455, allocations: 60.45 kB / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.003565, allocations: 103.8 kB / 0.953 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.465e-05/0.003639, allocations: 63.77 kB / 0.9531 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.003662, allocations: 16 kB / 0.9531 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.444e-05/0.003707, allocations: 20 kB / 0.9531 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/0.003738, allocations: 43.83 kB / 0.9531 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.781e-05/0.003775, allocations: 43.91 kB / 0.9532 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.003968, allocations: 195.3 kB / 0.9534 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.003971, allocations: 0 / 0.9534 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.192e-06/0.003972, allocations: 0 / 0.9534 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.003976, allocations: 0 / 0.9534 GB, free: 0.5117 MB / 0.9011 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.0005745/0.004551, allocations: 434.3 kB / 0.9538 GB, free: 52 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.004586, allocations: 16.03 kB / 0.9538 GB, free: 36 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.765e-05/0.004634, allocations: 50.67 kB / 0.9538 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.7e-05/0.004711, allocations: 20.84 kB / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.00494, allocations: 163.9 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.004955, allocations: 12.38 kB / 0.954 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.004982, allocations: 20.38 kB / 0.9541 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.005221, allocations: 175.7 kB / 0.9542 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.00523, allocations: 4.172 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.005253, allocations: 11.94 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.005258, allocations: 4 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.005423, allocations: 107.9 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006875/0.006111, allocations: 483.2 kB / 0.9548 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.006381, allocations: 134.5 kB / 0.9549 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.006481, allocations: 80.86 kB / 0.955 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.006504, allocations: 4 kB / 0.955 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.006665, allocations: 145 kB / 0.9552 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=19): time 1.853e-06/0.006667, allocations: 0 / 0.9552 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.0003432/0.00701, allocations: 230.9 kB / 0.9554 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.007037, allocations: 55.41 kB / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.675e-05/0.007134, allocations: 160.1 kB / 0.9556 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.007152, allocations: 29.7 kB / 0.9556 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002961/0.007448, allocations: 116.5 kB / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.007489, allocations: 71.42 kB / 0.9558 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.951e-05/0.007539, allocations: 37.7 kB / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.007623, allocations: 330.8 kB / 0.9561 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.007747, allocations: 67.97 kB / 0.9562 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.007865, allocations: 88.3 kB / 0.9563 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.008059, allocations: 148.4 kB / 0.9564 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.008061, allocations: 0 / 0.9564 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002839/0.008345, allocations: 209.5 kB / 0.9566 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.008359, allocations: 6.656 kB / 0.9566 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.008365, allocations: 4 kB / 0.9566 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.008376, allocations: 0 / 0.9566 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.008479, allocations: 43.91 kB / 0.9567 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.008485, allocations: 4 kB / 0.9567 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.749e-05/0.008553, allocations: 23.83 kB / 0.9567 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.008565, allocations: 19.98 kB / 0.9567 GB, free: 12.86 MB / 0.9167 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 8.3e-05/0.008648, allocations: 129.7 kB / 0.9568 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.008665, allocations: 19.84 kB / 0.9569 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.008924, allocations: 188.4 kB / 0.957 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.008927, allocations: 4 kB / 0.957 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.008931, allocations: 0 / 0.957 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.008935, allocations: 0 / 0.957 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005229/0.009458, allocations: 0.5442 MB / 0.9576 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.009461, allocations: 0 / 0.9576 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.357e-05/0.009554, allocations: 35.92 kB / 0.9576 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.009558, allocations: 7.938 kB / 0.9576 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.00957, allocations: 7.984 kB / 0.9576 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.009576, allocations: 7.938 kB / 0.9576 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.009578, allocations: 0 / 0.9576 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.009942, allocations: 386.8 kB / 0.958 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.009961, allocations: 19.84 kB / 0.958 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.009983, allocations: 15.97 kB / 0.958 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.01006, allocations: 11.98 kB / 0.9581 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.01011, allocations: 19.97 kB / 0.9581 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.01012, allocations: 7.938 kB / 0.9581 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.239e-05/0.01018, allocations: 121.2 kB / 0.9582 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01018, allocations: 4 kB / 0.9582 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001925/0.01038, allocations: 35.95 kB / 0.9582 GB, free: 11.2 MB / 0.9167 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.0005315/0.01091, allocations: 0.9085 MB / 0.9591 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.01117, allocations: 159.8 kB / 0.9593 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01117, allocations: 0 / 0.9593 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.01128, allocations: 79.91 kB / 0.9593 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.01152, allocations: 23.98 kB / 0.9594 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.01326, allocations: 2.117 MB / 0.9614 GB, free: 7.746 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.126e-05/0.01333, allocations: 116.5 kB / 0.9615 GB, free: 7.613 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.583e-05/0.01339, allocations: 13.48 kB / 0.9616 GB, free: 7.598 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.01346, allocations: 56.48 kB / 0.9616 GB, free: 7.543 MB / 0.9167 GB Notification: Performance of SimCode: time 8.72e-07/0.01346, allocations: 0 / 0.9616 GB, free: 7.543 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.03358, allocations: 4.402 MB / 0.9659 GB, free: 3.301 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.912/6.946, allocations: 3.25 kB / 0.9659 GB, free: 3.301 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable der1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! Error: Could not read variable intWitRes.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable intWitRes.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! Error: Could not read variable der2.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable der2.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! Error: Could not read variable der1.T in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable der1.T from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.906650338321924]