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.001412/0.001412, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001886/0.001886, allocations: 212.7 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.572/1.572, allocations: 230.6 MB / 256 MB, free: 7.781 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.559/3.559, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.003297/0.003297, allocations: 73.97 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4781, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.003003/0.4811, allocations: 1.141 MB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002196/0.4833, allocations: 1.503 MB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.4835, allocations: 4 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.118e-05/0.4835, allocations: 23.67 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.4837, allocations: 59.52 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.4849, allocations: 460 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006063/0.4855, allocations: 0.5264 MB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.4857, allocations: 60 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.4859, allocations: 207.5 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000286/0.4862, allocations: 167.3 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.854e-05/0.4863, allocations: 56 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.4864, allocations: 63.98 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.556e-05/0.4865, allocations: 51.78 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.4867, allocations: 175.4 kB / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006438/0.4873, allocations: 0.5606 MB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4873, allocations: 0 / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4873, allocations: 0 / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.4874, allocations: 0 / 1.369 GB, free: 8.512 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.00102/0.4884, allocations: 0.6255 MB / 1.369 GB, free: 7.828 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.4884, allocations: 12.03 kB / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.4886, allocations: 36.75 kB / 1.369 GB, free: 7.781 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.489, allocations: 245.3 kB / 1.37 GB, free: 7.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.489, allocations: 16.38 kB / 1.37 GB, free: 7.504 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-05/0.4891, allocations: 36.36 kB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.4894, allocations: 145.8 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.4894, allocations: 4 kB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.4894, allocations: 4 kB / 1.37 GB, free: 7.312 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.4895, allocations: 4 kB / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.4896, allocations: 87.95 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.4907, allocations: 0.5738 MB / 1.371 GB, free: 6.617 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.4911, allocations: 126.7 kB / 1.371 GB, free: 6.484 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.4912, allocations: 52.84 kB / 1.371 GB, free: 6.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.4912, allocations: 3.984 kB / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003508/0.4916, allocations: 163.2 kB / 1.371 GB, free: 6.254 MB / 1.061 GB Notification: Performance of pre-optimization done (n=22): time 1.532e-06/0.4916, allocations: 3.938 kB / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=22): time 0.0005342/0.4921, allocations: 267.4 kB / 1.371 GB, free: 5.984 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.4922, allocations: 59.34 kB / 1.371 GB, free: 5.914 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.4925, allocations: 236.9 kB / 1.371 GB, free: 5.672 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.659e-05/0.4925, allocations: 37.7 kB / 1.371 GB, free: 5.629 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.4927, allocations: 156.5 kB / 1.372 GB, free: 5.473 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.015e-05/0.4927, allocations: 67.47 kB / 1.372 GB, free: 5.406 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.4929, allocations: 97.89 kB / 1.372 GB, free: 5.301 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4931, allocations: 330.8 kB / 1.372 GB, free: 4.969 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.4935, allocations: 279 kB / 1.372 GB, free: 4.672 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/0.4939, allocations: 365.9 kB / 1.373 GB, free: 4.254 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005088/0.4944, allocations: 403 kB / 1.373 GB, free: 3.801 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4944, allocations: 0 / 1.373 GB, free: 3.801 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001066/0.4955, allocations: 0.7175 MB / 1.374 GB, free: 3.027 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.4956, allocations: 126.8 kB / 1.374 GB, free: 2.879 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.4956, allocations: 4.281 kB / 1.374 GB, free: 2.875 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.4957, allocations: 11.98 kB / 1.374 GB, free: 2.863 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.544e-05/0.4957, allocations: 27.88 kB / 1.374 GB, free: 2.836 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.4958, allocations: 4 kB / 1.374 GB, free: 2.832 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000626/0.4964, allocations: 119.6 kB / 1.374 GB, free: 2.715 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/0.4964, allocations: 31.98 kB / 1.374 GB, free: 2.684 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.0001844/0.4966, allocations: 153.7 kB / 1.374 GB, free: 2.523 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.4967, allocations: 27.84 kB / 1.374 GB, free: 2.496 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.62e-05/0.4967, allocations: 22.28 kB / 1.374 GB, free: 2.469 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.4967, allocations: 7.938 kB / 1.374 GB, free: 2.461 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.4967, allocations: 3.938 kB / 1.374 GB, free: 2.457 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4968, allocations: 3.984 kB / 1.374 GB, free: 2.453 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000575/0.4973, allocations: 464.3 kB / 1.375 GB, free: 1.965 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4973, allocations: 4 kB / 1.375 GB, free: 1.961 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.582e-05/0.4974, allocations: 19.92 kB / 1.375 GB, free: 1.941 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4974, allocations: 0 / 1.375 GB, free: 1.941 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.4974, allocations: 11.94 kB / 1.375 GB, free: 1.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.4974, allocations: 0 / 1.375 GB, free: 1.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.4974, allocations: 4 kB / 1.375 GB, free: 1.926 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000508/0.498, allocations: 371.3 kB / 1.375 GB, free: 1.547 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.498, allocations: 27.78 kB / 1.375 GB, free: 1.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.498, allocations: 7.938 kB / 1.375 GB, free: 1.512 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/0.4981, allocations: 11.98 kB / 1.375 GB, free: 1.5 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.4982, allocations: 15.97 kB / 1.375 GB, free: 1.484 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.4982, allocations: 12.06 kB / 1.375 GB, free: 1.473 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001644/0.4983, allocations: 168.5 kB / 1.375 GB, free: 1.309 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4983, allocations: 3.938 kB / 1.375 GB, free: 1.305 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003638/0.4987, allocations: 83.83 kB / 1.375 GB, free: 1.223 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.0001777/0.4989, allocations: 111.2 kB / 1.376 GB, free: 1.105 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008406/0.4997, allocations: 0.6234 MB / 1.376 GB, free: 420 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4997, allocations: 4.188 kB / 1.376 GB, free: 416 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.4999, allocations: 71.91 kB / 1.376 GB, free: 344 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.5004, allocations: 68.55 kB / 1.376 GB, free: 276 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008162/0.5012, allocations: 419.4 kB / 1.377 GB, free: 15.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.5013, allocations: 142.2 kB / 1.377 GB, free: 15.68 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.156e-05/0.5014, allocations: 22.23 kB / 1.377 GB, free: 15.66 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.5015, allocations: 23.42 kB / 1.377 GB, free: 15.63 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/0.5015, allocations: 0 / 1.377 GB, free: 15.63 MB / 1.076 GB Notification: Performance of Templates: time 0.0106/0.5121, allocations: 5.48 MB / 1.382 GB, free: 10.32 MB / 1.076 GB " [Timeout remaining time 299] 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/jenkins/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: 10.118369912728667]