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.001511/0.001511, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001397/0.001397, allocations: 212.2 kB / 22.99 MB, free: 4.957 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.154/3.154, allocations: 0.505 GB / 0.8108 GB, free: 23.49 MB / 0.6231 GB " [Timeout remaining time 177] 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.001915/0.001915, allocations: 66.39 kB / 1.178 GB, free: 16.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3816, allocations: 180.2 MB / 1.354 GB, free: 7.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002325/0.384, allocations: 0.9726 MB / 1.355 GB, free: 6.441 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001831/0.3858, allocations: 1.276 MB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.3859, allocations: 4 kB / 1.356 GB, free: 5.148 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.386, allocations: 23.73 kB / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.967e-05/0.3861, allocations: 23.78 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005461/0.3867, allocations: 182.5 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.3869, allocations: 228.1 kB / 1.357 GB, free: 4.699 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.3871, allocations: 56.91 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.3873, allocations: 103.7 kB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.3875, allocations: 87.59 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.033e-05/0.3875, allocations: 24 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.059e-05/0.3876, allocations: 39.98 kB / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.285e-05/0.3876, allocations: 31.92 kB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.3878, allocations: 87.56 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.3881, allocations: 255.1 kB / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3881, allocations: 0 / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3881, allocations: 3.938 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.3881, allocations: 3.938 kB / 1.357 GB, free: 4.016 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.0008648/0.389, allocations: 431.2 kB / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.389, allocations: 15.97 kB / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002785/0.3893, allocations: 28.83 kB / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.3895, allocations: 162.5 kB / 1.358 GB, free: 3.332 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.3895, allocations: 12.38 kB / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.3896, allocations: 24.31 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.3899, allocations: 137.5 kB / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3899, allocations: 0 / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.3899, allocations: 8 kB / 1.358 GB, free: 3.148 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.3899, allocations: 0 / 1.358 GB, free: 3.148 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.3901, allocations: 87.95 kB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007604/0.3909, allocations: 403.9 kB / 1.359 GB, free: 2.637 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.3913, allocations: 102.7 kB / 1.359 GB, free: 2.527 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.3914, allocations: 44.83 kB / 1.359 GB, free: 2.48 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.3914, allocations: 0 / 1.359 GB, free: 2.48 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002641/0.3917, allocations: 103.5 kB / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.3917, allocations: 0 / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0004213/0.3921, allocations: 153.5 kB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.3922, allocations: 51.41 kB / 1.359 GB, free: 2.148 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.3923, allocations: 156.7 kB / 1.359 GB, free: 1.984 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.3924, allocations: 33.7 kB / 1.359 GB, free: 1.945 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3925, allocations: 132.3 kB / 1.359 GB, free: 1.812 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.3925, allocations: 27.8 kB / 1.359 GB, free: 1.785 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-05/0.3926, allocations: 41.7 kB / 1.359 GB, free: 1.738 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3928, allocations: 326.8 kB / 1.36 GB, free: 1.41 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.3929, allocations: 85.61 kB / 1.36 GB, free: 1.32 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.3931, allocations: 146.7 kB / 1.36 GB, free: 1.152 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.3934, allocations: 132.3 kB / 1.36 GB, free: 1.008 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3934, allocations: 3.938 kB / 1.36 GB, free: 1.004 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004614/0.3938, allocations: 251.9 kB / 1.36 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/0.3939, allocations: 33.7 kB / 1.36 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3939, allocations: 0 / 1.36 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/0.3939, allocations: 4 kB / 1.36 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.716e-05/0.394, allocations: 19.98 kB / 1.36 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.394, allocations: 0 / 1.36 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.3943, allocations: 39.97 kB / 1.36 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.3943, allocations: 8 kB / 1.36 GB, free: 0.6328 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.000145/0.3944, allocations: 141.6 kB / 1.361 GB, free: 496 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.3945, allocations: 11.95 kB / 1.361 GB, free: 484 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.19e-05/0.3945, allocations: 8.719 kB / 1.361 GB, free: 476 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.3945, allocations: 4 kB / 1.361 GB, free: 472 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3945, allocations: 3.938 kB / 1.361 GB, free: 468 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3945, allocations: 0 / 1.361 GB, free: 468 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.3947, allocations: 173.1 kB / 1.361 GB, free: 264 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3947, allocations: 4 kB / 1.361 GB, free: 260 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.405e-05/0.3948, allocations: 15.98 kB / 1.361 GB, free: 244 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3948, allocations: 0 / 1.361 GB, free: 244 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.3948, allocations: 0 / 1.361 GB, free: 244 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3948, allocations: 0 / 1.361 GB, free: 244 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3948, allocations: 4 kB / 1.361 GB, free: 240 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.3951, allocations: 152.9 kB / 1.361 GB, free: 68 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.3951, allocations: 11.89 kB / 1.361 GB, free: 56 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.3951, allocations: 4 kB / 1.361 GB, free: 52 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.3952, allocations: 15.98 kB / 1.361 GB, free: 36 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.3952, allocations: 11.97 kB / 1.361 GB, free: 24 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.3952, allocations: 0 / 1.361 GB, free: 24 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000103/0.3954, allocations: 117.1 kB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3954, allocations: 4 kB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002388/0.3956, allocations: 39.89 kB / 1.361 GB, free: 15.87 MB / 1.061 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.0001541/0.3957, allocations: 99.25 kB / 1.361 GB, free: 15.76 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000389/0.3961, allocations: 197.7 kB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3961, allocations: 4.062 kB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.3963, allocations: 52.06 kB / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.3965, allocations: 37.48 kB / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005504/0.3971, allocations: 273 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.3972, allocations: 102.8 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.824e-05/0.3972, allocations: 12.97 kB / 1.362 GB, free: 15.03 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.3973, allocations: 15.44 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of SimCode: time 2.61e-07/0.3973, allocations: 0 / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of Templates: time 0.005748/0.403, allocations: 2.298 MB / 1.364 GB, free: 12.77 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 -s gbode -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: 8.518209942005342]