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.001652/0.001652, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002006/0.002006, allocations: 214.4 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.594/1.594, 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.425/3.425, allocations: 0.49 GB / 0.7951 GB, free: 35.27 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.002102/0.002102, allocations: 63.62 kB / 1.154 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.4521, allocations: 176.1 MB / 1.326 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.004589/0.4567, allocations: 2.205 MB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.4587, allocations: 0.9156 MB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003801/0.4591, allocations: 15.88 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.4594, allocations: 55.33 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.4596, allocations: 59.45 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.4609, allocations: 447.2 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009156/0.4618, allocations: 0.621 MB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003983/0.4622, allocations: 183.1 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003475/0.4626, allocations: 239.3 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.463, allocations: 231 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.4631, allocations: 64 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.4633, allocations: 83.94 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.241e-05/0.4634, allocations: 87.73 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.4637, allocations: 207.1 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008923/0.4646, allocations: 0.7394 MB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4646, allocations: 0 / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4646, allocations: 0 / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.184e-05/0.4646, allocations: 0 / 1.332 GB, free: 10.91 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.001511/0.4661, allocations: 0.7056 MB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.4661, allocations: 12.02 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.4663, allocations: 52.66 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006298/0.4669, allocations: 297.5 kB / 1.333 GB, free: 9.762 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.498e-05/0.467, allocations: 29.03 kB / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.427e-05/0.467, allocations: 44.38 kB / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005245/0.4676, allocations: 282.6 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.4676, allocations: 192 / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/0.4676, allocations: 23.92 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.4676, allocations: 8 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.468, allocations: 190.5 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.4695, allocations: 0.7852 MB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/0.47, allocations: 215 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.4702, allocations: 100.8 kB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.4702, allocations: 0 / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000356/0.4706, allocations: 201.4 kB / 1.335 GB, free: 7.844 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.864e-06/0.4706, allocations: 0 / 1.335 GB, free: 7.844 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.0008226/0.4714, allocations: 378.9 kB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.4715, allocations: 71.2 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.4718, allocations: 269.8 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.728e-05/0.4719, allocations: 45.64 kB / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.4721, allocations: 184.9 kB / 1.336 GB, free: 6.883 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.53e-05/0.4722, allocations: 87.31 kB / 1.336 GB, free: 6.797 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.4724, allocations: 110 kB / 1.336 GB, free: 6.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000244/0.4727, allocations: 342.8 kB / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004076/0.4731, allocations: 245.7 kB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/0.4736, allocations: 325.9 kB / 1.337 GB, free: 5.711 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005527/0.4741, allocations: 381 kB / 1.337 GB, free: 5.293 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4741, allocations: 0 / 1.337 GB, free: 5.293 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001081/0.4752, allocations: 0.6442 MB / 1.338 GB, free: 4.605 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.4753, allocations: 105.3 kB / 1.338 GB, free: 4.484 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.4753, allocations: 8 kB / 1.338 GB, free: 4.477 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.4754, allocations: 4 kB / 1.338 GB, free: 4.473 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.4755, allocations: 35.86 kB / 1.338 GB, free: 4.438 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.4755, allocations: 7.938 kB / 1.338 GB, free: 4.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005646/0.4761, allocations: 103.7 kB / 1.338 GB, free: 4.328 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/0.4761, allocations: 27.97 kB / 1.338 GB, free: 4.301 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.0002152/0.4764, allocations: 172.4 kB / 1.339 GB, free: 4.121 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.4764, allocations: 27.81 kB / 1.339 GB, free: 4.094 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005303/0.4769, allocations: 300.5 kB / 1.339 GB, free: 3.793 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.4769, allocations: 7.938 kB / 1.339 GB, free: 3.785 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.477, allocations: 4 kB / 1.339 GB, free: 3.781 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.477, allocations: 3.984 kB / 1.339 GB, free: 3.777 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.478, allocations: 0.6558 MB / 1.34 GB, free: 3.086 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.478, allocations: 3.938 kB / 1.34 GB, free: 3.082 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.599e-05/0.4781, allocations: 23.92 kB / 1.34 GB, free: 3.059 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4781, allocations: 0 / 1.34 GB, free: 3.059 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.4781, allocations: 11.98 kB / 1.34 GB, free: 3.047 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4781, allocations: 0 / 1.34 GB, free: 3.047 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4781, allocations: 0 / 1.34 GB, free: 3.047 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005308/0.4787, allocations: 392.1 kB / 1.34 GB, free: 2.648 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.4788, allocations: 55.66 kB / 1.34 GB, free: 2.594 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.4788, allocations: 8 kB / 1.34 GB, free: 2.586 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.479, allocations: 15.98 kB / 1.34 GB, free: 2.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.655e-05/0.4791, allocations: 27.89 kB / 1.34 GB, free: 2.543 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.4791, allocations: 15.98 kB / 1.34 GB, free: 2.527 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001973/0.4793, allocations: 177.2 kB / 1.34 GB, free: 2.355 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4793, allocations: 0 / 1.34 GB, free: 2.355 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004436/0.4797, allocations: 99.78 kB / 1.34 GB, free: 2.258 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.0002208/0.4799, allocations: 119.4 kB / 1.34 GB, free: 2.133 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008658/0.4808, allocations: 0.581 MB / 1.341 GB, free: 1.496 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4808, allocations: 3.938 kB / 1.341 GB, free: 1.492 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.481, allocations: 108.4 kB / 1.341 GB, free: 1.387 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.4815, allocations: 77.89 kB / 1.341 GB, free: 1.312 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.4826, allocations: 0.5559 MB / 1.342 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.4828, allocations: 179.2 kB / 1.342 GB, free: 0.5273 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.4829, allocations: 34.97 kB / 1.342 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.165e-05/0.483, allocations: 35.42 kB / 1.342 GB, free: 468 kB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.483, allocations: 0 / 1.342 GB, free: 468 kB / 1.029 GB Notification: Performance of Templates: time 0.01224/0.4952, allocations: 5.642 MB / 1.347 GB, free: 10.95 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.799541796091944]