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.0008645/0.0008645, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001152/0.002017, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007116/0.0007116, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009392/0.001651, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9728/0.9728, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0917/1.064, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.437/2.437, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2345/2.671, allocations: 146 MB / 0.8176 GB, free: 3.82 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8189 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.957e-05, allocations: 6.25 kB / 0.8189 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001518/0.001538, allocations: 1.052 MB / 0.8199 GB, free: 1.465 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.002666, allocations: 1.314 MB / 0.8212 GB, free: 140 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.716e-05/0.002733, allocations: 4 kB / 0.8212 GB, free: 136 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.254e-05/0.002796, allocations: 19.73 kB / 0.8212 GB, free: 116 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.903e-05/0.002855, allocations: 27.73 kB / 0.8213 GB, free: 88 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.003156, allocations: 175.4 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.003351, allocations: 220 kB / 0.8216 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.003467, allocations: 62.33 kB / 0.8217 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.00366, allocations: 159.6 kB / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.003776, allocations: 67.83 kB / 0.8219 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.003805, allocations: 24 kB / 0.8219 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.874e-05/0.003884, allocations: 35.92 kB / 0.822 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.984e-05/0.003914, allocations: 31.88 kB / 0.822 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.715e-05/0.003961, allocations: 47.88 kB / 0.822 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.004158, allocations: 151.4 kB / 0.8222 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.275e-05/0.004171, allocations: 0 / 0.8222 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004171, allocations: 0 / 0.8222 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.004185, allocations: 0 / 0.8222 GB, free: 15.13 MB / 0.8073 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.0005679/0.004753, allocations: 429.5 kB / 0.8226 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.004782, allocations: 8.031 kB / 0.8226 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.004925, allocations: 114 kB / 0.8227 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.005072, allocations: 153.5 kB / 0.8229 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.005085, allocations: 16.31 kB / 0.8229 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.005108, allocations: 16.38 kB / 0.8229 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.00523, allocations: 102.9 kB / 0.823 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.005238, allocations: 192 / 0.823 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.00525, allocations: 12.12 kB / 0.823 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.005257, allocations: 7.984 kB / 0.823 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.578e-05/0.005303, allocations: 35.95 kB / 0.823 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.005646, allocations: 291.8 kB / 0.8233 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.005805, allocations: 78.45 kB / 0.8234 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/0.005831, allocations: 16.86 kB / 0.8234 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.00585, allocations: 4.125 kB / 0.8234 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.567e-05/0.005945, allocations: 83.3 kB / 0.8235 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.005947, allocations: 0 / 0.8235 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.000135/0.006082, allocations: 85.59 kB / 0.8236 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.00611, allocations: 55.34 kB / 0.8236 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.871e-05/0.006188, allocations: 157.2 kB / 0.8238 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.00621, allocations: 33.7 kB / 0.8238 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.006261, allocations: 120.4 kB / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.006282, allocations: 27.73 kB / 0.824 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.006333, allocations: 45.67 kB / 0.824 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.374e-05/0.006407, allocations: 326.8 kB / 0.8243 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.362e-05/0.00646, allocations: 53.69 kB / 0.8244 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.856e-05/0.006529, allocations: 118.8 kB / 0.8245 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.073e-05/0.00661, allocations: 94.55 kB / 0.8246 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.006612, allocations: 0 / 0.8246 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001492/0.006761, allocations: 177 kB / 0.8247 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.006794, allocations: 37.64 kB / 0.8248 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.0068, allocations: 4 kB / 0.8248 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.006815, allocations: 4 kB / 0.8248 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.029e-05/0.006875, allocations: 15.98 kB / 0.8248 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.006878, allocations: 4.094 kB / 0.8248 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.157e-05/0.00696, allocations: 35.92 kB / 0.8248 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.006972, allocations: 4 kB / 0.8248 GB, free: 12.17 MB / 0.8073 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 6.668e-05/0.007039, allocations: 117.8 kB / 0.8249 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.007053, allocations: 15.92 kB / 0.825 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.007079, allocations: 16.78 kB / 0.825 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.00708, allocations: 0 / 0.825 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.007082, allocations: 0 / 0.825 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.007086, allocations: 7.984 kB / 0.825 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.719e-05/0.007173, allocations: 113.7 kB / 0.8251 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.007174, allocations: 0 / 0.8251 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.007212, allocations: 15.98 kB / 0.8251 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.007222, allocations: 7.953 kB / 0.8251 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.007224, allocations: 0 / 0.8251 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.00723, allocations: 7.938 kB / 0.8251 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.007231, allocations: 0 / 0.8251 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007232, allocations: 0 / 0.8251 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.919e-05/0.007321, allocations: 101 kB / 0.8252 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.007337, allocations: 0 / 0.8252 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.549e-05/0.007362, allocations: 15.94 kB / 0.8252 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.007396, allocations: 11.97 kB / 0.8252 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.007402, allocations: 8 kB / 0.8253 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.625e-05/0.007429, allocations: 30.66 kB / 0.8253 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.007429, allocations: 0 / 0.8253 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001242/0.007553, allocations: 39.89 kB / 0.8253 GB, free: 11.62 MB / 0.8073 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.000119/0.007672, allocations: 88.39 kB / 0.8254 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001607/0.007833, allocations: 162.6 kB / 0.8256 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.007839, allocations: 8.094 kB / 0.8256 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.379e-05/0.007883, allocations: 33.11 kB / 0.8256 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.00806, allocations: 206.4 kB / 0.8258 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007272/0.008787, allocations: 268.9 kB / 0.8261 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.659e-05/0.008824, allocations: 82.91 kB / 0.8261 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.87e-05/0.008863, allocations: 16.95 kB / 0.8261 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.623e-05/0.008959, allocations: 79.34 kB / 0.8262 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.008959, allocations: 0 / 0.8262 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of Templates: time 0.003789/0.01275, allocations: 2.411 MB / 0.8286 GB, free: 8.234 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.157186838798225]