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.001443/0.001443, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00175/0.00175, allocations: 213.8 kB / 22.24 MB, free: 5.262 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.793 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.368/3.368, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 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.002212/0.002212, allocations: 65.98 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4173, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.00398/0.4213, allocations: 2.212 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.4231, allocations: 0.9039 MB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.4233, allocations: 11.94 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.4236, allocations: 59.33 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.4237, allocations: 63.45 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.4249, allocations: 441.2 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007497/0.4256, allocations: 0.6326 MB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003628/0.426, allocations: 167.1 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.4262, allocations: 231.3 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.4265, allocations: 207 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.4266, allocations: 68 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.4268, allocations: 79.98 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.363e-05/0.4269, allocations: 91.69 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.4271, allocations: 203.2 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008552/0.428, allocations: 0.7356 MB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.428, allocations: 0 / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.794e-06/0.428, allocations: 0 / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.428, allocations: 0 / 1.331 GB, free: 11.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.001197/0.4292, allocations: 0.6978 MB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.4292, allocations: 19.95 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.4293, allocations: 52.66 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006005/0.4299, allocations: 301.5 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.052e-05/0.43, allocations: 29.03 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.745e-05/0.4301, allocations: 44.38 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004991/0.4306, allocations: 282.6 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.4306, allocations: 192 / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.4306, allocations: 19.92 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.4306, allocations: 15.94 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003646/0.431, allocations: 194.5 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.4324, allocations: 0.7891 MB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004414/0.4329, allocations: 199.1 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.4331, allocations: 104.8 kB / 1.334 GB, free: 8.984 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.4331, allocations: 0 / 1.334 GB, free: 8.984 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003452/0.4335, allocations: 206 kB / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.4335, allocations: 0 / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.0007342/0.4342, allocations: 374.9 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.4343, allocations: 67.33 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.4346, allocations: 265.8 kB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.638e-05/0.4347, allocations: 37.7 kB / 1.335 GB, free: 8.012 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.4348, allocations: 188.9 kB / 1.335 GB, free: 7.824 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.905e-05/0.4349, allocations: 91.31 kB / 1.335 GB, free: 7.734 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.4351, allocations: 109.9 kB / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.4353, allocations: 342.8 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003852/0.4357, allocations: 249.7 kB / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.4361, allocations: 325.9 kB / 1.336 GB, free: 6.645 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005297/0.4367, allocations: 381 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4367, allocations: 0 / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001062/0.4377, allocations: 0.6442 MB / 1.337 GB, free: 5.539 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.697e-05/0.4378, allocations: 105.1 kB / 1.337 GB, free: 5.418 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.4378, allocations: 4 kB / 1.337 GB, free: 5.414 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.4378, allocations: 4.25 kB / 1.337 GB, free: 5.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.438, allocations: 43.86 kB / 1.337 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.438, allocations: 4 kB / 1.337 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005242/0.4385, allocations: 99.67 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/0.4386, allocations: 23.98 kB / 1.338 GB, free: 5.242 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.0002235/0.4388, allocations: 184.3 kB / 1.338 GB, free: 5.051 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.4388, allocations: 27.81 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005197/0.4394, allocations: 296.5 kB / 1.338 GB, free: 4.727 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.4394, allocations: 7.938 kB / 1.338 GB, free: 4.719 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4394, allocations: 0 / 1.338 GB, free: 4.719 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4394, allocations: 3.984 kB / 1.338 GB, free: 4.715 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.4405, allocations: 0.6558 MB / 1.339 GB, free: 4.023 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4405, allocations: 7.875 kB / 1.339 GB, free: 4.016 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.4406, allocations: 27.92 kB / 1.339 GB, free: 3.988 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4406, allocations: 0 / 1.339 GB, free: 3.988 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.4406, allocations: 11.98 kB / 1.339 GB, free: 3.977 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.4406, allocations: 0 / 1.339 GB, free: 3.977 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4406, allocations: 4 kB / 1.339 GB, free: 3.973 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005103/0.4411, allocations: 388.1 kB / 1.339 GB, free: 3.578 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.4412, allocations: 51.66 kB / 1.339 GB, free: 3.527 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.4413, allocations: 8 kB / 1.339 GB, free: 3.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.4414, allocations: 11.98 kB / 1.339 GB, free: 3.508 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.4415, allocations: 27.95 kB / 1.339 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.4416, allocations: 15.98 kB / 1.339 GB, free: 3.465 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001878/0.4417, allocations: 177.2 kB / 1.339 GB, free: 3.293 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4417, allocations: 0 / 1.339 GB, free: 3.293 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004028/0.4421, allocations: 103.8 kB / 1.339 GB, free: 3.191 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.0002/0.4423, allocations: 115.4 kB / 1.34 GB, free: 3.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008707/0.4432, allocations: 0.5774 MB / 1.34 GB, free: 2.438 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4432, allocations: 4.188 kB / 1.34 GB, free: 2.434 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.4434, allocations: 108.5 kB / 1.34 GB, free: 2.328 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.4439, allocations: 96.16 kB / 1.34 GB, free: 2.234 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.4451, allocations: 0.552 MB / 1.341 GB, free: 1.656 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.4454, allocations: 179.2 kB / 1.341 GB, free: 1.453 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.4455, allocations: 30.97 kB / 1.341 GB, free: 1.422 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.309e-05/0.4456, allocations: 35.42 kB / 1.341 GB, free: 1.387 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.4456, allocations: 0 / 1.341 GB, free: 1.387 MB / 1.029 GB Notification: Performance of Templates: time 0.01191/0.4575, allocations: 5.599 MB / 1.347 GB, free: 11.92 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 -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.788556393235922]