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.00143/0.00143, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001513/0.001513, allocations: 208.8 kB / 22.24 MB, free: 4.859 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 8.008 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.501/3.501, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 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.002858/0.002858, allocations: 70.95 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4758/0.4786, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002535/0.4812, allocations: 0.9797 MB / 1.326 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.4831, allocations: 1.272 MB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.4833, allocations: 4 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.4834, allocations: 15.75 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.959e-05/0.4835, allocations: 19.8 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.484, allocations: 183.5 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.4843, allocations: 232 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.4845, allocations: 58.78 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.4847, allocations: 103.7 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.4849, allocations: 79.59 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.486e-05/0.4849, allocations: 24 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.535e-05/0.485, allocations: 39.98 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.4851, allocations: 31.91 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.4852, allocations: 75.66 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.4856, allocations: 263 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4856, allocations: 4 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4856, allocations: 0 / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.4856, allocations: 4 kB / 1.329 GB, free: 14.5 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.0008515/0.4864, allocations: 423.2 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.4865, allocations: 12.02 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.4867, allocations: 28.8 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.4869, allocations: 174.3 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.487, allocations: 12.38 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/0.487, allocations: 24.36 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.4873, allocations: 138 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.4873, allocations: 3.984 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.4873, allocations: 8 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.4873, allocations: 0 / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.4875, allocations: 87.95 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007159/0.4882, allocations: 408 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.4885, allocations: 98.61 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.4887, allocations: 40.84 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.4887, allocations: 4 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000263/0.4889, allocations: 91.48 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.489, allocations: 0 / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0004281/0.4894, allocations: 153.5 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.4894, allocations: 51.41 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.4896, allocations: 160.3 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.4896, allocations: 33.7 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.4897, allocations: 132.3 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.4898, allocations: 27.8 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.581e-05/0.4898, allocations: 41.7 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.49, allocations: 326.8 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.4902, allocations: 85.66 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.4904, allocations: 146.7 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.4907, allocations: 128.2 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4907, allocations: 4.031 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004386/0.4911, allocations: 252.8 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-05/0.4912, allocations: 37.69 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.4912, allocations: 0 / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.4912, allocations: 4 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.941e-05/0.4913, allocations: 23.92 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.4913, allocations: 0 / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.4915, allocations: 35.97 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.4915, allocations: 11.98 kB / 1.332 GB, free: 11.12 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.0001468/0.4917, allocations: 133.8 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.4917, allocations: 11.91 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.4918, allocations: 16.7 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4918, allocations: 0 / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.4918, allocations: 0 / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.4918, allocations: 0 / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.492, allocations: 169.1 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.492, allocations: 4 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.973e-05/0.4921, allocations: 19.92 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4921, allocations: 0 / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.4921, allocations: 0 / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.4921, allocations: 4 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4921, allocations: 0 / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.4923, allocations: 153.4 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.377e-05/0.4924, allocations: 15.88 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.4924, allocations: 7.984 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.509e-05/0.4925, allocations: 8 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.4925, allocations: 15.97 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.4925, allocations: 7.938 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001042/0.4926, allocations: 119.5 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4926, allocations: 0 / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002471/0.4929, allocations: 39.89 kB / 1.333 GB, free: 10.35 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.0001747/0.4931, allocations: 103.2 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004035/0.4935, allocations: 201 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4935, allocations: 128 / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.952e-05/0.4936, allocations: 43.98 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.4939, allocations: 27.92 kB / 1.333 GB, free: 9.953 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.4945, allocations: 276.8 kB / 1.333 GB, free: 9.656 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.4946, allocations: 102.8 kB / 1.333 GB, free: 9.535 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.006e-05/0.4946, allocations: 12.97 kB / 1.333 GB, free: 9.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.4947, allocations: 19.44 kB / 1.333 GB, free: 9.5 MB / 1.029 GB Notification: Performance of SimCode: time 6.81e-07/0.4947, allocations: 0 / 1.333 GB, free: 9.5 MB / 1.029 GB Notification: Performance of Templates: time 0.006666/0.5014, allocations: 2.26 MB / 1.336 GB, free: 7.289 MB / 1.029 GB " [Timeout remaining time 299] 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/jenkins/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.926787875592709]