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.001446/0.001446, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001488/0.001488, allocations: 215.2 kB / 22.25 MB, free: 4.855 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.809 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.553/3.553, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.002072/0.002072, allocations: 66.83 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4861/0.4882, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.004795/0.493, allocations: 2.21 MB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002379/0.4954, allocations: 0.9 MB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004213/0.4958, allocations: 11.94 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.4961, allocations: 55.41 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.4964, allocations: 63.44 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.4977, allocations: 442 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009617/0.4987, allocations: 0.6287 MB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004163/0.4991, allocations: 167.1 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.4995, allocations: 235.3 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004227/0.4999, allocations: 203.1 kB / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.5001, allocations: 64 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.5003, allocations: 80 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.5004, allocations: 95.62 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002814/0.5006, allocations: 203.2 kB / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009809/0.5016, allocations: 0.7356 MB / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.5016, allocations: 3.984 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.304e-06/0.5016, allocations: 0 / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.942e-05/0.5017, allocations: 0 / 1.37 GB, free: 7.48 MB / 1.061 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.001565/0.5032, allocations: 0.69 MB / 1.37 GB, free: 6.742 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.5033, allocations: 12.03 kB / 1.37 GB, free: 6.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.5034, allocations: 56.64 kB / 1.371 GB, free: 6.676 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006876/0.5041, allocations: 305.4 kB / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.193e-05/0.5042, allocations: 33.03 kB / 1.371 GB, free: 6.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.848e-05/0.5043, allocations: 40.38 kB / 1.371 GB, free: 6.281 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/0.5048, allocations: 278.6 kB / 1.371 GB, free: 6.004 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.5048, allocations: 3.938 kB / 1.371 GB, free: 6 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.5049, allocations: 19.98 kB / 1.371 GB, free: 5.98 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.5049, allocations: 8 kB / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003942/0.5053, allocations: 194.5 kB / 1.371 GB, free: 5.781 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.5071, allocations: 0.8048 MB / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006049/0.5077, allocations: 210.9 kB / 1.372 GB, free: 4.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.508, allocations: 104.8 kB / 1.372 GB, free: 4.625 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.508, allocations: 0 / 1.372 GB, free: 4.625 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004043/0.5084, allocations: 210.9 kB / 1.373 GB, free: 4.406 MB / 1.061 GB Notification: Performance of pre-optimization done (n=36): time 3.156e-06/0.5084, allocations: 0 / 1.373 GB, free: 4.406 MB / 1.061 GB Notification: Performance of matching and sorting (n=36): time 0.0008431/0.5093, allocations: 385.7 kB / 1.373 GB, free: 4.023 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.5094, allocations: 59.34 kB / 1.373 GB, free: 3.953 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.5097, allocations: 265.8 kB / 1.373 GB, free: 3.688 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.345e-05/0.5098, allocations: 45.7 kB / 1.373 GB, free: 3.637 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.51, allocations: 196.9 kB / 1.374 GB, free: 3.441 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.5101, allocations: 87.31 kB / 1.374 GB, free: 3.355 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.5104, allocations: 114 kB / 1.374 GB, free: 3.234 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.5106, allocations: 338.8 kB / 1.374 GB, free: 2.895 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004643/0.511, allocations: 257.8 kB / 1.374 GB, free: 2.625 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004848/0.5115, allocations: 335.2 kB / 1.375 GB, free: 2.254 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005506/0.5121, allocations: 372.5 kB / 1.375 GB, free: 1.848 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5121, allocations: 0 / 1.375 GB, free: 1.848 MB / 1.061 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00113/0.5132, allocations: 0.6828 MB / 1.376 GB, free: 1.121 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.5133, allocations: 101.1 kB / 1.376 GB, free: 1.004 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5133, allocations: 4.219 kB / 1.376 GB, free: 1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.5133, allocations: 11.94 kB / 1.376 GB, free: 0.9883 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.5135, allocations: 35.86 kB / 1.376 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.5135, allocations: 7.938 kB / 1.376 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005635/0.5141, allocations: 103.7 kB / 1.376 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.283e-05/0.5141, allocations: 27.98 kB / 1.376 GB, free: 0.8164 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.0002596/0.5144, allocations: 176.4 kB / 1.376 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.5144, allocations: 27.81 kB / 1.376 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005737/0.515, allocations: 312.3 kB / 1.376 GB, free: 304 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.515, allocations: 15.88 kB / 1.376 GB, free: 288 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.515, allocations: 0 / 1.376 GB, free: 288 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.515, allocations: 3.984 kB / 1.376 GB, free: 284 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.5163, allocations: 0.6912 MB / 1.377 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5163, allocations: 4 kB / 1.377 GB, free: 15.53 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.5164, allocations: 23.98 kB / 1.377 GB, free: 15.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.5164, allocations: 0 / 1.377 GB, free: 15.51 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.5165, allocations: 11.98 kB / 1.377 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.5165, allocations: 7.938 kB / 1.377 GB, free: 15.49 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5165, allocations: 0 / 1.377 GB, free: 15.49 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005747/0.517, allocations: 403.3 kB / 1.378 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.5172, allocations: 47.72 kB / 1.378 GB, free: 15.03 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.5172, allocations: 12.06 kB / 1.378 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.5173, allocations: 15.98 kB / 1.378 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.868e-05/0.5174, allocations: 23.95 kB / 1.378 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.5175, allocations: 16 kB / 1.378 GB, free: 14.96 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002086/0.5177, allocations: 173.2 kB / 1.378 GB, free: 14.79 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.5177, allocations: 3.938 kB / 1.378 GB, free: 14.79 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004607/0.5181, allocations: 107.7 kB / 1.378 GB, free: 14.68 MB / 1.076 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.0002079/0.5183, allocations: 128.9 kB / 1.378 GB, free: 14.55 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009584/0.5193, allocations: 0.5927 MB / 1.379 GB, free: 13.9 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5193, allocations: 0 / 1.379 GB, free: 13.9 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.5195, allocations: 115.8 kB / 1.379 GB, free: 13.79 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.5201, allocations: 82.75 kB / 1.379 GB, free: 13.71 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.5212, allocations: 0.5728 MB / 1.379 GB, free: 13.11 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.5214, allocations: 187.1 kB / 1.38 GB, free: 12.9 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00015/0.5216, allocations: 38.95 kB / 1.38 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.83e-05/0.5216, allocations: 31.38 kB / 1.38 GB, free: 12.83 MB / 1.076 GB Notification: Performance of SimCode: time 3.91e-07/0.5216, allocations: 0 / 1.38 GB, free: 12.83 MB / 1.076 GB Notification: Performance of Templates: time 0.01322/0.5349, allocations: 5.671 MB / 1.385 GB, free: 7.301 MB / 1.076 GB " [Timeout remaining time 299] 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/jenkins/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: 10.11301658116281]