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.001692/0.001692, allocations: 104.3 kB / 19.7 MB, free: 2.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.00208/0.00208, allocations: 209.9 kB / 22.99 MB, free: 4.41 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.212/3.212, allocations: 0.505 GB / 0.8108 GB, free: 23.53 MB / 0.6231 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.002098/0.002098, allocations: 71.03 kB / 1.178 GB, free: 16.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3862, allocations: 180.2 MB / 1.354 GB, free: 7.426 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002588/0.3888, allocations: 1.048 MB / 1.355 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001824/0.3906, allocations: 1.288 MB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.3908, allocations: 8 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.3909, allocations: 27.66 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.097e-05/0.391, allocations: 23.75 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.3916, allocations: 196.8 kB / 1.357 GB, free: 4.824 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.3919, allocations: 299.9 kB / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.3921, allocations: 83.66 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.3923, allocations: 115.6 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.3925, allocations: 115.5 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.126e-05/0.3925, allocations: 36 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.3926, allocations: 43.98 kB / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.437e-05/0.3927, allocations: 51.84 kB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.3928, allocations: 103.6 kB / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000493/0.3933, allocations: 384.2 kB / 1.358 GB, free: 3.613 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3933, allocations: 0 / 1.358 GB, free: 3.613 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3933, allocations: 0 / 1.358 GB, free: 3.613 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.3933, allocations: 0 / 1.358 GB, free: 3.613 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.0009038/0.3942, allocations: 475.3 kB / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3943, allocations: 12.03 kB / 1.358 GB, free: 3.094 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.741e-05/0.3944, allocations: 28.8 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.3948, allocations: 208.3 kB / 1.358 GB, free: 2.836 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.3948, allocations: 16.69 kB / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.3949, allocations: 20.38 kB / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.3952, allocations: 198.4 kB / 1.359 GB, free: 2.598 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3952, allocations: 4.125 kB / 1.359 GB, free: 2.594 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.3952, allocations: 11.94 kB / 1.359 GB, free: 2.582 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.3952, allocations: 4 kB / 1.359 GB, free: 2.578 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.3955, allocations: 108.2 kB / 1.359 GB, free: 2.473 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009818/0.3964, allocations: 0.4923 MB / 1.359 GB, free: 1.949 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.3967, allocations: 134.6 kB / 1.359 GB, free: 1.809 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.3968, allocations: 48.89 kB / 1.359 GB, free: 1.758 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.3968, allocations: 3.938 kB / 1.359 GB, free: 1.754 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/0.3971, allocations: 168.9 kB / 1.36 GB, free: 1.57 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.3971, allocations: 0 / 1.36 GB, free: 1.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.0004936/0.3976, allocations: 247.1 kB / 1.36 GB, free: 1.324 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.3976, allocations: 51.41 kB / 1.36 GB, free: 1.262 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.3978, allocations: 182.8 kB / 1.36 GB, free: 1.074 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.3979, allocations: 33.7 kB / 1.36 GB, free: 1.035 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.398, allocations: 136.5 kB / 1.36 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.398, allocations: 43.69 kB / 1.36 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.3981, allocations: 53.69 kB / 1.36 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3983, allocations: 334.8 kB / 1.361 GB, free: 472 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.3985, allocations: 97.67 kB / 1.361 GB, free: 368 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.3987, allocations: 153 kB / 1.361 GB, free: 192 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.399, allocations: 180.2 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.399, allocations: 0 / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004989/0.3995, allocations: 300.8 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/0.3995, allocations: 40.52 kB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.3995, allocations: 4.141 kB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3995, allocations: 8 kB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.3996, allocations: 23.88 kB / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3997, allocations: 0 / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.3999, allocations: 51.8 kB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.3999, allocations: 8 kB / 1.361 GB, free: 15.54 MB / 1.061 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.0001639/0.4001, allocations: 149.7 kB / 1.362 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.4001, allocations: 19.91 kB / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/0.4002, allocations: 17.81 kB / 1.362 GB, free: 15.35 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.4002, allocations: 0 / 1.362 GB, free: 15.35 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.4002, allocations: 0 / 1.362 GB, free: 15.35 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.4002, allocations: 7.984 kB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006583/0.4009, allocations: 472.6 kB / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4009, allocations: 0 / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.584e-05/0.4009, allocations: 12 kB / 1.362 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4009, allocations: 0 / 1.362 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.4009, allocations: 11.98 kB / 1.362 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4009, allocations: 0 / 1.362 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4009, allocations: 4.031 kB / 1.362 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003848/0.4013, allocations: 296 kB / 1.362 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.4014, allocations: 31.83 kB / 1.362 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.4014, allocations: 8 kB / 1.362 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.4016, allocations: 7.984 kB / 1.362 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/0.4016, allocations: 27.89 kB / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.4016, allocations: 11.98 kB / 1.363 GB, free: 14.42 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001205/0.4018, allocations: 132.7 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4018, allocations: 0 / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003154/0.4021, allocations: 55.88 kB / 1.363 GB, free: 14.23 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.0002/0.4023, allocations: 119.2 kB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004591/0.4027, allocations: 252.9 kB / 1.363 GB, free: 13.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4027, allocations: 0 / 1.363 GB, free: 13.84 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.4029, allocations: 73.73 kB / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.4033, allocations: 32.56 kB / 1.363 GB, free: 13.74 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007569/0.404, allocations: 374.2 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.4041, allocations: 120.9 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.4042, allocations: 19.44 kB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.4042, allocations: 4 kB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of Templates: time 0.00515/0.4094, allocations: 2.618 MB / 1.366 GB, free: 10.58 MB / 1.061 GB " [Timeout remaining time 300] 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: 11.36493667200557]