Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.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.001424/0.001424, allocations: 107.8 kB / 19.71 MB, free: 2.145 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: 213.1 kB / 23 MB, free: 4.969 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.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.491/3.491, allocations: 0.505 GB / 0.8109 GB, free: 23.54 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.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relCon.u_m|enaSig.y|relCon.y|relCon.yDif|relCon.yOn",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relCon.u_m|enaSig.y|relCon.y|relCon.yDif|relCon.yOn",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller") [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.002128/0.002128, allocations: 63.55 kB / 1.178 GB, free: 16.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.397, allocations: 180.2 MB / 1.354 GB, free: 7.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002361/0.3993, allocations: 0.9622 MB / 1.355 GB, free: 6.461 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001911/0.4013, allocations: 1.276 MB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.594e-05/0.4014, allocations: 0 / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.4015, allocations: 31.67 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.338e-05/0.4016, allocations: 15.8 kB / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005462/0.4021, allocations: 178.1 kB / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.4024, allocations: 228.1 kB / 1.357 GB, free: 4.727 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.4026, allocations: 64.89 kB / 1.357 GB, free: 4.66 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.4028, allocations: 95.69 kB / 1.357 GB, free: 4.566 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.4029, allocations: 91.59 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/0.403, allocations: 20 kB / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.935e-05/0.403, allocations: 39.98 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.4031, allocations: 43.78 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.848e-05/0.4032, allocations: 83.64 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003499/0.4035, allocations: 259 kB / 1.357 GB, free: 4.039 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4035, allocations: 0 / 1.357 GB, free: 4.039 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4035, allocations: 0 / 1.357 GB, free: 4.039 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.4036, allocations: 0 / 1.357 GB, free: 4.039 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007915/0.4043, allocations: 439.1 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4044, allocations: 8.031 kB / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.4046, allocations: 28.83 kB / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.4049, allocations: 172.2 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.4049, allocations: 12.38 kB / 1.358 GB, free: 3.336 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.462e-05/0.405, allocations: 20.38 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.4052, allocations: 133.5 kB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4053, allocations: 4 kB / 1.358 GB, free: 3.176 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.4053, allocations: 7.984 kB / 1.358 GB, free: 3.168 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.4053, allocations: 4 kB / 1.358 GB, free: 3.164 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.4055, allocations: 83.95 kB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007144/0.4062, allocations: 407.9 kB / 1.359 GB, free: 2.652 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003192/0.4065, allocations: 102.7 kB / 1.359 GB, free: 2.543 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.4066, allocations: 36.84 kB / 1.359 GB, free: 2.504 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.4067, allocations: 4 kB / 1.359 GB, free: 2.5 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.4069, allocations: 91.48 kB / 1.359 GB, free: 2.398 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.4069, allocations: 0 / 1.359 GB, free: 2.398 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0004278/0.4073, allocations: 153.5 kB / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.4074, allocations: 55.41 kB / 1.359 GB, free: 2.176 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.4075, allocations: 153.3 kB / 1.359 GB, free: 2.016 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.4076, allocations: 33.7 kB / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.4077, allocations: 136.3 kB / 1.359 GB, free: 1.84 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.4077, allocations: 31.78 kB / 1.359 GB, free: 1.809 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.4078, allocations: 41.64 kB / 1.359 GB, free: 1.762 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.408, allocations: 326.8 kB / 1.36 GB, free: 1.434 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.4081, allocations: 81.67 kB / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.4083, allocations: 149.1 kB / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.4086, allocations: 138.3 kB / 1.36 GB, free: 1.031 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4086, allocations: 0 / 1.36 GB, free: 1.031 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004616/0.409, allocations: 249.3 kB / 1.36 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.4091, allocations: 35.67 kB / 1.36 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4091, allocations: 4 kB / 1.36 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.4091, allocations: 0 / 1.36 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.638e-05/0.4092, allocations: 23.92 kB / 1.36 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.4092, allocations: 0 / 1.36 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.4094, allocations: 43.97 kB / 1.36 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.4095, allocations: 4 kB / 1.36 GB, free: 0.6562 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,enaSig.y,$PRE.enaSig.y,relCon.hys.y,$PRE.relCon.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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.0001416/0.4096, allocations: 145.8 kB / 1.361 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.4096, allocations: 7.953 kB / 1.361 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.4097, allocations: 12.72 kB / 1.361 GB, free: 496 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4097, allocations: 4 kB / 1.361 GB, free: 492 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4097, allocations: 0 / 1.361 GB, free: 492 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.4097, allocations: 19.89 kB / 1.361 GB, free: 472 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.4097, allocations: 0 / 1.361 GB, free: 472 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-05/0.4098, allocations: 11.94 kB / 1.361 GB, free: 460 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.4098, allocations: 19.97 kB / 1.361 GB, free: 440 kB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003118/0.4102, allocations: 196.8 kB / 1.361 GB, free: 236 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003298/0.4105, allocations: 286.9 kB / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000105/0.4106, allocations: 43.97 kB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.483e-05/0.4107, allocations: 111.2 kB / 1.361 GB, free: 15.78 MB / 1.061 GB Notification: Performance of Backend: time 4.21e-07/0.4107, allocations: 0 / 1.361 GB, free: 15.78 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006215/0.4113, allocations: 257.2 kB / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of SimCode: time 0.000791/0.4121, allocations: 0.717 MB / 1.362 GB, free: 14.74 MB / 1.061 GB Notification: Performance of Templates: time 0.006345/0.4184, allocations: 2.622 MB / 1.365 GB, free: 12.17 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.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.715639560999989]