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.001443/0.001443, allocations: 84.59 kB / 19.76 MB, free: 2.023 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.001588/0.001588, allocations: 158.1 kB / 23.01 MB, free: 4.961 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.501/1.501, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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 2.921/2.921, allocations: 394.2 MB / 0.6386 GB, free: 11.98 MB / 0.6075 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.002082/0.002082, allocations: 71.89 kB / 1.009 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125/1.127, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002411/1.129, allocations: 0.9675 MB / 1.188 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001898/1.131, allocations: 1.279 MB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/1.131, allocations: 5.094 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/1.131, allocations: 16.53 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.266e-05/1.131, allocations: 21.23 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/1.132, allocations: 183.7 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002703/1.132, allocations: 225.2 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/1.132, allocations: 63.42 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/1.132, allocations: 105 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/1.133, allocations: 85.23 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/1.133, allocations: 22.72 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.582e-05/1.133, allocations: 38.39 kB / 1.19 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.376e-05/1.133, allocations: 38.06 kB / 1.19 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/1.133, allocations: 75.03 kB / 1.19 GB, free: 14.25 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003519/1.133, allocations: 261 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.133, allocations: 0.7031 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.174e-06/1.133, allocations: 0 / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.833e-06/1.133, allocations: 0 / 1.19 GB, free: 14.15 MB / 1.076 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.0006931/1.134, allocations: 426.2 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.134, allocations: 9.5 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/1.134, allocations: 28.77 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/1.134, allocations: 172 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/1.134, allocations: 11.53 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/1.134, allocations: 17.75 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/1.135, allocations: 132.6 kB / 1.191 GB, free: 13.54 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.135, allocations: 0 / 1.191 GB, free: 13.54 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/1.135, allocations: 5.859 kB / 1.191 GB, free: 13.53 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/1.135, allocations: 7.281 kB / 1.191 GB, free: 13.53 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/1.135, allocations: 89.92 kB / 1.191 GB, free: 13.5 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007065/1.136, allocations: 403.1 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/1.136, allocations: 98.77 kB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/1.136, allocations: 40.81 kB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/1.136, allocations: 2.469 kB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/1.136, allocations: 92.22 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/1.136, allocations: 0 / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0004215/1.137, allocations: 160 kB / 1.192 GB, free: 12.99 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/1.137, allocations: 52.78 kB / 1.192 GB, free: 12.93 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/1.137, allocations: 161.3 kB / 1.192 GB, free: 12.8 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/1.137, allocations: 28.45 kB / 1.192 GB, free: 12.77 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.939e-05/1.137, allocations: 128.3 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/1.137, allocations: 34.8 kB / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-05/1.137, allocations: 41.52 kB / 1.192 GB, free: 12.61 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.984e-05/1.137, allocations: 333.1 kB / 1.192 GB, free: 12.28 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/1.137, allocations: 84.73 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/1.138, allocations: 143.8 kB / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/1.138, allocations: 134.9 kB / 1.193 GB, free: 12.02 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.138, allocations: 0 / 1.193 GB, free: 12.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003943/1.138, allocations: 247 kB / 1.193 GB, free: 11.86 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/1.138, allocations: 39.48 kB / 1.193 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.138, allocations: 0.75 kB / 1.193 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/1.138, allocations: 1.469 kB / 1.193 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.195e-05/1.138, allocations: 18.67 kB / 1.193 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/1.138, allocations: 1.812 kB / 1.193 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/1.139, allocations: 41.36 kB / 1.193 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/1.139, allocations: 7.469 kB / 1.193 GB, free: 11.82 MB / 1.076 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.0001037/1.139, allocations: 136.4 kB / 1.193 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/1.139, allocations: 9.797 kB / 1.193 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.988e-05/1.139, allocations: 13.31 kB / 1.193 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/1.139, allocations: 0.9688 kB / 1.193 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/1.139, allocations: 5.688 kB / 1.193 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/1.139, allocations: 0.6562 kB / 1.193 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/1.139, allocations: 170.1 kB / 1.193 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.139, allocations: 0 / 1.193 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.075e-05/1.139, allocations: 14.52 kB / 1.193 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.139, allocations: 1.031 kB / 1.193 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/1.139, allocations: 6.344 kB / 1.193 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.139, allocations: 0 / 1.193 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.139, allocations: 5.562 kB / 1.193 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/1.139, allocations: 156.1 kB / 1.193 GB, free: 11.4 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/1.139, allocations: 15.58 kB / 1.193 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/1.139, allocations: 1.672 kB / 1.193 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.885e-05/1.139, allocations: 11.92 kB / 1.193 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/1.139, allocations: 10.83 kB / 1.193 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/1.139, allocations: 4.031 kB / 1.193 GB, free: 11.38 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.078e-05/1.14, allocations: 117.1 kB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.14, allocations: 5.125 kB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002778/1.14, allocations: 40.84 kB / 1.194 GB, free: 11.28 MB / 1.076 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.0001593/1.14, allocations: 104.1 kB / 1.194 GB, free: 11.19 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003824/1.14, allocations: 200 kB / 1.194 GB, free: 11.05 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.14, allocations: 1.094 kB / 1.194 GB, free: 11.05 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/1.141, allocations: 42.61 kB / 1.194 GB, free: 11.04 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/1.141, allocations: 41.06 kB / 1.194 GB, free: 11.02 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/1.141, allocations: 279.2 kB / 1.194 GB, free: 10.81 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/1.142, allocations: 101.2 kB / 1.194 GB, free: 10.74 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.074e-05/1.142, allocations: 19.56 kB / 1.194 GB, free: 10.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/1.142, allocations: 19.3 kB / 1.194 GB, free: 10.71 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/1.142, allocations: 0.9062 kB / 1.194 GB, free: 10.71 MB / 1.076 GB Notification: Performance of Templates: time 0.00684/1.148, allocations: 2.177 MB / 1.197 GB, free: 10.46 MB / 1.076 GB " [Timeout remaining time 299] 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 ida -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: 9.552252267021686]