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.001615/0.001615, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001983/0.001983, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.576/1.576, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.439/3.439, allocations: 0.49 GB / 0.7959 GB, free: 35.34 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.001992/0.001992, allocations: 65.25 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.4002, allocations: 176.1 MB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.00364/0.4038, allocations: 0.9615 MB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00252/0.4063, allocations: 1.287 MB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.4065, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.4067, allocations: 19.73 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.4068, allocations: 19.81 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009728/0.4078, allocations: 191.3 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005764/0.4084, allocations: 228 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.4087, allocations: 68.89 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.4089, allocations: 99.69 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.4091, allocations: 87.66 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.4092, allocations: 23.94 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.4093, allocations: 43.97 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.516e-05/0.4093, allocations: 27.92 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.4095, allocations: 79.64 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004276/0.4099, allocations: 263 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4099, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4099, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.4099, allocations: 4 kB / 1.33 GB, free: 13.64 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.0008126/0.4107, allocations: 427.2 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.4107, allocations: 8.031 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.411, allocations: 32.78 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.4112, allocations: 168.3 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.4113, allocations: 12.38 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.4113, allocations: 16.38 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.4116, allocations: 138 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.4116, allocations: 8 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.4116, allocations: 7.984 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.4116, allocations: 4 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.4118, allocations: 83.95 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008209/0.4127, allocations: 411.9 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.413, allocations: 102.5 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.4132, allocations: 44.95 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.4132, allocations: 4 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003221/0.4135, allocations: 87.56 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.4135, allocations: 0 / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0004715/0.414, allocations: 157.5 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.4141, allocations: 55.41 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.4143, allocations: 152.9 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.384e-05/0.4143, allocations: 33.7 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.4145, allocations: 136.3 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.4145, allocations: 27.81 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.4146, allocations: 45.69 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.4148, allocations: 330.7 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.415, allocations: 81.67 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.4152, allocations: 142.7 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.4154, allocations: 140.1 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4155, allocations: 0 / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004432/0.4159, allocations: 252.9 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/0.4159, allocations: 33.7 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.4159, allocations: 4 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.416, allocations: 0 / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.592e-05/0.4161, allocations: 19.92 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4161, allocations: 0 / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.4163, allocations: 35.95 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.4163, allocations: 8.062 kB / 1.333 GB, free: 10.25 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.0001328/0.4164, allocations: 133.8 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.4165, allocations: 11.91 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.4165, allocations: 20.7 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.4165, allocations: 0 / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4165, allocations: 0 / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4165, allocations: 0 / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.4167, allocations: 169.1 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4167, allocations: 0 / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.655e-05/0.4168, allocations: 15.94 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4168, allocations: 4 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.4168, allocations: 11.98 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4168, allocations: 0 / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4168, allocations: 0 / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.4171, allocations: 148.9 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/0.4171, allocations: 7.891 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.4171, allocations: 8 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.4172, allocations: 7.984 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.4173, allocations: 7.984 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.4173, allocations: 11.98 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.246e-05/0.4174, allocations: 120.2 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4174, allocations: 0 / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002485/0.4176, allocations: 39.89 kB / 1.334 GB, free: 9.488 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.0001704/0.4178, allocations: 107.2 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004238/0.4182, allocations: 197 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4182, allocations: 0 / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.4183, allocations: 40.86 kB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.4186, allocations: 41.69 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005704/0.4192, allocations: 275.1 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.4193, allocations: 110.8 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.857e-05/0.4194, allocations: 8.969 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.753e-05/0.4194, allocations: 19.42 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/0.4194, allocations: 0 / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of Templates: time 0.006099/0.4255, allocations: 2.293 MB / 1.337 GB, free: 6.387 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 -s gbode -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: 9.651238685008138]