Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001311/0.001311, allocations: 110.2 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.001519/0.001519, allocations: 213 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.239/3.239, allocations: 0.49 GB / 0.7958 GB, free: 33.22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002018/0.002018, allocations: 68.83 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2995, allocations: 176.1 MB / 1.327 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002347/0.3018, allocations: 1.055 MB / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.3036, allocations: 1.303 MB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.114e-05/0.3036, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.3038, allocations: 19.73 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.925e-05/0.3038, allocations: 27.73 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004902/0.3043, allocations: 176.6 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.3046, allocations: 224.1 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.3048, allocations: 68.88 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.3049, allocations: 95.7 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.3051, allocations: 95.53 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.3051, allocations: 20 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-05/0.3052, allocations: 47.92 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.3053, allocations: 35.89 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.801e-05/0.3054, allocations: 91.53 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.3057, allocations: 259 kB / 1.331 GB, free: 13.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3057, allocations: 4 kB / 1.331 GB, free: 13.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3057, allocations: 0 / 1.331 GB, free: 13.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3057, allocations: 0 / 1.331 GB, free: 13.98 MB / 1.029 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.0006918/0.3064, allocations: 423.2 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3064, allocations: 12.03 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.3066, allocations: 32.78 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.3068, allocations: 167 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.3068, allocations: 16.38 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.872e-05/0.3069, allocations: 16.38 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.3071, allocations: 138.1 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3072, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.3072, allocations: 4 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3072, allocations: 4 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.3074, allocations: 87.95 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007493/0.3081, allocations: 0.4991 MB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.3084, allocations: 98.61 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3085, allocations: 40.83 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.3085, allocations: 7.938 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.3088, allocations: 91.31 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.3088, allocations: 0 / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003767/0.3091, allocations: 157.7 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.3092, allocations: 51.41 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.3094, allocations: 194.9 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.3094, allocations: 29.7 kB / 1.333 GB, free: 11.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.46e-05/0.3095, allocations: 120.4 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.3095, allocations: 39.72 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.161e-05/0.3096, allocations: 41.69 kB / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3097, allocations: 330.8 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.3099, allocations: 51.97 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.31, allocations: 83.41 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.3103, allocations: 133.1 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3103, allocations: 3.938 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004018/0.3107, allocations: 222.4 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.3107, allocations: 37.7 kB / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.3107, allocations: 0 / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.3107, allocations: 0 / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.649e-05/0.3108, allocations: 15.98 kB / 1.334 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.3108, allocations: 8.062 kB / 1.334 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.311, allocations: 39.84 kB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.3111, allocations: 12 kB / 1.334 GB, free: 10.59 MB / 1.029 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.000123/0.3112, allocations: 133.7 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.3112, allocations: 15.91 kB / 1.334 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.3113, allocations: 17.41 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3113, allocations: 4 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3113, allocations: 0 / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3113, allocations: 0 / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.3115, allocations: 208.6 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3115, allocations: 4 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.992e-05/0.3116, allocations: 15.94 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3116, allocations: 4 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3116, allocations: 3.984 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3116, allocations: 0 / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3116, allocations: 0 / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.3118, allocations: 156.9 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.3119, allocations: 19.84 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.3119, allocations: 0 / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.152e-05/0.3119, allocations: 11.98 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.312, allocations: 15.97 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.312, allocations: 4 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001167/0.3121, allocations: 136.3 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3121, allocations: 4 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000236/0.3124, allocations: 39.89 kB / 1.334 GB, free: 9.734 MB / 1.029 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.000141/0.3125, allocations: 119.1 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.3128, allocations: 167.3 kB / 1.335 GB, free: 9.434 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3128, allocations: 0 / 1.335 GB, free: 9.434 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.3129, allocations: 43.92 kB / 1.335 GB, free: 9.391 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.3132, allocations: 33.14 kB / 1.335 GB, free: 9.359 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005165/0.3137, allocations: 294.4 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.3141, allocations: 0.7162 MB / 1.336 GB, free: 8.301 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.025e-05/0.3141, allocations: 23.42 kB / 1.336 GB, free: 8.277 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3141, allocations: 0 / 1.336 GB, free: 8.277 MB / 1.029 GB Notification: Performance of Templates: time 0.00389/0.318, allocations: 2.065 MB / 1.338 GB, free: 6.227 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.155390766012715]