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.001849/0.001849, 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.002351/0.002351, allocations: 215.2 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.463/1.463, 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.266/3.266, allocations: 0.505 GB / 0.8108 GB, free: 23.51 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.002032/0.002032, allocations: 73.03 kB / 1.178 GB, free: 16.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3808, allocations: 180.2 MB / 1.354 GB, free: 7.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002536/0.3834, allocations: 1.124 MB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002056/0.3854, allocations: 1.498 MB / 1.357 GB, free: 4.781 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.532e-05/0.3855, allocations: 0 / 1.357 GB, free: 4.781 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.827e-05/0.3856, allocations: 27.67 kB / 1.357 GB, free: 4.754 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.3858, allocations: 63.5 kB / 1.357 GB, free: 4.691 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.3868, allocations: 466.7 kB / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005682/0.3874, allocations: 0.5186 MB / 1.358 GB, free: 3.727 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.3875, allocations: 75.97 kB / 1.358 GB, free: 3.645 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.3878, allocations: 203.5 kB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.388, allocations: 195.2 kB / 1.358 GB, free: 3.254 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.66e-05/0.3881, allocations: 55.98 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.3882, allocations: 68 kB / 1.358 GB, free: 3.133 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.512e-05/0.3883, allocations: 51.84 kB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.3885, allocations: 167.4 kB / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005856/0.3891, allocations: 0.5606 MB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3891, allocations: 0 / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3891, allocations: 0 / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.3891, allocations: 0 / 1.359 GB, free: 2.355 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0009293/0.39, allocations: 0.6309 MB / 1.36 GB, free: 1.668 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3901, allocations: 16.02 kB / 1.36 GB, free: 1.652 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.3902, allocations: 36.75 kB / 1.36 GB, free: 1.617 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.3906, allocations: 245.3 kB / 1.36 GB, free: 1.352 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/0.3906, allocations: 24.38 kB / 1.36 GB, free: 1.328 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-05/0.3907, allocations: 24.38 kB / 1.36 GB, free: 1.305 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.3909, allocations: 153.8 kB / 1.36 GB, free: 1.148 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3909, allocations: 0 / 1.36 GB, free: 1.148 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.391, allocations: 4 kB / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.391, allocations: 4 kB / 1.36 GB, free: 1.141 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.3911, allocations: 87.95 kB / 1.36 GB, free: 1.055 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009498/0.3921, allocations: 0.5738 MB / 1.361 GB, free: 460 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.3924, allocations: 122.5 kB / 1.361 GB, free: 328 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.413e-05/0.3925, allocations: 53.02 kB / 1.361 GB, free: 272 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.3925, allocations: 7.984 kB / 1.361 GB, free: 264 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003113/0.3928, allocations: 164.7 kB / 1.361 GB, free: 88 kB / 1.045 GB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.3928, allocations: 0 / 1.361 GB, free: 88 kB / 1.045 GB Notification: Performance of matching and sorting (n=22): time 0.0005189/0.3934, allocations: 263 kB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.3934, allocations: 59.34 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.3937, allocations: 244.9 kB / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.813e-05/0.3937, allocations: 37.7 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.3939, allocations: 156.4 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.503e-05/0.3939, allocations: 63.52 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.3941, allocations: 93.89 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3942, allocations: 338.8 kB / 1.362 GB, free: 14.8 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003836/0.3946, allocations: 279 kB / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004288/0.3951, allocations: 355.2 kB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/0.3955, allocations: 396.9 kB / 1.363 GB, free: 13.65 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3955, allocations: 0 / 1.363 GB, free: 13.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001048/0.3966, allocations: 0.7193 MB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-05/0.3967, allocations: 134.8 kB / 1.364 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3967, allocations: 4 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/0.3967, allocations: 4 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.679e-05/0.3968, allocations: 27.86 kB / 1.364 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3968, allocations: 4 kB / 1.364 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006081/0.3974, allocations: 115.9 kB / 1.364 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.441e-05/0.3975, allocations: 35.91 kB / 1.364 GB, free: 12.53 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.0001759/0.3977, allocations: 153.7 kB / 1.364 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.3977, allocations: 31.81 kB / 1.364 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.228e-05/0.3978, allocations: 22.27 kB / 1.364 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.3978, allocations: 11.88 kB / 1.364 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.3978, allocations: 8 kB / 1.364 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3978, allocations: 0 / 1.364 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005537/0.3983, allocations: 470 kB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3983, allocations: 0 / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.664e-05/0.3984, allocations: 19.94 kB / 1.365 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.3984, allocations: 4 kB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.3985, allocations: 7.922 kB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.3985, allocations: 4 kB / 1.365 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3985, allocations: 0 / 1.365 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004738/0.3989, allocations: 365.3 kB / 1.365 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.975e-05/0.399, allocations: 31.81 kB / 1.365 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.399, allocations: 8 kB / 1.365 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.904e-05/0.3991, allocations: 8 kB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.3992, allocations: 15.97 kB / 1.365 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.3992, allocations: 15.98 kB / 1.365 GB, free: 11.31 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001502/0.3993, allocations: 164.5 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3993, allocations: 0 / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003629/0.3997, allocations: 83.89 kB / 1.366 GB, free: 11.07 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.0001645/0.3999, allocations: 120.4 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008027/0.4007, allocations: 0.6251 MB / 1.366 GB, free: 10.25 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4007, allocations: 0 / 1.366 GB, free: 10.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.4008, allocations: 74.16 kB / 1.366 GB, free: 10.18 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/0.4013, allocations: 72.88 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00075/0.402, allocations: 451 kB / 1.367 GB, free: 9.637 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.4021, allocations: 138.2 kB / 1.367 GB, free: 9.484 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/0.4022, allocations: 23.44 kB / 1.367 GB, free: 9.461 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.4022, allocations: 0 / 1.367 GB, free: 9.461 MB / 1.061 GB Notification: Performance of Templates: time 0.006462/0.4087, allocations: 3.999 MB / 1.371 GB, free: 5.504 MB / 1.061 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.686045084003126]