Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.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.001465/0.001465, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001783/0.001783, allocations: 211.7 kB / 23 MB, free: 4.934 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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.297/3.297, allocations: 0.505 GB / 0.8109 GB, free: 23.53 MB / 0.6231 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.BaseClasses.Validation.TuningMonitor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|tOff.y|tunSta.y|tunEnd.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|tOff.y|tunSta.y|tunEnd.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor") [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.002038/0.002038, allocations: 67.44 kB / 1.178 GB, free: 16.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3959, allocations: 180.2 MB / 1.354 GB, free: 7.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.004651/0.4006, allocations: 2.194 MB / 1.356 GB, free: 5.223 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.4025, allocations: 0.9039 MB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.4027, allocations: 11.94 kB / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.4029, allocations: 55.33 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.4031, allocations: 63.45 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.4041, allocations: 453.8 kB / 1.358 GB, free: 3.754 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006827/0.4048, allocations: 0.621 MB / 1.358 GB, free: 3.133 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003486/0.4051, allocations: 183.1 kB / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.4054, allocations: 231.3 kB / 1.359 GB, free: 2.723 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002851/0.4057, allocations: 231 kB / 1.359 GB, free: 2.496 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.341e-05/0.4057, allocations: 68 kB / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.4059, allocations: 79.98 kB / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.19e-05/0.406, allocations: 87.69 kB / 1.359 GB, free: 2.266 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.4062, allocations: 219.1 kB / 1.359 GB, free: 2.051 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008367/0.407, allocations: 0.7239 MB / 1.36 GB, free: 1.324 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.407, allocations: 3.938 kB / 1.36 GB, free: 1.32 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.934e-06/0.407, allocations: 0 / 1.36 GB, free: 1.32 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.4071, allocations: 3.938 kB / 1.36 GB, free: 1.316 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001218/0.4083, allocations: 0.7056 MB / 1.361 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4083, allocations: 8.031 kB / 1.361 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.4084, allocations: 52.66 kB / 1.361 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006164/0.4091, allocations: 301.4 kB / 1.361 GB, free: 180 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/0.4091, allocations: 33.03 kB / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.755e-05/0.4092, allocations: 48.36 kB / 1.361 GB, free: 100 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.4097, allocations: 270.6 kB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.4097, allocations: 192 / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.15e-05/0.4098, allocations: 19.94 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.4098, allocations: 8 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003497/0.4102, allocations: 190.5 kB / 1.362 GB, free: 15.61 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.4117, allocations: 0.8125 MB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004989/0.4122, allocations: 215.9 kB / 1.363 GB, free: 14.55 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.4124, allocations: 100.8 kB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.4124, allocations: 4 kB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003628/0.4128, allocations: 207.1 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=36): time 1.924e-06/0.4128, allocations: 0 / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=36): time 0.0007291/0.4135, allocations: 382.7 kB / 1.363 GB, free: 13.85 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.4136, allocations: 63.39 kB / 1.363 GB, free: 13.78 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.4138, allocations: 265.8 kB / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.147e-05/0.4139, allocations: 41.7 kB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.4141, allocations: 196.8 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.32e-05/0.4142, allocations: 87.33 kB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.4144, allocations: 122 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.4146, allocations: 338.8 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/0.415, allocations: 261.8 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/0.4154, allocations: 331 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005365/0.416, allocations: 376.5 kB / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.416, allocations: 4 kB / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001119/0.4171, allocations: 0.6751 MB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.525e-05/0.4172, allocations: 97.09 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.4172, allocations: 4 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.4172, allocations: 4 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.4174, allocations: 31.92 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/0.4174, allocations: 11.92 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005612/0.4179, allocations: 103.9 kB / 1.366 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.619e-05/0.418, allocations: 27.98 kB / 1.366 GB, free: 10.65 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,tunEnd.y,$PRE.tunEnd.y,tunEnd.clr,tunEnd.u,tunSta.y,$PRE.tunSta.y,tunSta.clr,tunSta.u,tOff.booPul.y,$PRE.tOff.booPul.y,tOnSig2.booPul.y,$PRE.tOnSig2.booPul.y,tOnSig1.booPul.y,$PRE.tOnSig1.booPul.y,tunMan.greThr1.y,tunMan.edgTunEnd.u,$PRE.tunMan.edgTunEnd.u,tunMan.edgTunSta.u,$PRE.tunMan.edgTunSta.u,tunMan.tDec.y,tunMan.tInc.y,tunMan.samAddtOntOff.y,$PRE.tunMan.samAddtOntOff.y,$whenCondition1,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 3 * 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.0002408/0.4182, allocations: 184.3 kB / 1.366 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.4183, allocations: 31.86 kB / 1.366 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005636/0.4189, allocations: 324.3 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.4189, allocations: 0 / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4189, allocations: 0 / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.419, allocations: 55.59 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.419, allocations: 12 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.4191, allocations: 11.98 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.4192, allocations: 23.95 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005615/0.4198, allocations: 376.6 kB / 1.367 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005971/0.4204, allocations: 474.7 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001927/0.4206, allocations: 103.9 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001836/0.4207, allocations: 173.2 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of Backend: time 4.61e-07/0.4207, allocations: 0 / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.4218, allocations: 0.5949 MB / 1.368 GB, free: 8.219 MB / 1.061 GB Notification: Performance of SimCode: time 0.001348/0.4232, allocations: 0.9783 MB / 1.369 GB, free: 7.188 MB / 1.061 GB Notification: Performance of Templates: time 0.01153/0.4347, allocations: 6.074 MB / 1.375 GB, free: 1.242 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_TuningMonitor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.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.54392282799381]