Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.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.00133/0.00133, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001447/0.001447, allocations: 215.7 kB / 22.99 MB, free: 4.945 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.31/3.31, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 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.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|tOn.y|tOff.y|tunSta.y|gai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|tOn.y|tOff.y|tunSta.y|gai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") [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.002124/0.002124, allocations: 72.19 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.385, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002591/0.3876, allocations: 1.119 MB / 1.366 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002156/0.3898, allocations: 1.499 MB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.3899, allocations: 4 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.494e-05/0.3899, allocations: 23.67 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.3901, allocations: 63.5 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.3912, allocations: 462.1 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005993/0.3918, allocations: 0.5264 MB / 1.368 GB, free: 9.879 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.392, allocations: 71.97 kB / 1.368 GB, free: 9.801 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.3922, allocations: 199.5 kB / 1.369 GB, free: 9.605 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.3925, allocations: 171.3 kB / 1.369 GB, free: 9.438 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.398e-05/0.3926, allocations: 56 kB / 1.369 GB, free: 9.383 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.3928, allocations: 63.97 kB / 1.369 GB, free: 9.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.3928, allocations: 51.84 kB / 1.369 GB, free: 9.27 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.393, allocations: 171.4 kB / 1.369 GB, free: 9.102 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000631/0.3936, allocations: 0.5567 MB / 1.37 GB, free: 8.543 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3936, allocations: 4 kB / 1.37 GB, free: 8.539 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3936, allocations: 3.938 kB / 1.37 GB, free: 8.535 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.3937, allocations: 0 / 1.37 GB, free: 8.535 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001014/0.3947, allocations: 0.6294 MB / 1.37 GB, free: 7.848 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3947, allocations: 12.03 kB / 1.37 GB, free: 7.836 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.3948, allocations: 44.73 kB / 1.37 GB, free: 7.793 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.3953, allocations: 241.3 kB / 1.37 GB, free: 7.535 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.3953, allocations: 24.38 kB / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.259e-05/0.3954, allocations: 32.38 kB / 1.371 GB, free: 7.48 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.3956, allocations: 145.8 kB / 1.371 GB, free: 7.332 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.3957, allocations: 0 / 1.371 GB, free: 7.332 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.3957, allocations: 8 kB / 1.371 GB, free: 7.324 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.3957, allocations: 4 kB / 1.371 GB, free: 7.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.3959, allocations: 87.95 kB / 1.371 GB, free: 7.234 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009873/0.3968, allocations: 0.5738 MB / 1.371 GB, free: 6.629 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.3972, allocations: 122.5 kB / 1.371 GB, free: 6.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.3973, allocations: 45.03 kB / 1.371 GB, free: 6.453 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.3973, allocations: 4 kB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003217/0.3976, allocations: 160.3 kB / 1.372 GB, free: 6.281 MB / 1.061 GB Notification: Performance of pre-optimization done (n=22): time 1.774e-06/0.3976, allocations: 4 kB / 1.372 GB, free: 6.277 MB / 1.061 GB Notification: Performance of matching and sorting (n=22): time 0.0005226/0.3982, allocations: 263 kB / 1.372 GB, free: 6.016 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.3982, allocations: 63.34 kB / 1.372 GB, free: 5.941 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.3985, allocations: 236.9 kB / 1.372 GB, free: 5.699 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.3985, allocations: 37.7 kB / 1.372 GB, free: 5.656 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.3987, allocations: 156.5 kB / 1.372 GB, free: 5.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.475e-05/0.3987, allocations: 63.47 kB / 1.372 GB, free: 5.438 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.3989, allocations: 97.89 kB / 1.372 GB, free: 5.332 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.3991, allocations: 334.8 kB / 1.373 GB, free: 4.996 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003925/0.3995, allocations: 279 kB / 1.373 GB, free: 4.699 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000451/0.3999, allocations: 365.9 kB / 1.373 GB, free: 4.281 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/0.4004, allocations: 392.8 kB / 1.374 GB, free: 3.836 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4004, allocations: 4 kB / 1.374 GB, free: 3.832 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001043/0.4015, allocations: 0.712 MB / 1.375 GB, free: 3.066 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.4016, allocations: 134.8 kB / 1.375 GB, free: 2.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.4016, allocations: 8 kB / 1.375 GB, free: 2.902 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.4016, allocations: 4 kB / 1.375 GB, free: 2.898 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.4017, allocations: 35.86 kB / 1.375 GB, free: 2.863 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.4017, allocations: 4 kB / 1.375 GB, free: 2.859 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006102/0.4023, allocations: 116 kB / 1.375 GB, free: 2.746 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.577e-05/0.4024, allocations: 27.92 kB / 1.375 GB, free: 2.719 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 17 (tunSta.y,$PRE.tunSta.y,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,u.booPul.y,$PRE.u.booPul.y,tOn.booPul.y,$PRE.tOn.booPul.y,tOff.booPul.y,$PRE.tOff.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 4 * 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.0001913/0.4026, allocations: 157.8 kB / 1.375 GB, free: 2.555 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.4026, allocations: 27.8 kB / 1.375 GB, free: 2.527 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.817e-05/0.4027, allocations: 30.27 kB / 1.375 GB, free: 2.492 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4027, allocations: 7.875 kB / 1.375 GB, free: 2.484 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.4027, allocations: 0 / 1.375 GB, free: 2.484 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4027, allocations: 96 / 1.375 GB, free: 2.484 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006107/0.4033, allocations: 472.7 kB / 1.375 GB, free: 1.988 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4033, allocations: 3.984 kB / 1.375 GB, free: 1.984 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.545e-05/0.4034, allocations: 19.94 kB / 1.376 GB, free: 1.965 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.4034, allocations: 0 / 1.376 GB, free: 1.965 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.4034, allocations: 15.92 kB / 1.376 GB, free: 1.949 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4034, allocations: 0 / 1.376 GB, free: 1.949 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4034, allocations: 4 kB / 1.376 GB, free: 1.945 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004884/0.4039, allocations: 367.3 kB / 1.376 GB, free: 1.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.404, allocations: 27.77 kB / 1.376 GB, free: 1.543 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.404, allocations: 11.94 kB / 1.376 GB, free: 1.531 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/0.4041, allocations: 4 kB / 1.376 GB, free: 1.527 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.4041, allocations: 15.97 kB / 1.376 GB, free: 1.512 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.4041, allocations: 11.98 kB / 1.376 GB, free: 1.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001603/0.4043, allocations: 164.5 kB / 1.376 GB, free: 1.34 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4043, allocations: 0 / 1.376 GB, free: 1.34 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003704/0.4047, allocations: 91.81 kB / 1.376 GB, free: 1.25 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gai.Iy.y) * Number of discrete variables: 13 ($whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,tunSta.y,tOff.booPul.y,tOn.booPul.y,u.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001776/0.4048, allocations: 120.3 kB / 1.376 GB, free: 1.125 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008143/0.4057, allocations: 0.6189 MB / 1.377 GB, free: 444 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4057, allocations: 0 / 1.377 GB, free: 444 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.4058, allocations: 79.91 kB / 1.377 GB, free: 364 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.4063, allocations: 73.14 kB / 1.377 GB, free: 292 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007876/0.4071, allocations: 451.3 kB / 1.377 GB, free: 15.81 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.4073, allocations: 142.2 kB / 1.378 GB, free: 15.65 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.899e-05/0.4073, allocations: 23.44 kB / 1.378 GB, free: 15.63 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/0.4073, allocations: 0 / 1.378 GB, free: 15.63 MB / 1.076 GB Notification: Performance of Templates: time 0.007154/0.4145, allocations: 3.991 MB / 1.382 GB, free: 11.68 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_Gain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.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.753531100228429]