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.001367/0.001367, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001472/0.001472, allocations: 217.2 kB / 23.01 MB, free: 4.566 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.606/1.606, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.26/3.26, allocations: 0.505 GB / 0.8108 GB, free: 22.06 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.003308/0.003308, allocations: 68.48 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.38, allocations: 180.2 MB / 1.354 GB, free: 7.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.003603/0.3836, allocations: 2.368 MB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.3852, allocations: 0.9194 MB / 1.357 GB, free: 4.656 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.3854, allocations: 11.94 kB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001914/0.3856, allocations: 55.34 kB / 1.357 GB, free: 4.59 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.3857, allocations: 67.44 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.3867, allocations: 449.6 kB / 1.358 GB, free: 4.094 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006529/0.3874, allocations: 0.621 MB / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.3877, allocations: 187.1 kB / 1.359 GB, free: 3.285 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.3879, allocations: 235.3 kB / 1.359 GB, free: 3.055 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.3882, allocations: 223 kB / 1.359 GB, free: 2.836 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.823e-05/0.3883, allocations: 68 kB / 1.359 GB, free: 2.77 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.3885, allocations: 87.98 kB / 1.359 GB, free: 2.684 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.432e-05/0.3885, allocations: 91.7 kB / 1.359 GB, free: 2.594 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.3888, allocations: 246.9 kB / 1.36 GB, free: 2.352 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007579/0.3895, allocations: 0.7317 MB / 1.36 GB, free: 1.617 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3895, allocations: 0 / 1.36 GB, free: 1.617 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3895, allocations: 0 / 1.36 GB, free: 1.617 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.3896, allocations: 4 kB / 1.36 GB, free: 1.613 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.001083/0.3906, allocations: 0.6957 MB / 1.361 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3907, allocations: 16.03 kB / 1.361 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.3908, allocations: 52.66 kB / 1.361 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/0.3913, allocations: 301.5 kB / 1.361 GB, free: 488 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.3914, allocations: 33.03 kB / 1.361 GB, free: 456 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.095e-05/0.3914, allocations: 40.38 kB / 1.361 GB, free: 416 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/0.3919, allocations: 286.5 kB / 1.362 GB, free: 120 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3919, allocations: 192 / 1.362 GB, free: 120 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.3919, allocations: 19.94 kB / 1.362 GB, free: 100 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.3919, allocations: 8 kB / 1.362 GB, free: 92 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.3923, allocations: 194.6 kB / 1.362 GB, free: 15.9 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.3939, allocations: 0.9913 MB / 1.363 GB, free: 14.87 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/0.3943, allocations: 214.8 kB / 1.363 GB, free: 14.65 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.3946, allocations: 100.8 kB / 1.363 GB, free: 14.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.3946, allocations: 8 kB / 1.363 GB, free: 14.54 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003893/0.395, allocations: 203.1 kB / 1.363 GB, free: 14.33 MB / 1.061 GB Notification: Performance of pre-optimization done (n=36): time 1.562e-06/0.395, allocations: 0 / 1.363 GB, free: 14.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=36): time 0.0006844/0.3957, allocations: 382.6 kB / 1.364 GB, free: 13.95 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.3957, allocations: 59.39 kB / 1.364 GB, free: 13.88 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.396, allocations: 265.8 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.044e-05/0.3961, allocations: 45.7 kB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.3963, allocations: 192.9 kB / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.3964, allocations: 91.27 kB / 1.364 GB, free: 13.28 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/0.3965, allocations: 114 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3967, allocations: 338.8 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/0.397, allocations: 160.7 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003765/0.3974, allocations: 237.9 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005436/0.3979, allocations: 376.5 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3979, allocations: 0 / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009904/0.3989, allocations: 0.5841 MB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.515e-05/0.399, allocations: 102.8 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.399, allocations: 0 / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.3991, allocations: 7.938 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.3992, allocations: 36.14 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.3992, allocations: 4 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005406/0.3997, allocations: 107.6 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.344e-05/0.3998, allocations: 27.98 kB / 1.366 GB, free: 11.09 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.0002294/0.4, allocations: 192.3 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.4001, allocations: 27.81 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005085/0.4006, allocations: 304.4 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.4006, allocations: 7.938 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4006, allocations: 0 / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4006, allocations: 3.984 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.4018, allocations: 0.788 MB / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4018, allocations: 3.984 kB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.645e-05/0.4019, allocations: 23.88 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.4019, allocations: 4 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.4019, allocations: 11.98 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.4019, allocations: 0 / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4019, allocations: 0 / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.4024, allocations: 410 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.4025, allocations: 55.78 kB / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.4026, allocations: 4 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.4027, allocations: 11.98 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.4028, allocations: 27.95 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.4029, allocations: 19.98 kB / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000184/0.403, allocations: 177.2 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.403, allocations: 0 / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004117/0.4035, allocations: 103.8 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 26 (tunEnd.u,tunMan.greThr1.y,tunSta.u,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,tunMan.samAddtOntOff.y,tunMan.tInc.y,tunMan.tDec.y,tunMan.edgTunSta.u,tunMan.edgTunEnd.u,tOnSig1.booPul.y,tOnSig2.booPul.y,tOff.booPul.y,tunSta.y,tunEnd.y,tunSta.clr,tunEnd.clr) * Number of discrete states: 2 (tunMan.edgTunSta.u,tunMan.edgTunEnd.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002046/0.4037, allocations: 128.8 kB / 1.369 GB, free: 8.707 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007461/0.4044, allocations: 0.4977 MB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4044, allocations: 0 / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.4046, allocations: 131.8 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.4051, allocations: 76.81 kB / 1.369 GB, free: 7.969 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.4063, allocations: 0.6025 MB / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/0.4068, allocations: 0.7878 MB / 1.371 GB, free: 6.508 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.294e-05/0.4068, allocations: 31.44 kB / 1.371 GB, free: 6.477 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.4068, allocations: 0 / 1.371 GB, free: 6.477 MB / 1.061 GB Notification: Performance of Templates: time 0.007804/0.4146, allocations: 4.75 MB / 1.375 GB, free: 1.762 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: 11.81916048398125]