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.001807/0.001807, allocations: 118.9 kB / 17.13 MB, free: 6.027 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.00219/0.00219, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.565/1.565, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.032/3.032, allocations: 0.505 GB / 0.8072 GB, free: 2.066 MB / 0.6387 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.003258/0.003258, allocations: 63.91 kB / 1.173 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8862/0.8895, allocations: 180.2 MB / 1.349 GB, free: 5.363 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002601/0.8921, allocations: 1.234 MB / 1.35 GB, free: 4.535 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002025/0.8941, allocations: 1.508 MB / 1.352 GB, free: 3.434 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.8943, allocations: 2.312 kB / 1.352 GB, free: 3.434 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.58e-05/0.8944, allocations: 23.25 kB / 1.352 GB, free: 3.414 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.8947, allocations: 67.72 kB / 1.352 GB, free: 3.363 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.8958, allocations: 453 kB / 1.352 GB, free: 3.133 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006687/0.8965, allocations: 0.522 MB / 1.353 GB, free: 2.879 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.8967, allocations: 79.83 kB / 1.353 GB, free: 2.828 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003302/0.897, allocations: 205.6 kB / 1.353 GB, free: 2.734 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003675/0.8974, allocations: 189 kB / 1.353 GB, free: 2.645 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.8975, allocations: 53.97 kB / 1.353 GB, free: 2.645 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.8977, allocations: 67.41 kB / 1.353 GB, free: 2.641 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.177e-05/0.8978, allocations: 57.81 kB / 1.353 GB, free: 2.602 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002515/0.898, allocations: 188.2 kB / 1.353 GB, free: 2.492 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008268/0.8989, allocations: 0.5543 MB / 1.354 GB, free: 2.301 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8989, allocations: 3.938 kB / 1.354 GB, free: 2.297 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8989, allocations: 0 / 1.354 GB, free: 2.297 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.609e-05/0.8989, allocations: 4.609 kB / 1.354 GB, free: 2.293 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.00115/0.9, allocations: 0.6918 MB / 1.355 GB, free: 1.672 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.9001, allocations: 13.23 kB / 1.355 GB, free: 1.668 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.9002, allocations: 39 kB / 1.355 GB, free: 1.652 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.9006, allocations: 308.5 kB / 1.355 GB, free: 1.379 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/0.9006, allocations: 23.02 kB / 1.355 GB, free: 1.371 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.273e-05/0.9007, allocations: 29.92 kB / 1.355 GB, free: 1.367 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.901, allocations: 144 kB / 1.355 GB, free: 1.293 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.901, allocations: 4.75 kB / 1.355 GB, free: 1.289 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.901, allocations: 7.828 kB / 1.355 GB, free: 1.285 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.901, allocations: 2.812 kB / 1.355 GB, free: 1.285 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.9012, allocations: 93.64 kB / 1.355 GB, free: 1.25 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.9023, allocations: 0.7413 MB / 1.356 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.9026, allocations: 121.5 kB / 1.356 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.891e-05/0.9027, allocations: 49.22 kB / 1.356 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.9027, allocations: 1.438 kB / 1.356 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002822/0.903, allocations: 163 kB / 1.356 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.903, allocations: 4 kB / 1.356 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of matching and sorting (n=22): time 0.0004748/0.9035, allocations: 259.2 kB / 1.357 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.9035, allocations: 55.91 kB / 1.357 GB, free: 440 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.9037, allocations: 237.2 kB / 1.357 GB, free: 284 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.06e-05/0.9038, allocations: 38.12 kB / 1.357 GB, free: 248 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.9039, allocations: 154.1 kB / 1.357 GB, free: 116 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.9039, allocations: 63.81 kB / 1.357 GB, free: 64 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.9041, allocations: 100.1 kB / 1.357 GB, free: 20 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.9043, allocations: 336.3 kB / 1.358 GB, free: 15.7 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/0.9047, allocations: 151.9 kB / 1.358 GB, free: 15.64 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/0.9051, allocations: 255.2 kB / 1.358 GB, free: 15.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005866/0.9057, allocations: 390.4 kB / 1.358 GB, free: 15.14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.9057, allocations: 1.531 kB / 1.358 GB, free: 15.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001097/0.9068, allocations: 0.5928 MB / 1.359 GB, free: 14.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.9069, allocations: 143.7 kB / 1.359 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.9069, allocations: 2.688 kB / 1.359 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.9069, allocations: 11.95 kB / 1.359 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.907, allocations: 22.12 kB / 1.359 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.907, allocations: 7.562 kB / 1.359 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006903/0.9077, allocations: 117.4 kB / 1.359 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.323e-05/0.9078, allocations: 29.25 kB / 1.359 GB, free: 14.64 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,tOff.booPul.y,$PRE.tOff.booPul.y,tOn.booPul.y,$PRE.tOn.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.0001956/0.908, allocations: 150.2 kB / 1.359 GB, free: 14.51 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.908, allocations: 23.59 kB / 1.359 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.089e-05/0.9081, allocations: 29.52 kB / 1.359 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.9081, allocations: 2 kB / 1.359 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.9081, allocations: 0 / 1.359 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.9081, allocations: 6.359 kB / 1.359 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007188/0.9088, allocations: 0.5503 MB / 1.36 GB, free: 14.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.9088, allocations: 0 / 1.36 GB, free: 14.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.914e-05/0.9089, allocations: 27.78 kB / 1.36 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.9089, allocations: 1.219 kB / 1.36 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.9089, allocations: 3.609 kB / 1.36 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.9089, allocations: 1.094 kB / 1.36 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9089, allocations: 1.891 kB / 1.36 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005872/0.9095, allocations: 382.2 kB / 1.36 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.53e-05/0.9096, allocations: 104.1 kB / 1.36 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.9096, allocations: 3.594 kB / 1.36 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.769e-05/0.9097, allocations: 6.75 kB / 1.36 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.9098, allocations: 23.95 kB / 1.36 GB, free: 13.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.9098, allocations: 9.047 kB / 1.36 GB, free: 13.69 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001652/0.91, allocations: 167.9 kB / 1.361 GB, free: 13.59 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.91, allocations: 1.156 kB / 1.361 GB, free: 13.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004189/0.9104, allocations: 84.38 kB / 1.361 GB, free: 13.57 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,u.booPul.y,tOn.booPul.y,tOff.booPul.y,tunSta.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.0001684/0.9105, allocations: 123.2 kB / 1.361 GB, free: 13.47 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007556/0.9113, allocations: 0.4977 MB / 1.361 GB, free: 13.11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.9113, allocations: 0 / 1.361 GB, free: 13.11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.9114, allocations: 75.92 kB / 1.361 GB, free: 13.09 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.912, allocations: 73.62 kB / 1.361 GB, free: 13.06 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008221/0.9128, allocations: 450.5 kB / 1.362 GB, free: 12.76 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.9132, allocations: 0.7478 MB / 1.363 GB, free: 12.06 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.739e-05/0.9133, allocations: 27.48 kB / 1.363 GB, free: 12.05 MB / 1.061 GB Notification: Performance of SimCode: time 5.1e-07/0.9133, allocations: 0 / 1.363 GB, free: 12.05 MB / 1.061 GB Notification: Performance of Templates: time 0.007439/0.9207, allocations: 3.902 MB / 1.366 GB, free: 11.32 MB / 1.061 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/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: 12.113900333992206]