Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001782/0.001782, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.002484/0.002484, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.549/1.549, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.34/3.34, allocations: 0.4899 GB / 0.7915 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002108/0.002108, allocations: 70.05 kB / 1.149 GB, free: 26.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.468/0.4701, allocations: 176.1 MB / 1.321 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.004783/0.4749, allocations: 2.36 MB / 1.324 GB, free: 476 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002199/0.4771, allocations: 0.9272 MB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004275/0.4775, allocations: 11.94 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.4778, allocations: 59.33 kB / 1.325 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003575/0.4781, allocations: 55.45 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.4795, allocations: 455.6 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008453/0.4804, allocations: 0.621 MB / 1.326 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000378/0.4808, allocations: 186.6 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002647/0.481, allocations: 231.4 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.4813, allocations: 227 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.604e-05/0.4814, allocations: 71.94 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.4816, allocations: 79.98 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.311e-05/0.4817, allocations: 87.75 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002632/0.4819, allocations: 250.9 kB / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008961/0.4828, allocations: 0.7317 MB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4828, allocations: 0 / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4829, allocations: 4 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.4829, allocations: 0 / 1.327 GB, free: 12.49 MB / 1.029 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.001229/0.4841, allocations: 0.777 MB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.4841, allocations: 8.031 kB / 1.328 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.4843, allocations: 52.66 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005508/0.4848, allocations: 363.3 kB / 1.329 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.963e-05/0.4848, allocations: 29.03 kB / 1.329 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.813e-05/0.4849, allocations: 44.38 kB / 1.329 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.4855, allocations: 282.6 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4855, allocations: 192 / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/0.4855, allocations: 19.92 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.4855, allocations: 8 kB / 1.329 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003835/0.4859, allocations: 190.5 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.4876, allocations: 1.018 MB / 1.33 GB, free: 9.555 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000546/0.4881, allocations: 212.8 kB / 1.33 GB, free: 9.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.4884, allocations: 104.8 kB / 1.33 GB, free: 9.234 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.4884, allocations: 11.92 kB / 1.33 GB, free: 9.223 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004194/0.4888, allocations: 189.5 kB / 1.331 GB, free: 9.023 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.4888, allocations: 0 / 1.331 GB, free: 9.023 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.0008085/0.4896, allocations: 383.7 kB / 1.331 GB, free: 8.645 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.4897, allocations: 63.34 kB / 1.331 GB, free: 8.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/0.4902, allocations: 262.5 kB / 1.331 GB, free: 8.301 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/0.4902, allocations: 45.69 kB / 1.331 GB, free: 8.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/0.4905, allocations: 200.9 kB / 1.332 GB, free: 8.051 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.677e-05/0.4906, allocations: 87.31 kB / 1.332 GB, free: 7.965 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/0.4909, allocations: 102 kB / 1.332 GB, free: 7.855 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002028/0.4911, allocations: 338.8 kB / 1.332 GB, free: 7.516 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.4914, allocations: 160.6 kB / 1.332 GB, free: 7.355 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.4918, allocations: 225 kB / 1.332 GB, free: 7.109 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005892/0.4924, allocations: 366.2 kB / 1.333 GB, free: 6.707 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.4924, allocations: 3.938 kB / 1.333 GB, free: 6.703 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001022/0.4935, allocations: 0.5642 MB / 1.333 GB, free: 6.113 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.4936, allocations: 105.1 kB / 1.333 GB, free: 5.992 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4936, allocations: 0 / 1.333 GB, free: 5.992 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.4936, allocations: 7.938 kB / 1.333 GB, free: 5.984 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.4937, allocations: 31.92 kB / 1.333 GB, free: 5.953 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.4937, allocations: 7.938 kB / 1.333 GB, free: 5.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.4943, allocations: 103.9 kB / 1.334 GB, free: 5.844 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/0.4944, allocations: 27.98 kB / 1.334 GB, free: 5.816 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 29 ($whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,tunEnd.y,tunSta.y,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,tunMan.triEnd,tunMan.triSta,$whenCondition1,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * 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.0002298/0.4946, allocations: 168.4 kB / 1.334 GB, free: 5.645 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.4947, allocations: 31.8 kB / 1.334 GB, free: 5.613 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005673/0.4952, allocations: 304.7 kB / 1.334 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.4952, allocations: 4 kB / 1.334 GB, free: 5.305 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.4952, allocations: 3.984 kB / 1.334 GB, free: 5.301 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.4952, allocations: 0 / 1.334 GB, free: 5.301 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.4964, allocations: 0.7719 MB / 1.335 GB, free: 4.473 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4964, allocations: 0 / 1.335 GB, free: 4.473 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.781e-05/0.4965, allocations: 23.98 kB / 1.335 GB, free: 4.449 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4965, allocations: 0 / 1.335 GB, free: 4.449 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.4965, allocations: 12 kB / 1.335 GB, free: 4.438 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.4966, allocations: 3.984 kB / 1.335 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4966, allocations: 0 / 1.335 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.4971, allocations: 396.7 kB / 1.335 GB, free: 4.031 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.4974, allocations: 124.8 kB / 1.335 GB, free: 3.891 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.212e-05/0.4974, allocations: 8 kB / 1.335 GB, free: 3.883 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.4975, allocations: 11.98 kB / 1.335 GB, free: 3.871 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.862e-05/0.4976, allocations: 31.97 kB / 1.335 GB, free: 3.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.4977, allocations: 23.91 kB / 1.335 GB, free: 3.816 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001972/0.4979, allocations: 182 kB / 1.336 GB, free: 3.633 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4979, allocations: 0 / 1.336 GB, free: 3.633 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004056/0.4983, allocations: 103.7 kB / 1.336 GB, free: 3.531 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 (tunMan.triEnd,tunMan.greThr1.y,tunMan.triSta,$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) * 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 (33): * Single equations (assignments): 27 * 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.0002342/0.4985, allocations: 123.5 kB / 1.336 GB, free: 3.402 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007942/0.4993, allocations: 493.9 kB / 1.336 GB, free: 2.883 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4993, allocations: 0 / 1.336 GB, free: 2.883 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.4995, allocations: 111.8 kB / 1.336 GB, free: 2.773 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005073/0.5, allocations: 74.72 kB / 1.336 GB, free: 2.703 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.5012, allocations: 0.5552 MB / 1.337 GB, free: 2.121 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006098/0.5019, allocations: 0.7879 MB / 1.338 GB, free: 1.301 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.502, allocations: 34.97 kB / 1.338 GB, free: 1.266 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.502, allocations: 35.38 kB / 1.338 GB, free: 1.234 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.502, allocations: 0 / 1.338 GB, free: 1.234 MB / 1.029 GB Notification: Performance of Templates: time 0.01142/0.5134, allocations: 5.005 MB / 1.343 GB, free: 12.32 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_TuningMonitor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.763159112073481]