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.001583/0.001583, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002128/0.002128, allocations: 213.7 kB / 23 MB, free: 4.965 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.612/1.612, 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.423/3.423, allocations: 0.505 GB / 0.8109 GB, free: 23.55 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.00218/0.00218, allocations: 68.78 kB / 1.178 GB, free: 16.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3978, allocations: 180.2 MB / 1.354 GB, free: 7.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002921/0.4007, allocations: 1.125 MB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002458/0.4032, allocations: 1.498 MB / 1.357 GB, free: 4.828 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.4033, allocations: 8 kB / 1.357 GB, free: 4.82 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.16e-05/0.4034, allocations: 23.67 kB / 1.357 GB, free: 4.797 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.4036, allocations: 63.5 kB / 1.357 GB, free: 4.734 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.4047, allocations: 460.4 kB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006011/0.4053, allocations: 0.5263 MB / 1.358 GB, free: 3.77 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.4055, allocations: 77.86 kB / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.4058, allocations: 203.5 kB / 1.358 GB, free: 3.488 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.4061, allocations: 195.2 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.535e-05/0.4062, allocations: 52 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.4063, allocations: 60 kB / 1.358 GB, free: 3.188 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/0.4064, allocations: 55.83 kB / 1.358 GB, free: 3.133 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.4066, allocations: 171.4 kB / 1.358 GB, free: 2.965 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006457/0.4072, allocations: 0.5567 MB / 1.359 GB, free: 2.406 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4072, allocations: 8 kB / 1.359 GB, free: 2.398 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4072, allocations: 0 / 1.359 GB, free: 2.398 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.4072, allocations: 0 / 1.359 GB, free: 2.398 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.001022/0.4082, allocations: 0.6333 MB / 1.36 GB, free: 1.707 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4083, allocations: 8.031 kB / 1.36 GB, free: 1.699 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.4084, allocations: 36.75 kB / 1.36 GB, free: 1.664 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.4089, allocations: 249.2 kB / 1.36 GB, free: 1.395 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.4089, allocations: 16.38 kB / 1.36 GB, free: 1.379 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-05/0.409, allocations: 32.38 kB / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.4093, allocations: 149.8 kB / 1.36 GB, free: 1.195 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.4093, allocations: 4 kB / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.4093, allocations: 4 kB / 1.36 GB, free: 1.188 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.4093, allocations: 4 kB / 1.36 GB, free: 1.184 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.4095, allocations: 99.88 kB / 1.36 GB, free: 1.086 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.4105, allocations: 0.566 MB / 1.361 GB, free: 500 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.4109, allocations: 118.5 kB / 1.361 GB, free: 372 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.411, allocations: 53.02 kB / 1.361 GB, free: 316 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.411, allocations: 4 kB / 1.361 GB, free: 312 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003259/0.4113, allocations: 155.2 kB / 1.361 GB, free: 144 kB / 1.045 GB Notification: Performance of pre-optimization done (n=22): time 1.913e-06/0.4113, allocations: 0 / 1.361 GB, free: 144 kB / 1.045 GB Notification: Performance of matching and sorting (n=22): time 0.0005652/0.4119, allocations: 267.1 kB / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.412, allocations: 59.34 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.4122, allocations: 236.9 kB / 1.362 GB, free: 15.56 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.377e-05/0.4123, allocations: 41.69 kB / 1.362 GB, free: 15.51 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.4124, allocations: 152.5 kB / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.976e-05/0.4125, allocations: 63.47 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.4127, allocations: 101.9 kB / 1.362 GB, free: 15.19 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.4129, allocations: 334.8 kB / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/0.4133, allocations: 275 kB / 1.363 GB, free: 14.56 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/0.4138, allocations: 367.2 kB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005202/0.4143, allocations: 399 kB / 1.363 GB, free: 13.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4143, allocations: 0 / 1.363 GB, free: 13.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001122/0.4154, allocations: 0.7135 MB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.4155, allocations: 138.7 kB / 1.364 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.4155, allocations: 4 kB / 1.364 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.4156, allocations: 4.281 kB / 1.364 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.4157, allocations: 31.92 kB / 1.364 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.4157, allocations: 11.88 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006621/0.4164, allocations: 111.8 kB / 1.364 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.122e-05/0.4164, allocations: 31.97 kB / 1.364 GB, free: 12.57 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.0001936/0.4166, allocations: 157.7 kB / 1.364 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.4167, allocations: 23.86 kB / 1.364 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.473e-05/0.4167, allocations: 26.27 kB / 1.364 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4167, allocations: 0 / 1.364 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4167, allocations: 3.938 kB / 1.364 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.4168, allocations: 27.8 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.4168, allocations: 4 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.599e-05/0.4169, allocations: 4 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.4169, allocations: 19.97 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004036/0.4173, allocations: 273.8 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005675/0.4179, allocations: 456.7 kB / 1.365 GB, free: 11.56 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001181/0.418, allocations: 70.23 kB / 1.365 GB, free: 11.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001594/0.4182, allocations: 164.5 kB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of Backend: time 5.91e-07/0.4182, allocations: 0 / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.4193, allocations: 0.6592 MB / 1.366 GB, free: 10.6 MB / 1.061 GB Notification: Performance of SimCode: time 0.001165/0.4204, allocations: 0.8708 MB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of Templates: time 0.01116/0.4316, allocations: 5.758 MB / 1.373 GB, free: 4.078 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: 9.761031053996703]