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.001337/0.001337, allocations: 80.3 kB / 21.47 MB, free: 3.027 MB / 18.57 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.001495/0.001495, allocations: 168.4 kB / 24.86 MB, free: 9.27 MB / 18.57 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 0.943/0.943, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.977/1.977, allocations: 377.9 MB / 0.6247 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.006e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.003675/0.003695, allocations: 2.267 MB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.005573, allocations: 0.9257 MB / 0.8159 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/0.005835, allocations: 11.94 kB / 0.8159 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.006028, allocations: 51.34 kB / 0.816 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.006215, allocations: 68.77 kB / 0.816 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.007256, allocations: 436.5 kB / 0.8165 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007486/0.008005, allocations: 0.6325 MB / 0.8171 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003399/0.008344, allocations: 171.7 kB / 0.8172 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004166/0.008761, allocations: 343.4 kB / 0.8176 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.009031, allocations: 164.8 kB / 0.8177 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.377e-05/0.009125, allocations: 68 kB / 0.8178 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.00926, allocations: 79.97 kB / 0.8179 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.177e-05/0.009341, allocations: 88.2 kB / 0.8179 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.009526, allocations: 175.6 kB / 0.8181 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005437/0.01007, allocations: 444.5 kB / 0.8185 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.01007, allocations: 0 / 0.8185 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.122e-06/0.01007, allocations: 0 / 0.8185 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.585e-06/0.01008, allocations: 0 / 0.8185 GB, free: 11.53 MB / 0.7761 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.00101/0.01109, allocations: 0.7995 MB / 0.8193 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.01113, allocations: 8.031 kB / 0.8193 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.01127, allocations: 88.64 kB / 0.8194 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.01172, allocations: 304 kB / 0.8197 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.01176, allocations: 33.55 kB / 0.8197 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/0.01183, allocations: 44.38 kB / 0.8198 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.01214, allocations: 208 kB / 0.82 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.01216, allocations: 192 / 0.82 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.01218, allocations: 12.91 kB / 0.82 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.01219, allocations: 5.844 kB / 0.82 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.01236, allocations: 100.4 kB / 0.8201 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.01351, allocations: 0.7908 MB / 0.8209 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.01381, allocations: 151.5 kB / 0.821 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.01393, allocations: 68.48 kB / 0.8211 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.01395, allocations: 4 kB / 0.8211 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.01418, allocations: 171.8 kB / 0.8212 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.01418, allocations: 1.188 kB / 0.8212 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33): time 0.0004766/0.01466, allocations: 277 kB / 0.8215 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.0147, allocations: 63.39 kB / 0.8216 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.01492, allocations: 300.9 kB / 0.8218 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.985e-05/0.01497, allocations: 41.7 kB / 0.8219 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.01514, allocations: 245 kB / 0.8221 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.972e-05/0.0152, allocations: 83.31 kB / 0.8222 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.01539, allocations: 127.6 kB / 0.8223 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.01556, allocations: 0.5117 MB / 0.8228 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.01578, allocations: 174.9 kB / 0.823 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.01605, allocations: 279.2 kB / 0.8233 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.01638, allocations: 312 kB / 0.8236 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.01638, allocations: 0 / 0.8236 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007279/0.01711, allocations: 0.5582 MB / 0.8241 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.949e-05/0.01718, allocations: 101 kB / 0.8242 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.01719, allocations: 5.531 kB / 0.8242 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.0172, allocations: 4 kB / 0.8242 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.01731, allocations: 31.92 kB / 0.8242 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.01732, allocations: 7.984 kB / 0.8242 GB, free: 5.297 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.01764, allocations: 77.73 kB / 0.8243 GB, free: 5.223 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.796e-05/0.01769, allocations: 27.92 kB / 0.8243 GB, free: 5.195 MB / 0.7761 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.0001588/0.01785, allocations: 196.5 kB / 0.8245 GB, free: 4.992 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.0179, allocations: 40.5 kB / 0.8246 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003436/0.01825, allocations: 236.7 kB / 0.8248 GB, free: 4.715 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.01825, allocations: 7.188 kB / 0.8248 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01825, allocations: 0 / 0.8248 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.01826, allocations: 3.984 kB / 0.8248 GB, free: 4.707 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007195/0.01898, allocations: 0.58 MB / 0.8254 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01898, allocations: 0 / 0.8254 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.028e-05/0.01906, allocations: 27.92 kB / 0.8254 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01906, allocations: 0 / 0.8254 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.01908, allocations: 14.39 kB / 0.8254 GB, free: 4.055 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.01909, allocations: 4 kB / 0.8254 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.01909, allocations: 3.938 kB / 0.8254 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.01946, allocations: 393 kB / 0.8258 GB, free: 3.641 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.534e-05/0.01954, allocations: 47.72 kB / 0.8258 GB, free: 3.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.01957, allocations: 8 kB / 0.8258 GB, free: 3.586 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.01968, allocations: 8.953 kB / 0.8259 GB, free: 3.578 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.01975, allocations: 31.89 kB / 0.8259 GB, free: 3.547 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.01977, allocations: 8 kB / 0.8259 GB, free: 3.539 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001229/0.01989, allocations: 198.2 kB / 0.8261 GB, free: 3.348 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01989, allocations: 0 / 0.8261 GB, free: 3.348 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004289/0.02032, allocations: 99.78 kB / 0.8262 GB, free: 3.25 MB / 0.7761 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.0001695/0.02049, allocations: 121.4 kB / 0.8263 GB, free: 3.121 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000543/0.02103, allocations: 492.5 kB / 0.8268 GB, free: 2.582 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.02104, allocations: 4 kB / 0.8268 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.02117, allocations: 91.5 kB / 0.8269 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.02163, allocations: 73.05 kB / 0.8269 GB, free: 2.418 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008616/0.02249, allocations: 0.5337 MB / 0.8274 GB, free: 1.852 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.074e-05/0.02257, allocations: 101.3 kB / 0.8275 GB, free: 1.73 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.02268, allocations: 35.72 kB / 0.8276 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/0.02298, allocations: 162.1 kB / 0.8277 GB, free: 1.539 MB / 0.7761 GB Notification: Performance of SimCode: time 9.42e-07/0.02298, allocations: 4 kB / 0.8277 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of Templates: time 0.01094/0.03393, allocations: 5.927 MB / 0.8335 GB, free: 11.78 MB / 0.7917 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.523415052797645]