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.001377/0.001377, 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.001563/0.001563, allocations: 215.3 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.857/2.857, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.00219/0.00219, allocations: 65.78 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3611, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.003291/0.3643, allocations: 1.089 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.3663, allocations: 1.038 MB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.3665, allocations: 4 kB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.3666, allocations: 19.73 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.236e-05/0.3667, allocations: 19.8 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.3671, allocations: 71.8 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.3674, allocations: 184 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.3675, allocations: 60.27 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.3677, allocations: 79.69 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.3678, allocations: 75.62 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.3678, allocations: 20 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.601e-05/0.3679, allocations: 20 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.178e-05/0.368, allocations: 47.83 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.549e-05/0.3681, allocations: 71.59 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003374/0.3684, allocations: 187.5 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3684, allocations: 0 / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 5.089e-06/0.3684, allocations: 4 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.3684, allocations: 0 / 1.286 GB, free: 8.727 MB / 0.9825 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.0009053/0.3693, allocations: 430.3 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3694, allocations: 8.031 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.562e-05/0.3694, allocations: 50.73 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.3695, allocations: 20.8 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.3698, allocations: 166.8 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.3699, allocations: 12.38 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.3699, allocations: 16.38 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.3702, allocations: 157.4 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3703, allocations: 0 / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.3703, allocations: 4 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3703, allocations: 4 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.3706, allocations: 107.9 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.3717, allocations: 0.4954 MB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.3721, allocations: 138.6 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.3723, allocations: 84.8 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.3723, allocations: 0 / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/0.3726, allocations: 123.3 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.333e-06/0.3726, allocations: 0 / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.0005534/0.3731, allocations: 227.2 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.3732, allocations: 59.34 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.3733, allocations: 163 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.3734, allocations: 33.7 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.211e-05/0.3734, allocations: 116.5 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.966e-05/0.3735, allocations: 71.42 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.85e-05/0.3736, allocations: 41.7 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3737, allocations: 330.8 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.3739, allocations: 59.95 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.3741, allocations: 88.52 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.3745, allocations: 156.7 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3745, allocations: 4 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004815/0.375, allocations: 205.4 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.375, allocations: 11.98 kB / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.375, allocations: 0 / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.375, allocations: 0 / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.3752, allocations: 43.92 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3752, allocations: 4.031 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.3754, allocations: 27.86 kB / 1.29 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.3754, allocations: 8 kB / 1.29 GB, free: 5.113 MB / 0.9825 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.0001181/0.3755, allocations: 125.8 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.3755, allocations: 11.91 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004408/0.376, allocations: 202.6 kB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.376, allocations: 0 / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.376, allocations: 0 / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.376, allocations: 0 / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008767/0.3769, allocations: 0.5529 MB / 1.291 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.3769, allocations: 3.984 kB / 1.291 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.3771, allocations: 39.92 kB / 1.291 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.3771, allocations: 7.875 kB / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.3771, allocations: 4 kB / 1.291 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.3771, allocations: 4 kB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3771, allocations: 0 / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006672/0.3778, allocations: 391 kB / 1.291 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.3778, allocations: 23.88 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.3778, allocations: 8 kB / 1.291 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.378, allocations: 20 kB / 1.291 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/0.3781, allocations: 23.97 kB / 1.291 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.3781, allocations: 8 kB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001297/0.3783, allocations: 121 kB / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3783, allocations: 4 kB / 1.291 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003098/0.3786, allocations: 28 kB / 1.291 GB, free: 3.441 MB / 0.9825 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.001139/0.3797, allocations: 0.9163 MB / 1.292 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005392/0.3802, allocations: 158.1 kB / 1.292 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.3802, allocations: 0 / 1.292 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.3805, allocations: 87.83 kB / 1.292 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.3809, allocations: 33.98 kB / 1.292 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/0.3843, allocations: 2.122 MB / 1.294 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.3847, allocations: 0.7243 MB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.723e-05/0.3847, allocations: 17.42 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.3848, allocations: 55.42 kB / 1.295 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.3848, allocations: 4 kB / 1.295 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04357/0.4284, allocations: 3.838 MB / 1.299 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.24, allocations: 12.94 kB / 1.299 GB, free: 11.43 MB / 0.9981 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.235717121999187]