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.001585/0.001585, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001968/0.001968, allocations: 211.4 kB / 22.99 MB, free: 4.984 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.577/1.577, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.268/3.268, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.002029/0.002029, allocations: 68.33 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4295/0.4315, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.004189/0.4357, allocations: 2.205 MB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.4376, allocations: 0.9155 MB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002053/0.4378, allocations: 15.94 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.438, allocations: 47.41 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.4381, allocations: 63.44 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.4392, allocations: 452.5 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007273/0.44, allocations: 0.6248 MB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003794/0.4403, allocations: 183.1 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.4406, allocations: 235.3 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.4409, allocations: 227.1 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.441, allocations: 68 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.4412, allocations: 79.98 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.4413, allocations: 95.62 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002336/0.4415, allocations: 199.2 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008616/0.4424, allocations: 0.7356 MB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4424, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4424, allocations: 4 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.802e-05/0.4424, allocations: 0 / 1.333 GB, free: 10.84 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.001292/0.4437, allocations: 0.7056 MB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.4437, allocations: 8.031 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.4439, allocations: 52.66 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006255/0.4445, allocations: 301.4 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/0.4445, allocations: 37.02 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.83e-05/0.4446, allocations: 44.38 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005347/0.4452, allocations: 282.5 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.4452, allocations: 4.188 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.4452, allocations: 19.94 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.4452, allocations: 8 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.4456, allocations: 198.5 kB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.447, allocations: 0.7852 MB / 1.335 GB, free: 8.293 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004438/0.4475, allocations: 199.1 kB / 1.336 GB, free: 8.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.4477, allocations: 100.8 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.4477, allocations: 4 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003285/0.448, allocations: 193.5 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.764e-06/0.448, allocations: 3.938 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.0006956/0.4487, allocations: 382.9 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.4488, allocations: 63.34 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.4491, allocations: 265.7 kB / 1.337 GB, free: 7.059 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.793e-05/0.4492, allocations: 45.7 kB / 1.337 GB, free: 7.008 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.4493, allocations: 192.9 kB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.378e-05/0.4494, allocations: 79.33 kB / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.4496, allocations: 114 kB / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.4498, allocations: 338.8 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.4502, allocations: 249.7 kB / 1.338 GB, free: 6.012 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004375/0.4506, allocations: 329.8 kB / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/0.4511, allocations: 377 kB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4511, allocations: 0 / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001011/0.4522, allocations: 0.652 MB / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.937e-05/0.4523, allocations: 97.09 kB / 1.339 GB, free: 4.422 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.4523, allocations: 8.234 kB / 1.339 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.4523, allocations: 8 kB / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.4524, allocations: 35.86 kB / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.4524, allocations: 11.92 kB / 1.339 GB, free: 4.359 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/0.453, allocations: 95.69 kB / 1.339 GB, free: 4.266 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/0.453, allocations: 31.98 kB / 1.339 GB, free: 4.234 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.0002228/0.4532, allocations: 176.4 kB / 1.339 GB, free: 4.051 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.4533, allocations: 27.81 kB / 1.339 GB, free: 4.023 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005195/0.4538, allocations: 304.4 kB / 1.34 GB, free: 3.719 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.4538, allocations: 7.938 kB / 1.34 GB, free: 3.711 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4538, allocations: 0 / 1.34 GB, free: 3.711 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4538, allocations: 0 / 1.34 GB, free: 3.711 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.4549, allocations: 0.6597 MB / 1.34 GB, free: 3.016 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4549, allocations: 3.938 kB / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.515e-05/0.455, allocations: 23.92 kB / 1.34 GB, free: 2.988 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.455, allocations: 4 kB / 1.34 GB, free: 2.984 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.455, allocations: 4 kB / 1.34 GB, free: 2.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.455, allocations: 8 kB / 1.34 GB, free: 2.973 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.455, allocations: 0 / 1.34 GB, free: 2.973 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/0.4555, allocations: 384.2 kB / 1.341 GB, free: 2.582 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.4556, allocations: 55.66 kB / 1.341 GB, free: 2.527 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.4556, allocations: 11.98 kB / 1.341 GB, free: 2.516 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.4558, allocations: 12 kB / 1.341 GB, free: 2.504 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.81e-05/0.4558, allocations: 27.94 kB / 1.341 GB, free: 2.477 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.4559, allocations: 16 kB / 1.341 GB, free: 2.461 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001708/0.456, allocations: 173.2 kB / 1.341 GB, free: 2.293 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.456, allocations: 3.938 kB / 1.341 GB, free: 2.289 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003975/0.4564, allocations: 103.8 kB / 1.341 GB, free: 2.188 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.000213/0.4567, allocations: 107.5 kB / 1.341 GB, free: 2.074 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008462/0.4575, allocations: 0.5888 MB / 1.342 GB, free: 1.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4575, allocations: 0 / 1.342 GB, free: 1.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.4577, allocations: 112.5 kB / 1.342 GB, free: 1.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005185/0.4582, allocations: 68.77 kB / 1.342 GB, free: 1.254 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.4593, allocations: 0.5591 MB / 1.342 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.4595, allocations: 179.2 kB / 1.343 GB, free: 476 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001127/0.4596, allocations: 42.89 kB / 1.343 GB, free: 432 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.417e-05/0.4597, allocations: 31.44 kB / 1.343 GB, free: 404 kB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.4597, allocations: 0 / 1.343 GB, free: 404 kB / 1.029 GB Notification: Performance of Templates: time 0.01138/0.471, allocations: 5.653 MB / 1.348 GB, free: 10.88 MB / 1.045 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=400 -s gbode -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/jenkins1/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.671709205998923]