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.00138/0.00138, 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.001504/0.001504, allocations: 214.8 kB / 22.99 MB, free: 4.98 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.311/3.311, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.002197/0.002197, allocations: 73.97 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4585/0.4607, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.003828/0.4645, allocations: 2.211 MB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.4663, allocations: 0.9117 MB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002231/0.4665, allocations: 11.94 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.4667, allocations: 59.33 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.4669, allocations: 63.44 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.4679, allocations: 445.2 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006904/0.4686, allocations: 0.6288 MB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003487/0.469, allocations: 187.1 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.4692, allocations: 227.4 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002947/0.4695, allocations: 231 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.574e-05/0.4696, allocations: 68 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.4698, allocations: 79.98 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.549e-05/0.4698, allocations: 87.75 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.4701, allocations: 207.1 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008048/0.4709, allocations: 0.7394 MB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4709, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4709, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.4709, allocations: 4 kB / 1.333 GB, free: 10.86 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.001171/0.4721, allocations: 0.7056 MB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.4721, allocations: 8.031 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.4722, allocations: 52.66 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/0.4728, allocations: 297.5 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.4728, allocations: 33.03 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.964e-05/0.4729, allocations: 52.36 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/0.4734, allocations: 274.6 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.4734, allocations: 192 / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.4735, allocations: 23.92 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.4735, allocations: 8 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.4738, allocations: 194.5 kB / 1.335 GB, free: 9.137 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.4753, allocations: 0.7853 MB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.4757, allocations: 211 kB / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.4759, allocations: 97.42 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.4759, allocations: 4 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003146/0.4763, allocations: 193.4 kB / 1.336 GB, free: 7.801 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.4763, allocations: 0 / 1.336 GB, free: 7.801 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.000716/0.477, allocations: 390.8 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.477, allocations: 67.33 kB / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.4773, allocations: 261.8 kB / 1.337 GB, free: 7.074 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.151e-05/0.4774, allocations: 41.7 kB / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.4776, allocations: 188.9 kB / 1.337 GB, free: 6.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.004e-05/0.4777, allocations: 87.31 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.4779, allocations: 110 kB / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.478, allocations: 338.8 kB / 1.337 GB, free: 6.297 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.4784, allocations: 249.7 kB / 1.338 GB, free: 6.031 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004534/0.4789, allocations: 325.9 kB / 1.338 GB, free: 5.668 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005028/0.4794, allocations: 377 kB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4794, allocations: 0 / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001017/0.4804, allocations: 0.6561 MB / 1.339 GB, free: 4.555 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.286e-05/0.4805, allocations: 101.1 kB / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4805, allocations: 0 / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.4805, allocations: 7.984 kB / 1.339 GB, free: 4.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.4807, allocations: 43.8 kB / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.4807, allocations: 0 / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005694/0.4812, allocations: 107.7 kB / 1.339 GB, free: 4.281 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.857e-05/0.4813, allocations: 23.98 kB / 1.339 GB, free: 4.258 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.0002268/0.4815, allocations: 168.4 kB / 1.339 GB, free: 4.082 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.4816, allocations: 35.8 kB / 1.339 GB, free: 4.047 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005025/0.4821, allocations: 300.4 kB / 1.34 GB, free: 3.746 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.4821, allocations: 11.92 kB / 1.34 GB, free: 3.734 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4821, allocations: 0 / 1.34 GB, free: 3.734 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.4821, allocations: 8 kB / 1.34 GB, free: 3.727 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.4831, allocations: 0.6558 MB / 1.34 GB, free: 3.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4831, allocations: 3.938 kB / 1.34 GB, free: 3.031 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.713e-05/0.4832, allocations: 16 kB / 1.34 GB, free: 3.016 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.4832, allocations: 3.984 kB / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.4832, allocations: 11.94 kB / 1.34 GB, free: 3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4832, allocations: 0 / 1.34 GB, free: 3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4832, allocations: 3.938 kB / 1.34 GB, free: 2.996 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/0.4837, allocations: 388.2 kB / 1.341 GB, free: 2.602 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.4838, allocations: 59.59 kB / 1.341 GB, free: 2.543 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.4839, allocations: 12 kB / 1.341 GB, free: 2.531 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.484, allocations: 11.98 kB / 1.341 GB, free: 2.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.353e-05/0.4841, allocations: 23.95 kB / 1.341 GB, free: 2.496 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.4841, allocations: 15.98 kB / 1.341 GB, free: 2.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001773/0.4843, allocations: 173.2 kB / 1.341 GB, free: 2.312 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4843, allocations: 0 / 1.341 GB, free: 2.312 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004185/0.4847, allocations: 99.78 kB / 1.341 GB, free: 2.215 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.0001926/0.4849, allocations: 125 kB / 1.341 GB, free: 2.086 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008582/0.4858, allocations: 0.5771 MB / 1.342 GB, free: 1.453 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4858, allocations: 0 / 1.342 GB, free: 1.453 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.486, allocations: 112.4 kB / 1.342 GB, free: 1.344 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.4865, allocations: 86.25 kB / 1.342 GB, free: 1.262 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.4875, allocations: 0.5481 MB / 1.342 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.4877, allocations: 187.2 kB / 1.343 GB, free: 484 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001115/0.4878, allocations: 38.95 kB / 1.343 GB, free: 444 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.428e-05/0.4879, allocations: 27.44 kB / 1.343 GB, free: 420 kB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4879, allocations: 4 kB / 1.343 GB, free: 416 kB / 1.029 GB Notification: Performance of Templates: time 0.01107/0.4989, allocations: 5.635 MB / 1.348 GB, free: 10.91 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 -s cvode -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.475140441005351]