Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001607/0.001607, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002107/0.002107, allocations: 216.6 kB / 23.01 MB, free: 4.566 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.16/3.16, allocations: 0.49 GB / 0.7958 GB, free: 33.47 MB / 0.6231 GB " [Timeout remaining time 177] 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.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_12_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_12_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.002241/0.002241, allocations: 66.28 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3871, allocations: 176.1 MB / 1.327 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002696/0.3898, allocations: 1.225 MB / 1.328 GB, free: 280 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002256/0.392, allocations: 1.533 MB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.3921, allocations: 4 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.812e-05/0.3922, allocations: 23.67 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.3924, allocations: 63.5 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.3935, allocations: 458 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006142/0.3941, allocations: 0.5225 MB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.3943, allocations: 75.97 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.3945, allocations: 207.5 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.3948, allocations: 187.3 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.926e-05/0.3949, allocations: 52 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.395, allocations: 71.92 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.868e-05/0.3951, allocations: 55.83 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.3953, allocations: 187.3 kB / 1.332 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006385/0.396, allocations: 0.5567 MB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.396, allocations: 4 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.874e-06/0.396, allocations: 3.938 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.396, allocations: 0 / 1.332 GB, free: 12.28 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0009921/0.397, allocations: 0.6333 MB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.397, allocations: 8.031 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.3971, allocations: 36.73 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.3975, allocations: 249.3 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.3976, allocations: 24.31 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.45e-05/0.3977, allocations: 32.38 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.3979, allocations: 145.8 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.398, allocations: 3.984 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.398, allocations: 8 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.398, allocations: 4 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.3982, allocations: 91.95 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.3993, allocations: 0.7135 MB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.3997, allocations: 122.6 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.991e-05/0.3998, allocations: 52.95 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.3998, allocations: 7.938 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002651/0.4, allocations: 151.2 kB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.4, allocations: 0 / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0005245/0.4006, allocations: 267 kB / 1.335 GB, free: 9.594 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.4006, allocations: 59.41 kB / 1.335 GB, free: 9.523 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.4009, allocations: 236.9 kB / 1.335 GB, free: 9.285 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.019e-05/0.4009, allocations: 41.69 kB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.4011, allocations: 152.5 kB / 1.335 GB, free: 9.086 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.405e-05/0.4011, allocations: 59.48 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.4013, allocations: 97.89 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4015, allocations: 334.8 kB / 1.336 GB, free: 8.586 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.4018, allocations: 156.2 kB / 1.336 GB, free: 8.434 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.4022, allocations: 235.6 kB / 1.336 GB, free: 8.168 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005244/0.4027, allocations: 399.1 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4027, allocations: 0 / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009961/0.4037, allocations: 0.5859 MB / 1.337 GB, free: 7.102 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.4038, allocations: 134.8 kB / 1.337 GB, free: 6.945 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.4038, allocations: 4 kB / 1.337 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.4039, allocations: 8.219 kB / 1.337 GB, free: 6.934 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.584e-05/0.4039, allocations: 31.92 kB / 1.337 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.404, allocations: 4 kB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006069/0.4046, allocations: 115.7 kB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.95e-05/0.4046, allocations: 27.98 kB / 1.337 GB, free: 6.758 MB / 1.029 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.0001894/0.4048, allocations: 162.2 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.4048, allocations: 23.86 kB / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.652e-05/0.4049, allocations: 26.2 kB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.4049, allocations: 4 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.4049, allocations: 0 / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4049, allocations: 0 / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006609/0.4056, allocations: 0.5269 MB / 1.338 GB, free: 5.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4056, allocations: 4 kB / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.715e-05/0.4057, allocations: 15.94 kB / 1.338 GB, free: 5.938 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4057, allocations: 4 kB / 1.338 GB, free: 5.934 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.4057, allocations: 7.984 kB / 1.338 GB, free: 5.926 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.379e-05/0.4057, allocations: 7.938 kB / 1.338 GB, free: 5.918 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4057, allocations: 0 / 1.338 GB, free: 5.918 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005026/0.4062, allocations: 373.6 kB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.4062, allocations: 23.83 kB / 1.338 GB, free: 5.516 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.4063, allocations: 8.062 kB / 1.338 GB, free: 5.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-05/0.4064, allocations: 7.984 kB / 1.338 GB, free: 5.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.4064, allocations: 11.98 kB / 1.338 GB, free: 5.488 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.4064, allocations: 19.92 kB / 1.338 GB, free: 5.469 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001715/0.4066, allocations: 168.4 kB / 1.339 GB, free: 5.305 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4066, allocations: 0 / 1.339 GB, free: 5.305 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003908/0.407, allocations: 83.89 kB / 1.339 GB, free: 5.223 MB / 1.029 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.0001747/0.4072, allocations: 124.2 kB / 1.339 GB, free: 5.094 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007339/0.4079, allocations: 0.4936 MB / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.4079, allocations: 0 / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.408, allocations: 75.91 kB / 1.339 GB, free: 4.477 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.4085, allocations: 74.42 kB / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000817/0.4094, allocations: 451 kB / 1.34 GB, free: 3.938 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.4098, allocations: 0.748 MB / 1.341 GB, free: 3.164 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.4098, allocations: 23.44 kB / 1.341 GB, free: 3.141 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4098, allocations: 4 kB / 1.341 GB, free: 3.137 MB / 1.029 GB Notification: Performance of Templates: time 0.006748/0.4166, allocations: 3.906 MB / 1.344 GB, free: 15.27 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_Gain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.45533949599485]