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.0007932/0.0007932, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008047/0.0008047, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.854/0.854, allocations: 177.2 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.741/1.741, allocations: 389.1 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 3.296e-06/3.296e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.283e-05/3.613e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.003736/0.003772, allocations: 2.205 MB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.005447, allocations: 0.9109 MB / 1.004 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000233/0.00568, allocations: 11.94 kB / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.005885, allocations: 55.33 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.006048, allocations: 63.39 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009829/0.007031, allocations: 452.3 kB / 1.005 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0006813/0.007712, allocations: 0.6364 MB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000359/0.008071, allocations: 171.2 kB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003852/0.008456, allocations: 351.3 kB / 1.006 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.008728, allocations: 167.4 kB / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 8.62e-05/0.008814, allocations: 68 kB / 1.006 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.008947, allocations: 76 kB / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.92e-05/0.009026, allocations: 95.66 kB / 1.006 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.009205, allocations: 179.6 kB / 1.006 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0008224/0.01003, allocations: 0.7945 MB / 1.007 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.01003, allocations: 3.984 kB / 1.007 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.332e-06/0.01004, allocations: 0 / 1.007 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.01005, allocations: 0 / 1.007 GB, free: 6.785 MB / 0.9636 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.001093/0.01114, allocations: 0.6883 MB / 1.008 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.01119, allocations: 12.03 kB / 1.008 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.01131, allocations: 52.66 kB / 1.008 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005536/0.01186, allocations: 309.1 kB / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.289e-05/0.0119, allocations: 33.03 kB / 1.008 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-05/0.01197, allocations: 40.38 kB / 1.008 GB, free: 5.586 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/0.01243, allocations: 278.6 kB / 1.008 GB, free: 5.309 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.01245, allocations: 192 / 1.008 GB, free: 5.309 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.01248, allocations: 16.36 kB / 1.008 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.01249, allocations: 8.375 kB / 1.008 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003627/0.01285, allocations: 198.4 kB / 1.009 GB, free: 5.09 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.01429, allocations: 0.8203 MB / 1.009 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/0.01478, allocations: 209.3 kB / 1.01 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.01499, allocations: 101.2 kB / 1.01 GB, free: 3.922 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.01502, allocations: 7.938 kB / 1.01 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003056/0.01532, allocations: 204.7 kB / 1.01 GB, free: 3.703 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=36): time 2.194e-06/0.01533, allocations: 0 / 1.01 GB, free: 3.703 MB / 0.9636 GB Notification: Performance of matching and sorting (n=36): time 0.0006809/0.01601, allocations: 394.1 kB / 1.01 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.01605, allocations: 55.41 kB / 1.01 GB, free: 3.246 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.01631, allocations: 257.8 kB / 1.011 GB, free: 2.988 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.185e-05/0.01637, allocations: 41.7 kB / 1.011 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.01652, allocations: 196.9 kB / 1.011 GB, free: 2.742 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/0.0166, allocations: 95.22 kB / 1.011 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.01678, allocations: 118 kB / 1.011 GB, free: 2.523 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.01691, allocations: 346.8 kB / 1.011 GB, free: 2.176 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.01729, allocations: 261.9 kB / 1.012 GB, free: 1.902 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004019/0.01769, allocations: 323.6 kB / 1.012 GB, free: 1.547 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.01819, allocations: 383.7 kB / 1.012 GB, free: 1.129 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.01819, allocations: 0 / 1.012 GB, free: 1.129 MB / 0.9636 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000984/0.01917, allocations: 0.6829 MB / 1.013 GB, free: 412 kB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.385e-05/0.01925, allocations: 101.1 kB / 1.013 GB, free: 292 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.01926, allocations: 4 kB / 1.013 GB, free: 288 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.01928, allocations: 4 kB / 1.013 GB, free: 284 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.01939, allocations: 31.92 kB / 1.013 GB, free: 252 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.01941, allocations: 4 kB / 1.013 GB, free: 248 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/0.01981, allocations: 95.97 kB / 1.013 GB, free: 152 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.609e-05/0.01987, allocations: 35.91 kB / 1.013 GB, free: 116 kB / 0.9636 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.0002057/0.02007, allocations: 172.3 kB / 1.013 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.02011, allocations: 31.81 kB / 1.013 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004975/0.02061, allocations: 316.3 kB / 1.014 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.02061, allocations: 4 kB / 1.014 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.02062, allocations: 3.938 kB / 1.014 GB, free: 15.58 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.02062, allocations: 3.984 kB / 1.014 GB, free: 15.58 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009707/0.0216, allocations: 0.6833 MB / 1.014 GB, free: 14.85 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.0216, allocations: 4 kB / 1.014 GB, free: 14.85 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.627e-05/0.02169, allocations: 23.92 kB / 1.014 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.02169, allocations: 0 / 1.014 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.02171, allocations: 16 kB / 1.014 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.02172, allocations: 4 kB / 1.014 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.02172, allocations: 3.984 kB / 1.014 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004551/0.02217, allocations: 403.7 kB / 1.015 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 9.968e-05/0.02227, allocations: 51.72 kB / 1.015 GB, free: 14.33 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.02232, allocations: 19.92 kB / 1.015 GB, free: 14.31 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.02245, allocations: 11.98 kB / 1.015 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.02253, allocations: 27.94 kB / 1.015 GB, free: 14.27 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.02256, allocations: 16 kB / 1.015 GB, free: 14.26 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001584/0.02271, allocations: 177.2 kB / 1.015 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02271, allocations: 0 / 1.015 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004646/0.02318, allocations: 107.7 kB / 1.015 GB, free: 13.98 MB / 0.9792 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.0001964/0.02337, allocations: 121.2 kB / 1.015 GB, free: 13.86 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0008038/0.02418, allocations: 0.5889 MB / 1.016 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.02418, allocations: 448 / 1.016 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002109/0.02439, allocations: 132.6 kB / 1.016 GB, free: 13.08 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.02491, allocations: 72.36 kB / 1.016 GB, free: 13.01 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.02591, allocations: 0.601 MB / 1.017 GB, free: 12.37 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.02608, allocations: 183 kB / 1.017 GB, free: 12.16 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.001e-05/0.02616, allocations: 40.48 kB / 1.017 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of SimCode: time 7.51e-07/0.02616, allocations: 0 / 1.017 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of Templates: time 0.005613/0.03177, allocations: 4.848 MB / 1.022 GB, free: 7.309 MB / 0.9792 GB " [Timeout remaining time 300] 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/jenkins/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: 6.815277626737952]