Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.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.00143/0.00143, allocations: 112.6 kB / 17.13 MB, free: 6.008 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.001553/0.001553, allocations: 212.7 kB / 20.1 MB, free: 3.055 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 / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.15/3.15, allocations: 0.505 GB / 0.8072 GB, free: 2.133 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rho.y|norTimDel.tau",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rho.y|norTimDel.tau",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") [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.002138/0.002138, allocations: 67.91 kB / 1.173 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.024, allocations: 180.2 MB / 1.349 GB, free: 5.375 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002284/1.026, allocations: 1.12 MB / 1.35 GB, free: 4.637 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001537/1.028, allocations: 1.305 MB / 1.351 GB, free: 3.676 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/1.028, allocations: 11.31 kB / 1.351 GB, free: 3.668 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001495/1.028, allocations: 20.2 kB / 1.351 GB, free: 3.652 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.364e-05/1.028, allocations: 30.66 kB / 1.351 GB, free: 3.629 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000609/1.029, allocations: 200.2 kB / 1.352 GB, free: 3.516 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003703/1.029, allocations: 305.2 kB / 1.352 GB, free: 3.363 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/1.029, allocations: 76.36 kB / 1.352 GB, free: 3.32 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/1.03, allocations: 115.7 kB / 1.352 GB, free: 3.262 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/1.03, allocations: 114.5 kB / 1.352 GB, free: 3.199 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/1.03, allocations: 37.16 kB / 1.352 GB, free: 3.195 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/1.03, allocations: 46.91 kB / 1.352 GB, free: 3.191 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.778e-05/1.03, allocations: 55.28 kB / 1.352 GB, free: 3.152 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/1.03, allocations: 118.1 kB / 1.352 GB, free: 3.074 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004723/1.031, allocations: 380.3 kB / 1.353 GB, free: 2.941 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/1.031, allocations: 0 / 1.353 GB, free: 2.941 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.302e-06/1.031, allocations: 0 / 1.353 GB, free: 2.941 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.548e-06/1.031, allocations: 1.125 kB / 1.353 GB, free: 2.941 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008301/1.031, allocations: 0.547 MB / 1.353 GB, free: 2.441 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/1.031, allocations: 8.062 kB / 1.353 GB, free: 2.441 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.527e-05/1.032, allocations: 27.34 kB / 1.353 GB, free: 2.43 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/1.032, allocations: 263.6 kB / 1.354 GB, free: 2.184 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/1.032, allocations: 27.41 kB / 1.354 GB, free: 2.168 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/1.032, allocations: 26.73 kB / 1.354 GB, free: 2.16 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/1.032, allocations: 160.9 kB / 1.354 GB, free: 2.086 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/1.032, allocations: 192 / 1.354 GB, free: 2.086 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/1.032, allocations: 16.28 kB / 1.354 GB, free: 2.074 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/1.032, allocations: 3.344 kB / 1.354 GB, free: 2.074 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/1.033, allocations: 110 kB / 1.354 GB, free: 2.031 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009895/1.034, allocations: 0.6368 MB / 1.354 GB, free: 1.59 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/1.034, allocations: 139.4 kB / 1.355 GB, free: 1.512 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.236e-05/1.034, allocations: 53.62 kB / 1.355 GB, free: 1.484 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/1.034, allocations: 1.594 kB / 1.355 GB, free: 1.484 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/1.034, allocations: 133.2 kB / 1.355 GB, free: 1.41 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 1.472e-06/1.034, allocations: 0 / 1.355 GB, free: 1.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.0004543/1.035, allocations: 247.3 kB / 1.355 GB, free: 1.297 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/1.035, allocations: 58.45 kB / 1.355 GB, free: 1.23 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/1.035, allocations: 197.4 kB / 1.355 GB, free: 1.098 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/1.035, allocations: 39.2 kB / 1.355 GB, free: 1.059 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.486e-05/1.035, allocations: 130 kB / 1.355 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/1.035, allocations: 48.38 kB / 1.355 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.927e-05/1.035, allocations: 55.91 kB / 1.356 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 4.8e-05/1.035, allocations: 332.8 kB / 1.356 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/1.035, allocations: 68.17 kB / 1.356 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/1.035, allocations: 120.4 kB / 1.356 GB, free: 448 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/1.036, allocations: 178 kB / 1.356 GB, free: 312 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.036, allocations: 0 / 1.356 GB, free: 312 kB / 1.045 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000438/1.036, allocations: 267.8 kB / 1.356 GB, free: 168 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/1.036, allocations: 43.59 kB / 1.357 GB, free: 128 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.036, allocations: 1.938 kB / 1.357 GB, free: 128 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/1.036, allocations: 2.719 kB / 1.357 GB, free: 128 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/1.036, allocations: 21.86 kB / 1.357 GB, free: 124 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/1.036, allocations: 3.219 kB / 1.357 GB, free: 124 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/1.036, allocations: 44.88 kB / 1.357 GB, free: 112 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/1.036, allocations: 14.08 kB / 1.357 GB, free: 108 kB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.norTimDel.tunEndDel.u,$whenCondition4,$whenCondition5,$PRE.norTimDel.tunEndDel.t_next,$whenCondition1,norTimDel.tunEndDel.t_next,rho.booPul.y,$PRE.rho.booPul.y,norTimDel.tunEndDel.y,norTimDel.tunEndDel.u,norTimDel.or2.y,norTimDel.gre.greHys.y,$PRE.norTimDel.gre.greHys.y,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0001467/1.037, allocations: 153.8 kB / 1.357 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/1.037, allocations: 19.22 kB / 1.357 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.298e-05/1.037, allocations: 19.47 kB / 1.357 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/1.037, allocations: 6.812 kB / 1.357 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.037, allocations: 3.938 kB / 1.357 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/1.037, allocations: 0.75 kB / 1.357 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007696/1.038, allocations: 0.5536 MB / 1.357 GB, free: 15.51 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.038, allocations: 3.938 kB / 1.357 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.206e-05/1.038, allocations: 15.05 kB / 1.357 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/1.038, allocations: 1.281 kB / 1.357 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/1.038, allocations: 6.719 kB / 1.357 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.331e-06/1.038, allocations: 10.2 kB / 1.357 GB, free: 15.49 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.038, allocations: 5.406 kB / 1.357 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/1.038, allocations: 285.8 kB / 1.358 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/1.038, allocations: 109.7 kB / 1.358 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/1.038, allocations: 5.094 kB / 1.358 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/1.038, allocations: 15.8 kB / 1.358 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/1.038, allocations: 24.3 kB / 1.358 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/1.038, allocations: 11.52 kB / 1.358 GB, free: 15.16 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001473/1.039, allocations: 151.5 kB / 1.358 GB, free: 15.05 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.039, allocations: 0 / 1.358 GB, free: 15.05 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000338/1.039, allocations: 52.25 kB / 1.358 GB, free: 15.04 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,norTimDel.gre.greHys.y,norTimDel.or2.y,norTimDel.tunEndDel.y,norTimDel.tunEndDel.t_next,rho.booPul.y,norTimDel.tunEndDel.u) * Number of discrete states: 2 (norTimDel.tunEndDel.t_next,norTimDel.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002107/1.039, allocations: 112 kB / 1.358 GB, free: 14.95 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004105/1.039, allocations: 220.1 kB / 1.358 GB, free: 14.83 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.039, allocations: 5.812 kB / 1.358 GB, free: 14.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/1.04, allocations: 67.66 kB / 1.358 GB, free: 14.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/1.04, allocations: 33.39 kB / 1.358 GB, free: 14.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000727/1.041, allocations: 382.5 kB / 1.359 GB, free: 14.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/1.041, allocations: 0.7294 MB / 1.359 GB, free: 13.82 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/1.041, allocations: 21.39 kB / 1.36 GB, free: 13.81 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/1.041, allocations: 0 / 1.36 GB, free: 13.81 MB / 1.061 GB Notification: Performance of Templates: time 0.005582/1.047, allocations: 2.67 MB / 1.362 GB, free: 13.54 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.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: 12.104742395997164]