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.001396/0.001396, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002031/0.002031, allocations: 210.4 kB / 22.99 MB, free: 4.957 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.58/1.58, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.307/3.307, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.002068/0.002068, allocations: 72.34 kB / 1.155 GB, free: 25.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4668/0.4689, allocations: 176.1 MB / 1.327 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002956/0.4718, allocations: 0.9693 MB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002712/0.4746, allocations: 1.28 MB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.4747, allocations: 4 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.4748, allocations: 15.8 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.4749, allocations: 27.73 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000581/0.4755, allocations: 184.3 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004814/0.476, allocations: 224 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.4762, allocations: 72.88 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.4764, allocations: 95.7 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.4766, allocations: 95.59 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.4767, allocations: 20 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.451e-05/0.4768, allocations: 39.98 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.969e-05/0.4768, allocations: 39.89 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.4769, allocations: 71.66 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.4773, allocations: 263 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4773, allocations: 3.938 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4773, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.4773, allocations: 0 / 1.33 GB, free: 13.45 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.001001/0.4783, allocations: 429 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.4784, allocations: 8.031 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002788/0.4787, allocations: 36.77 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.4789, allocations: 172.3 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.479, allocations: 16.31 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.479, allocations: 16.38 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.4794, allocations: 138.1 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.4794, allocations: 4 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.4794, allocations: 4 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.4794, allocations: 4 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/0.4797, allocations: 87.89 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007528/0.4804, allocations: 408 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.4808, allocations: 106.5 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.4809, allocations: 36.97 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.4809, allocations: 4 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002887/0.4812, allocations: 95.36 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.914e-06/0.4812, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0004275/0.4816, allocations: 153.7 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.4817, allocations: 59.39 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.482, allocations: 148.5 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/0.482, allocations: 33.7 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/0.4822, allocations: 132.3 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.4823, allocations: 27.8 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.575e-05/0.4824, allocations: 41.7 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002916/0.4827, allocations: 326.8 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.4829, allocations: 85.67 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.4831, allocations: 142.7 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.4833, allocations: 136.2 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4833, allocations: 0 / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006022/0.4839, allocations: 248.9 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.582e-05/0.484, allocations: 37.69 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.484, allocations: 8.094 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.484, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.4841, allocations: 15.94 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.4841, allocations: 0 / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.4844, allocations: 35.95 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.4844, allocations: 15.92 kB / 1.333 GB, free: 10.06 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.000162/0.4845, allocations: 133.7 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.4846, allocations: 15.91 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.238e-05/0.4846, allocations: 16.72 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4846, allocations: 0 / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4846, allocations: 0 / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.4846, allocations: 3.984 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.4848, allocations: 157.2 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4848, allocations: 0 / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.975e-05/0.4849, allocations: 19.92 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.4849, allocations: 0 / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.4849, allocations: 8 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4849, allocations: 0 / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4849, allocations: 4 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.4852, allocations: 148.9 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.4853, allocations: 15.88 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.4853, allocations: 8 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.4854, allocations: 11.98 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/0.4854, allocations: 15.97 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.4854, allocations: 4 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.875e-05/0.4855, allocations: 113.7 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4855, allocations: 0 / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002658/0.4858, allocations: 39.89 kB / 1.334 GB, free: 9.297 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.0002211/0.486, allocations: 111.2 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004193/0.4864, allocations: 201 kB / 1.334 GB, free: 8.965 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4864, allocations: 0 / 1.334 GB, free: 8.965 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.4866, allocations: 40.86 kB / 1.334 GB, free: 8.926 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.4869, allocations: 29.77 kB / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007557/0.4876, allocations: 285 kB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.4877, allocations: 102.8 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.515e-05/0.4878, allocations: 12.97 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.4878, allocations: 15.44 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of SimCode: time 4.6e-07/0.4878, allocations: 0 / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of Templates: time 0.00706/0.4949, allocations: 2.291 MB / 1.337 GB, free: 6.199 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 -s cvode -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.511513260003994]