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.001269/0.001269, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.00144/0.00144, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.272/3.272, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.003313/0.003313, allocations: 71.95 kB / 1.178 GB, free: 16.94 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.394, allocations: 180.2 MB / 1.354 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002519/0.3965, allocations: 1.052 MB / 1.355 GB, free: 6.957 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.3986, allocations: 1.304 MB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.3987, allocations: 4 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.3988, allocations: 19.73 kB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.951e-05/0.3989, allocations: 23.73 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005801/0.3995, allocations: 182.5 kB / 1.357 GB, free: 5.418 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.3998, allocations: 232 kB / 1.357 GB, free: 5.188 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.4, allocations: 63.14 kB / 1.357 GB, free: 5.125 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.4002, allocations: 95.69 kB / 1.357 GB, free: 5.031 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.4004, allocations: 91.59 kB / 1.357 GB, free: 4.941 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.4004, allocations: 27.98 kB / 1.357 GB, free: 4.914 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.876e-05/0.4005, allocations: 43.92 kB / 1.357 GB, free: 4.871 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.4006, allocations: 35.91 kB / 1.357 GB, free: 4.836 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.4007, allocations: 87.59 kB / 1.357 GB, free: 4.75 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.401, allocations: 270.9 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.401, allocations: 0 / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.563e-06/0.401, allocations: 0 / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.401, allocations: 0 / 1.357 GB, free: 4.484 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.0007872/0.4018, allocations: 423.2 kB / 1.358 GB, free: 4.035 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.4019, allocations: 8.031 kB / 1.358 GB, free: 4.027 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.402, allocations: 32.78 kB / 1.358 GB, free: 3.996 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.4023, allocations: 171.6 kB / 1.358 GB, free: 3.805 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.4023, allocations: 16.38 kB / 1.358 GB, free: 3.789 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.4024, allocations: 16.38 kB / 1.358 GB, free: 3.773 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.4027, allocations: 129.5 kB / 1.358 GB, free: 3.641 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4027, allocations: 0 / 1.358 GB, free: 3.641 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.4027, allocations: 8 kB / 1.358 GB, free: 3.633 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.4027, allocations: 4 kB / 1.358 GB, free: 3.629 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.4029, allocations: 83.95 kB / 1.358 GB, free: 3.547 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008096/0.4037, allocations: 499.2 kB / 1.359 GB, free: 3.016 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.404, allocations: 98.61 kB / 1.359 GB, free: 2.91 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.4041, allocations: 44.83 kB / 1.359 GB, free: 2.863 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.4041, allocations: 0 / 1.359 GB, free: 2.863 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002621/0.4044, allocations: 95.31 kB / 1.359 GB, free: 2.758 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.4044, allocations: 0 / 1.359 GB, free: 2.758 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.000414/0.4048, allocations: 153.7 kB / 1.359 GB, free: 2.602 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.4049, allocations: 59.34 kB / 1.359 GB, free: 2.531 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.4051, allocations: 188.3 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.4051, allocations: 29.7 kB / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.74e-05/0.4052, allocations: 124.3 kB / 1.36 GB, free: 2.176 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.4052, allocations: 39.73 kB / 1.36 GB, free: 2.137 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-05/0.4053, allocations: 41.69 kB / 1.36 GB, free: 2.09 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4055, allocations: 334.7 kB / 1.36 GB, free: 1.754 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.4056, allocations: 51.97 kB / 1.36 GB, free: 1.703 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.4058, allocations: 81.23 kB / 1.36 GB, free: 1.613 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.406, allocations: 138.8 kB / 1.36 GB, free: 1.465 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.406, allocations: 0 / 1.36 GB, free: 1.465 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004208/0.4065, allocations: 215.2 kB / 1.36 GB, free: 1.242 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/0.4065, allocations: 37.7 kB / 1.36 GB, free: 1.199 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.4065, allocations: 8 kB / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4065, allocations: 0 / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.439e-05/0.4066, allocations: 20.05 kB / 1.361 GB, free: 1.172 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.4066, allocations: 0 / 1.361 GB, free: 1.172 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.4069, allocations: 43.84 kB / 1.361 GB, free: 1.129 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.4069, allocations: 8 kB / 1.361 GB, free: 1.121 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.0001328/0.407, allocations: 142.3 kB / 1.361 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.407, allocations: 11.91 kB / 1.361 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.4071, allocations: 21.41 kB / 1.361 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.4071, allocations: 4 kB / 1.361 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.4071, allocations: 0 / 1.361 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.4071, allocations: 0 / 1.361 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.4073, allocations: 216.5 kB / 1.361 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4073, allocations: 0 / 1.361 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.074e-05/0.4074, allocations: 12 kB / 1.361 GB, free: 0.668 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.4074, allocations: 0 / 1.361 GB, free: 0.668 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.4074, allocations: 11.97 kB / 1.361 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4074, allocations: 0 / 1.361 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4074, allocations: 4 kB / 1.361 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.4077, allocations: 153.4 kB / 1.361 GB, free: 496 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.4077, allocations: 19.84 kB / 1.361 GB, free: 476 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.4078, allocations: 4 kB / 1.361 GB, free: 472 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.698e-05/0.4078, allocations: 7.984 kB / 1.361 GB, free: 464 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.4079, allocations: 15.97 kB / 1.361 GB, free: 448 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.4079, allocations: 0 / 1.361 GB, free: 448 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001206/0.408, allocations: 139.5 kB / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.408, allocations: 0 / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002549/0.4083, allocations: 39.89 kB / 1.361 GB, free: 268 kB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,relCon.hys.y,enaSig.y) * Number of discrete states: 1 (relCon.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001647/0.4084, allocations: 111.2 kB / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003831/0.4088, allocations: 179.2 kB / 1.362 GB, free: 15.96 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4088, allocations: 0 / 1.362 GB, free: 15.96 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.4089, allocations: 44.05 kB / 1.362 GB, free: 15.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.4092, allocations: 30.48 kB / 1.362 GB, free: 15.89 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/0.4098, allocations: 294.4 kB / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.4102, allocations: 0.7201 MB / 1.363 GB, free: 14.82 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.4102, allocations: 19.42 kB / 1.363 GB, free: 14.8 MB / 1.061 GB Notification: Performance of SimCode: time 3.4e-07/0.4102, allocations: 0 / 1.363 GB, free: 14.8 MB / 1.061 GB Notification: Performance of Templates: time 0.00435/0.4146, allocations: 2.068 MB / 1.365 GB, free: 12.75 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: 11.42322059298749]