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.001423/0.001423, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001687/0.001687, allocations: 210.9 kB / 23 MB, free: 4.969 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.314/3.314, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.002074/0.002074, allocations: 65.67 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4466, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.00369/0.4503, allocations: 0.9756 MB / 1.328 GB, free: 40 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003146/0.4535, allocations: 1.272 MB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.4536, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.4538, allocations: 23.73 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.557e-05/0.4539, allocations: 27.78 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006656/0.4545, allocations: 179.4 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.4549, allocations: 228.1 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.4551, allocations: 64.89 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.4554, allocations: 103.6 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.4555, allocations: 91.66 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.4556, allocations: 20 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.755e-05/0.4557, allocations: 39.98 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.4557, allocations: 39.84 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.4559, allocations: 79.64 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000417/0.4563, allocations: 263 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4563, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4563, allocations: 3.938 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.4563, allocations: 0 / 1.33 GB, free: 13.61 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.001083/0.4574, allocations: 423.2 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.4574, allocations: 8.031 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000248/0.4577, allocations: 32.78 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.458, allocations: 175.2 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.458, allocations: 8.375 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.094e-05/0.4581, allocations: 24.36 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.4584, allocations: 138 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4584, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.4585, allocations: 8 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.4585, allocations: 4 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.4587, allocations: 83.95 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008153/0.4595, allocations: 419.9 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.4598, allocations: 94.66 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.46, allocations: 40.84 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.46, allocations: 4 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003315/0.4603, allocations: 95.42 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.4603, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0004562/0.4608, allocations: 145.6 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.4608, allocations: 59.39 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.461, allocations: 156.7 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.164e-05/0.4611, allocations: 29.7 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.4612, allocations: 132.3 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.4613, allocations: 27.8 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.524e-05/0.4614, allocations: 41.7 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000222/0.4616, allocations: 330.8 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.4617, allocations: 77.67 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.462, allocations: 154.6 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.4623, allocations: 132.3 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.4623, allocations: 0 / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004901/0.4628, allocations: 251.5 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.873e-05/0.4628, allocations: 33.69 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4628, allocations: 0 / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.4628, allocations: 4 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.4629, allocations: 19.94 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.4629, allocations: 64 / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.4632, allocations: 39.95 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.4632, allocations: 7.984 kB / 1.333 GB, free: 10.23 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.000181/0.4634, allocations: 133.8 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.4634, allocations: 15.84 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.761e-05/0.4635, allocations: 16.72 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.4635, allocations: 3.984 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.4635, allocations: 0 / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.252e-05/0.4635, allocations: 15.89 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.4635, allocations: 4 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.4636, allocations: 15.92 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.4637, allocations: 7.984 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003635/0.464, allocations: 200.8 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003603/0.4644, allocations: 295.3 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.941e-05/0.4645, allocations: 43.97 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001475/0.4646, allocations: 117.3 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of Backend: time 5.21e-07/0.4646, allocations: 4 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006564/0.4653, allocations: 256.1 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009477/0.4662, allocations: 0.7094 MB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of Templates: time 0.007067/0.4733, allocations: 2.623 MB / 1.338 GB, free: 5.742 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: 9.608150991000002]