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.001318/0.001318, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.001457/0.001457, allocations: 212.8 kB / 22.99 MB, free: 4.953 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] 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 3.26/3.26, allocations: 0.505 GB / 0.8109 GB, free: 23.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002056/0.002056, allocations: 69.28 kB / 1.178 GB, free: 16.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3312, allocations: 180.2 MB / 1.354 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.003982/0.3352, allocations: 2.206 MB / 1.356 GB, free: 5.266 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.3371, allocations: 0.9039 MB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00031/0.3374, allocations: 11.94 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.3376, allocations: 59.33 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.3378, allocations: 55.47 kB / 1.357 GB, free: 4.234 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.339, allocations: 448 kB / 1.358 GB, free: 3.805 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000846/0.3398, allocations: 0.621 MB / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000376/0.3402, allocations: 191.1 kB / 1.358 GB, free: 2.992 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003375/0.3405, allocations: 231.3 kB / 1.359 GB, free: 2.766 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003738/0.3409, allocations: 231 kB / 1.359 GB, free: 2.539 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.341, allocations: 68 kB / 1.359 GB, free: 2.473 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.3412, allocations: 79.98 kB / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.055e-05/0.3413, allocations: 83.7 kB / 1.359 GB, free: 2.312 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000256/0.3415, allocations: 211.1 kB / 1.359 GB, free: 2.105 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008296/0.3424, allocations: 0.7356 MB / 1.36 GB, free: 1.367 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3424, allocations: 4 kB / 1.36 GB, free: 1.363 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3424, allocations: 0 / 1.36 GB, free: 1.363 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.177e-05/0.3424, allocations: 0 / 1.36 GB, free: 1.363 MB / 1.045 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.001284/0.3437, allocations: 0.7017 MB / 1.361 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3437, allocations: 8.031 kB / 1.361 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.3438, allocations: 52.66 kB / 1.361 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005818/0.3444, allocations: 297.5 kB / 1.361 GB, free: 236 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.3445, allocations: 33.03 kB / 1.361 GB, free: 204 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.233e-05/0.3446, allocations: 56.36 kB / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.3451, allocations: 270.7 kB / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3451, allocations: 192 / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.3451, allocations: 15.94 kB / 1.361 GB, free: 15.85 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.3451, allocations: 4 kB / 1.361 GB, free: 15.85 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.3455, allocations: 190.5 kB / 1.362 GB, free: 15.66 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.347, allocations: 0.8241 MB / 1.362 GB, free: 14.81 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005027/0.3475, allocations: 214.8 kB / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.3478, allocations: 104.8 kB / 1.363 GB, free: 14.49 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.3478, allocations: 4 kB / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003329/0.3481, allocations: 203.1 kB / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Performance of pre-optimization done (n=36): time 1.924e-06/0.3481, allocations: 0 / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=36): time 0.0007356/0.3489, allocations: 386.6 kB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.3489, allocations: 67.33 kB / 1.363 GB, free: 13.81 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.3492, allocations: 265.8 kB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.515e-05/0.3493, allocations: 37.7 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.3494, allocations: 196.9 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.833e-05/0.3495, allocations: 91.28 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.3497, allocations: 110 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3499, allocations: 342.8 kB / 1.364 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.3503, allocations: 257.8 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004387/0.3507, allocations: 335 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005383/0.3513, allocations: 376.5 kB / 1.365 GB, free: 11.71 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3513, allocations: 0 / 1.365 GB, free: 11.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001107/0.3524, allocations: 0.679 MB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-05/0.3525, allocations: 105.1 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3525, allocations: 0 / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.3525, allocations: 4 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.3526, allocations: 27.92 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.3527, allocations: 11.92 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005823/0.3532, allocations: 103.9 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.3533, allocations: 27.98 kB / 1.366 GB, free: 10.69 MB / 1.061 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.0002243/0.3535, allocations: 184.3 kB / 1.366 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.3536, allocations: 27.81 kB / 1.366 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005412/0.3541, allocations: 316.4 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3541, allocations: 11.94 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.3541, allocations: 3.938 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3541, allocations: 4 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.3552, allocations: 0.6911 MB / 1.367 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3552, allocations: 0 / 1.367 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.3554, allocations: 23.92 kB / 1.367 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.3554, allocations: 4 kB / 1.367 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.3554, allocations: 8 kB / 1.367 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3554, allocations: 64 / 1.367 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.3554, allocations: 8 kB / 1.367 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005205/0.3559, allocations: 410 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.356, allocations: 51.72 kB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/0.3561, allocations: 8 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.3562, allocations: 11.98 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.42e-05/0.3563, allocations: 27.95 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.3563, allocations: 15.98 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000176/0.3565, allocations: 173.2 kB / 1.368 GB, free: 8.652 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3565, allocations: 0 / 1.368 GB, free: 8.652 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004442/0.357, allocations: 111.8 kB / 1.368 GB, free: 8.543 MB / 1.061 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.0001727/0.3571, allocations: 128.8 kB / 1.368 GB, free: 8.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008739/0.358, allocations: 0.5846 MB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.358, allocations: 0 / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.3582, allocations: 135.8 kB / 1.369 GB, free: 7.637 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.3588, allocations: 76.06 kB / 1.369 GB, free: 7.566 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.3599, allocations: 0.5986 MB / 1.37 GB, free: 6.926 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.3601, allocations: 191.1 kB / 1.37 GB, free: 6.715 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.898e-05/0.3602, allocations: 35.42 kB / 1.37 GB, free: 6.684 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.3602, allocations: 0 / 1.37 GB, free: 6.684 MB / 1.061 GB Notification: Performance of Templates: time 0.008359/0.3685, allocations: 4.834 MB / 1.375 GB, free: 1.883 MB / 1.061 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/jenkins1/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: 11.41793556700577]