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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 111.7 kB / 18.88 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002063/0.002063, allocations: 202.3 kB / 22.17 MB, free: 5.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.678/1.678, allocations: 225.6 MB / 250.9 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.872/2.872, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 63.91 kB / 1.109 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8962/0.8982, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002591/0.9008, allocations: 1.067 MB / 1.275 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.9025, allocations: 1.012 MB / 1.276 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.9027, allocations: 4 kB / 1.276 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.9029, allocations: 19.73 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.573e-05/0.903, allocations: 15.81 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.9033, allocations: 71.84 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.9036, allocations: 176 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.9038, allocations: 71.83 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.9039, allocations: 71.72 kB / 1.277 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.9041, allocations: 83.59 kB / 1.277 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.9041, allocations: 16 kB / 1.277 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.22e-05/0.9041, allocations: 16 kB / 1.277 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.9042, allocations: 35.91 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.108e-05/0.9043, allocations: 75.53 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.9046, allocations: 182.1 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.9046, allocations: 0 / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.815e-06/0.9046, allocations: 0 / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.9046, allocations: 7.938 kB / 1.277 GB, free: 1.645 MB / 0.9669 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.001053/0.9057, allocations: 0.4955 MB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.9057, allocations: 8.031 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.41e-05/0.9058, allocations: 16.84 kB / 1.277 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.9062, allocations: 228.6 kB / 1.278 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.9062, allocations: 12.38 kB / 1.278 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.9063, allocations: 20.38 kB / 1.278 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.9066, allocations: 153.6 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.9067, allocations: 0 / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.9067, allocations: 4 kB / 1.278 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.9067, allocations: 4 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.907, allocations: 111.9 kB / 1.278 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.9082, allocations: 0.5275 MB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.9086, allocations: 140.2 kB / 1.279 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.9088, allocations: 84.73 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.9089, allocations: 7.922 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.9091, allocations: 119.3 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.713e-06/0.9091, allocations: 0 / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.0006173/0.9097, allocations: 227.9 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.9098, allocations: 51.41 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.91, allocations: 168.6 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.91, allocations: 29.7 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.9102, allocations: 124.5 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.23e-05/0.9103, allocations: 67.42 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.965e-05/0.9104, allocations: 41.7 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002379/0.9106, allocations: 326.8 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.9108, allocations: 67.95 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.9111, allocations: 85.67 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004374/0.9115, allocations: 143.9 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.9115, allocations: 0 / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000546/0.912, allocations: 213.3 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.9121, allocations: 7.984 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.9121, allocations: 7.984 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.9121, allocations: 0 / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.9123, allocations: 51.95 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.9124, allocations: 3.984 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.9125, allocations: 31.81 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.9125, allocations: 8 kB / 1.28 GB, free: 13.87 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.0001743/0.9127, allocations: 126.3 kB / 1.281 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.9127, allocations: 15.91 kB / 1.281 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005084/0.9132, allocations: 190.7 kB / 1.281 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.9133, allocations: 4 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.9133, allocations: 0 / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.9133, allocations: 0 / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.9143, allocations: 0.5898 MB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.9143, allocations: 4 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.9145, allocations: 39.92 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.9145, allocations: 3.938 kB / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.9145, allocations: 7.984 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.9145, allocations: 4 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.9145, allocations: 192 / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007014/0.9152, allocations: 390.2 kB / 1.282 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.9153, allocations: 96.98 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.9153, allocations: 11.94 kB / 1.282 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.9155, allocations: 15.98 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.9156, allocations: 19.97 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.9156, allocations: 8 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001165/0.9157, allocations: 127 kB / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9157, allocations: 0 / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002963/0.916, allocations: 35.89 kB / 1.282 GB, free: 12.06 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.0002226/0.9162, allocations: 111.2 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005029/0.9167, allocations: 161 kB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.9167, allocations: 4.062 kB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.9169, allocations: 79.91 kB / 1.282 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.9173, allocations: 23.98 kB / 1.282 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009538/0.9183, allocations: 398.5 kB / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.9188, allocations: 0.7321 MB / 1.283 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.488e-05/0.9188, allocations: 13.42 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/0.9189, allocations: 19.44 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/0.9189, allocations: 0 / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of Templates: time 0.006307/0.9252, allocations: 1.83 MB / 1.285 GB, free: 8.637 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.27192882495001]