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.00132/0.00132, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.001496/0.001496, allocations: 204 kB / 20.09 MB, free: 2.977 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.575/1.575, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.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 3.207/3.207, allocations: 0.505 GB / 0.8072 GB, free: 2.098 MB / 0.6387 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.002058/0.002058, allocations: 67.89 kB / 1.173 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.073, allocations: 180.2 MB / 1.349 GB, free: 5.277 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002382/1.075, allocations: 1.056 MB / 1.35 GB, free: 4.566 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001648/1.077, allocations: 1.296 MB / 1.351 GB, free: 3.617 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/1.077, allocations: 2.188 kB / 1.351 GB, free: 3.617 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001244/1.077, allocations: 19.84 kB / 1.351 GB, free: 3.602 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.805e-05/1.077, allocations: 20.91 kB / 1.351 GB, free: 3.586 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005207/1.078, allocations: 180.4 kB / 1.351 GB, free: 3.488 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002535/1.078, allocations: 222 kB / 1.352 GB, free: 3.383 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/1.078, allocations: 64.36 kB / 1.352 GB, free: 3.348 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/1.078, allocations: 104.9 kB / 1.352 GB, free: 3.293 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/1.079, allocations: 90.12 kB / 1.352 GB, free: 3.246 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/1.079, allocations: 23 kB / 1.352 GB, free: 3.246 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.222e-05/1.079, allocations: 43.44 kB / 1.352 GB, free: 3.238 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.63e-05/1.079, allocations: 39.09 kB / 1.352 GB, free: 3.211 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.645e-05/1.079, allocations: 90.78 kB / 1.352 GB, free: 3.152 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003264/1.079, allocations: 258.8 kB / 1.352 GB, free: 3.059 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/1.079, allocations: 3.938 kB / 1.352 GB, free: 3.055 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.81e-07/1.079, allocations: 1.062 kB / 1.352 GB, free: 3.055 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.48e-06/1.079, allocations: 0 / 1.352 GB, free: 3.055 MB / 1.045 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.0006448/1.08, allocations: 0.4906 MB / 1.353 GB, free: 2.594 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/1.08, allocations: 14.16 kB / 1.353 GB, free: 2.59 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/1.08, allocations: 31.61 kB / 1.353 GB, free: 2.578 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/1.08, allocations: 223 kB / 1.353 GB, free: 2.352 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/1.08, allocations: 17.03 kB / 1.353 GB, free: 2.344 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/1.08, allocations: 16.22 kB / 1.353 GB, free: 2.34 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/1.081, allocations: 140.3 kB / 1.353 GB, free: 2.262 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/1.081, allocations: 1.125 kB / 1.353 GB, free: 2.262 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/1.081, allocations: 5.094 kB / 1.353 GB, free: 2.258 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.081, allocations: 3.406 kB / 1.353 GB, free: 2.258 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/1.081, allocations: 85.5 kB / 1.353 GB, free: 2.23 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006998/1.081, allocations: 0.5169 MB / 1.354 GB, free: 1.844 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/1.082, allocations: 103.6 kB / 1.354 GB, free: 1.789 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.983e-05/1.082, allocations: 40.17 kB / 1.354 GB, free: 1.77 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/1.082, allocations: 2.094 kB / 1.354 GB, free: 1.77 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/1.082, allocations: 95.84 kB / 1.354 GB, free: 1.703 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/1.082, allocations: 0 / 1.354 GB, free: 1.703 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0003961/1.083, allocations: 155.9 kB / 1.354 GB, free: 1.629 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/1.083, allocations: 57.64 kB / 1.354 GB, free: 1.562 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/1.083, allocations: 180.8 kB / 1.354 GB, free: 1.43 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/1.083, allocations: 33.69 kB / 1.354 GB, free: 1.395 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/1.083, allocations: 118.1 kB / 1.355 GB, free: 1.289 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/1.083, allocations: 39.52 kB / 1.355 GB, free: 1.258 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.512e-05/1.083, allocations: 40.59 kB / 1.355 GB, free: 1.234 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 5.33e-05/1.083, allocations: 335.3 kB / 1.355 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/1.083, allocations: 55.98 kB / 1.355 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/1.083, allocations: 81.97 kB / 1.355 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/1.083, allocations: 130.6 kB / 1.355 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.083, allocations: 4.031 kB / 1.355 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004072/1.084, allocations: 218.3 kB / 1.355 GB, free: 0.625 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/1.084, allocations: 39.16 kB / 1.355 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.084, allocations: 0.5625 kB / 1.355 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/1.084, allocations: 2.75 kB / 1.355 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.553e-05/1.084, allocations: 13.64 kB / 1.355 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/1.084, allocations: 1.734 kB / 1.355 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/1.084, allocations: 45.69 kB / 1.356 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/1.084, allocations: 8.016 kB / 1.356 GB, free: 0.5781 MB / 1.045 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 9.269e-05/1.084, allocations: 135.5 kB / 1.356 GB, free: 456 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/1.084, allocations: 15.58 kB / 1.356 GB, free: 448 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.632e-05/1.084, allocations: 18.8 kB / 1.356 GB, free: 432 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/1.084, allocations: 1.375 kB / 1.356 GB, free: 432 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.084, allocations: 7.938 kB / 1.356 GB, free: 424 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.084, allocations: 5.984 kB / 1.356 GB, free: 420 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/1.085, allocations: 250.1 kB / 1.356 GB, free: 180 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.085, allocations: 0 / 1.356 GB, free: 180 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.111e-05/1.085, allocations: 14.53 kB / 1.356 GB, free: 180 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.085, allocations: 0.7969 kB / 1.356 GB, free: 180 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/1.085, allocations: 5.656 kB / 1.356 GB, free: 176 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/1.085, allocations: 1.922 kB / 1.356 GB, free: 176 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.085, allocations: 0 / 1.356 GB, free: 176 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/1.085, allocations: 151.6 kB / 1.356 GB, free: 72 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.306e-05/1.085, allocations: 90.09 kB / 1.356 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/1.085, allocations: 6.062 kB / 1.356 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/1.085, allocations: 7.484 kB / 1.356 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/1.085, allocations: 15.12 kB / 1.356 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/1.085, allocations: 3.375 kB / 1.356 GB, free: 15.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001321/1.085, allocations: 135.6 kB / 1.356 GB, free: 15.87 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.085, allocations: 3.938 kB / 1.356 GB, free: 15.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002721/1.086, allocations: 45.78 kB / 1.356 GB, free: 15.85 MB / 1.061 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.0001898/1.086, allocations: 110 kB / 1.356 GB, free: 15.75 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003863/1.086, allocations: 170.8 kB / 1.357 GB, free: 15.65 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.086, allocations: 0.8438 kB / 1.357 GB, free: 15.65 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/1.086, allocations: 47.28 kB / 1.357 GB, free: 15.64 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/1.087, allocations: 30.3 kB / 1.357 GB, free: 15.62 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005854/1.087, allocations: 296.4 kB / 1.357 GB, free: 15.4 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/1.088, allocations: 0.7172 MB / 1.358 GB, free: 14.7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.64e-05/1.088, allocations: 20.92 kB / 1.358 GB, free: 14.69 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/1.088, allocations: 1.375 kB / 1.358 GB, free: 14.69 MB / 1.061 GB Notification: Performance of Templates: time 0.004728/1.092, allocations: 2.062 MB / 1.36 GB, free: 14.5 MB / 1.061 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 -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: 12.294563117990037]