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.001755/0.001755, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.002073/0.002073, allocations: 204 kB / 20.09 MB, free: 2.977 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.575/1.575, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.015/3.015, allocations: 0.505 GB / 0.8072 GB, free: 2.09 MB / 0.6387 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.002097/0.002097, allocations: 68.14 kB / 1.173 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9553/0.9574, allocations: 180.2 MB / 1.349 GB, free: 8.793 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.003779/0.9612, allocations: 2.361 MB / 1.351 GB, free: 6.922 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.9629, allocations: 0.9232 MB / 1.352 GB, free: 6.176 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.963, allocations: 11.53 kB / 1.352 GB, free: 6.172 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.9632, allocations: 52.48 kB / 1.352 GB, free: 6.121 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.9634, allocations: 63.52 kB / 1.352 GB, free: 6.066 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.9644, allocations: 440.9 kB / 1.353 GB, free: 5.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006531/0.965, allocations: 0.6248 MB / 1.353 GB, free: 5.359 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003215/0.9653, allocations: 179.5 kB / 1.353 GB, free: 5.223 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.9656, allocations: 234.4 kB / 1.354 GB, free: 5.074 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.9659, allocations: 224.6 kB / 1.354 GB, free: 4.898 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.477e-05/0.966, allocations: 66.56 kB / 1.354 GB, free: 4.898 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.9661, allocations: 82.52 kB / 1.354 GB, free: 4.891 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.439e-05/0.9662, allocations: 96.59 kB / 1.354 GB, free: 4.809 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.9664, allocations: 243 kB / 1.354 GB, free: 4.625 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007832/0.9672, allocations: 0.7291 MB / 1.355 GB, free: 4.027 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.9672, allocations: 0 / 1.355 GB, free: 4.027 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9672, allocations: 4 kB / 1.355 GB, free: 4.023 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.9672, allocations: 1.094 kB / 1.355 GB, free: 4.023 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.001168/0.9684, allocations: 0.7761 MB / 1.356 GB, free: 3.312 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.9684, allocations: 9.375 kB / 1.356 GB, free: 3.312 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.9685, allocations: 51.72 kB / 1.356 GB, free: 3.289 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005405/0.9691, allocations: 365.5 kB / 1.356 GB, free: 2.945 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.9691, allocations: 35.83 kB / 1.356 GB, free: 2.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.335e-05/0.9692, allocations: 44.28 kB / 1.356 GB, free: 2.918 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.9697, allocations: 275.2 kB / 1.357 GB, free: 2.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.9697, allocations: 192 / 1.357 GB, free: 2.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.9697, allocations: 19.95 kB / 1.357 GB, free: 2.734 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.9697, allocations: 6.844 kB / 1.357 GB, free: 2.734 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003326/0.9701, allocations: 194.2 kB / 1.357 GB, free: 2.645 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.9716, allocations: 1.038 MB / 1.358 GB, free: 1.785 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/0.9721, allocations: 212.1 kB / 1.358 GB, free: 1.664 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.9723, allocations: 105.1 kB / 1.358 GB, free: 1.605 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.9724, allocations: 3.531 kB / 1.358 GB, free: 1.605 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003267/0.9727, allocations: 214.5 kB / 1.358 GB, free: 1.457 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 1.623e-06/0.9727, allocations: 0 / 1.358 GB, free: 1.457 MB / 1.029 GB Notification: Performance of matching and sorting (n=36): time 0.0006911/0.9734, allocations: 383.4 kB / 1.359 GB, free: 1.273 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.9734, allocations: 56.44 kB / 1.359 GB, free: 1.211 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.9737, allocations: 265.9 kB / 1.359 GB, free: 1.023 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.613e-05/0.9738, allocations: 45.31 kB / 1.359 GB, free: 0.9805 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.974, allocations: 191.1 kB / 1.359 GB, free: 0.8125 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.467e-05/0.974, allocations: 96.11 kB / 1.359 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.9742, allocations: 110.6 kB / 1.359 GB, free: 0.6641 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.9744, allocations: 349.7 kB / 1.36 GB, free: 328 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/0.9747, allocations: 162.8 kB / 1.36 GB, free: 248 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/0.9751, allocations: 229 kB / 1.36 GB, free: 88 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005458/0.9757, allocations: 379.5 kB / 1.36 GB, free: 15.79 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9757, allocations: 0 / 1.36 GB, free: 15.79 MB / 1.045 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009744/0.9766, allocations: 0.5758 MB / 1.361 GB, free: 15.45 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 8.834e-05/0.9767, allocations: 102 kB / 1.361 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.9767, allocations: 1.125 kB / 1.361 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.9768, allocations: 12.11 kB / 1.361 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.9769, allocations: 37.23 kB / 1.361 GB, free: 15.32 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.9769, allocations: 3.094 kB / 1.361 GB, free: 15.32 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005864/0.9775, allocations: 104.8 kB / 1.361 GB, free: 15.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.846e-05/0.9775, allocations: 26.73 kB / 1.361 GB, free: 15.26 MB / 1.045 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.0002214/0.9778, allocations: 173.9 kB / 1.361 GB, free: 15.11 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.9778, allocations: 32.17 kB / 1.362 GB, free: 15.09 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005264/0.9783, allocations: 316 kB / 1.362 GB, free: 14.91 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.9784, allocations: 7.938 kB / 1.362 GB, free: 14.9 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.9784, allocations: 0 / 1.362 GB, free: 14.9 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.9784, allocations: 3.938 kB / 1.362 GB, free: 14.89 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.9796, allocations: 0.8162 MB / 1.363 GB, free: 14.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.9796, allocations: 0 / 1.363 GB, free: 14.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.9797, allocations: 31.98 kB / 1.363 GB, free: 13.99 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/0.9797, allocations: 4 kB / 1.363 GB, free: 13.98 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.9797, allocations: 7.984 kB / 1.363 GB, free: 13.98 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.9797, allocations: 7.984 kB / 1.363 GB, free: 13.97 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.9797, allocations: 0 / 1.363 GB, free: 13.97 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005022/0.9802, allocations: 396 kB / 1.363 GB, free: 13.56 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.9803, allocations: 128.9 kB / 1.363 GB, free: 13.42 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.9804, allocations: 8 kB / 1.363 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.9805, allocations: 11.98 kB / 1.363 GB, free: 13.4 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.9806, allocations: 31.91 kB / 1.363 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.9806, allocations: 19.98 kB / 1.363 GB, free: 13.35 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001808/0.9808, allocations: 174 kB / 1.363 GB, free: 13.17 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9808, allocations: 0 / 1.363 GB, free: 13.17 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004257/0.9812, allocations: 103.8 kB / 1.364 GB, free: 13.07 MB / 1.045 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.000207/0.9814, allocations: 136.8 kB / 1.364 GB, free: 12.93 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007872/0.9822, allocations: 0.4979 MB / 1.364 GB, free: 12.39 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9822, allocations: 0 / 1.364 GB, free: 12.39 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.9824, allocations: 132 kB / 1.364 GB, free: 12.27 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005394/0.983, allocations: 72.95 kB / 1.364 GB, free: 12.2 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.984, allocations: 0.6152 MB / 1.365 GB, free: 11.54 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.9845, allocations: 0.7915 MB / 1.366 GB, free: 10.72 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.166e-05/0.9845, allocations: 27.44 kB / 1.366 GB, free: 10.7 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.9845, allocations: 0 / 1.366 GB, free: 10.7 MB / 1.045 GB Notification: Performance of Templates: time 0.007792/0.9923, allocations: 4.744 MB / 1.37 GB, free: 5.988 MB / 1.045 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/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: 12.251186007997603]