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.001455/0.001455, allocations: 103 kB / 16.45 MB, free: 6.449 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.001492/0.001492, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.645/1.645, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.548/3.548, allocations: 0.5049 GB / 0.8065 GB, free: 23.1 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.002139/0.002139, allocations: 63.81 kB / 1.172 GB, free: 17.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4848/0.487, allocations: 180.2 MB / 1.348 GB, free: 9.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.003826/0.4908, allocations: 1.221 MB / 1.349 GB, free: 8.246 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003183/0.494, allocations: 1.518 MB / 1.351 GB, free: 6.715 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003194/0.4943, allocations: 0 / 1.351 GB, free: 6.715 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.4944, allocations: 23.67 kB / 1.351 GB, free: 6.691 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.4948, allocations: 55.52 kB / 1.351 GB, free: 6.637 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.4963, allocations: 468.1 kB / 1.351 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001075/0.4974, allocations: 0.5225 MB / 1.352 GB, free: 5.668 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.4977, allocations: 75.53 kB / 1.352 GB, free: 5.586 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005348/0.4982, allocations: 199.5 kB / 1.352 GB, free: 5.391 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000525/0.4988, allocations: 203.2 kB / 1.352 GB, free: 5.191 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.499, allocations: 52 kB / 1.352 GB, free: 5.141 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.4992, allocations: 67.98 kB / 1.353 GB, free: 5.074 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.967e-05/0.4993, allocations: 51.84 kB / 1.353 GB, free: 5.023 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003087/0.4996, allocations: 187.3 kB / 1.353 GB, free: 4.84 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.5006, allocations: 0.5567 MB / 1.353 GB, free: 4.281 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.5006, allocations: 0 / 1.353 GB, free: 4.281 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.544e-06/0.5006, allocations: 4 kB / 1.353 GB, free: 4.277 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.821e-05/0.5007, allocations: 0 / 1.353 GB, free: 4.277 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.00158/0.5023, allocations: 0.6921 MB / 1.354 GB, free: 3.512 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.5023, allocations: 11.98 kB / 1.354 GB, free: 3.5 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.5025, allocations: 40.78 kB / 1.354 GB, free: 3.461 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005287/0.503, allocations: 307.1 kB / 1.354 GB, free: 3.125 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.087e-05/0.503, allocations: 20.38 kB / 1.354 GB, free: 3.105 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.799e-05/0.5031, allocations: 32.36 kB / 1.354 GB, free: 3.074 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.5034, allocations: 141.8 kB / 1.354 GB, free: 2.93 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.5035, allocations: 3.984 kB / 1.354 GB, free: 2.926 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.5035, allocations: 8 kB / 1.355 GB, free: 2.918 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.5035, allocations: 4 kB / 1.355 GB, free: 2.914 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.5037, allocations: 91.95 kB / 1.355 GB, free: 2.824 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.5051, allocations: 0.7457 MB / 1.355 GB, free: 2.027 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/0.5055, allocations: 126.6 kB / 1.355 GB, free: 1.895 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.5056, allocations: 45.03 kB / 1.355 GB, free: 1.848 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.5056, allocations: 4 kB / 1.355 GB, free: 1.844 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004225/0.506, allocations: 163.2 kB / 1.356 GB, free: 1.672 MB / 1.045 GB Notification: Performance of pre-optimization done (n=22): time 1.714e-06/0.506, allocations: 0 / 1.356 GB, free: 1.672 MB / 1.045 GB Notification: Performance of matching and sorting (n=22): time 0.0006269/0.5066, allocations: 263.9 kB / 1.356 GB, free: 1.41 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.5067, allocations: 59.41 kB / 1.356 GB, free: 1.34 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/0.507, allocations: 237 kB / 1.356 GB, free: 1.098 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.563e-05/0.5071, allocations: 37.7 kB / 1.356 GB, free: 1.055 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.5073, allocations: 148.6 kB / 1.356 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.743e-05/0.5073, allocations: 63.52 kB / 1.356 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.5076, allocations: 105.8 kB / 1.357 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.5078, allocations: 330.8 kB / 1.357 GB, free: 408 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/0.5081, allocations: 152.2 kB / 1.357 GB, free: 256 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004462/0.5086, allocations: 247.1 kB / 1.357 GB, free: 15.97 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005808/0.5091, allocations: 381 kB / 1.358 GB, free: 15.54 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.5091, allocations: 4 kB / 1.358 GB, free: 15.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001105/0.5102, allocations: 0.6076 MB / 1.358 GB, free: 14.9 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.5104, allocations: 134.8 kB / 1.358 GB, free: 14.74 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.5104, allocations: 4 kB / 1.358 GB, free: 14.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.5104, allocations: 7.938 kB / 1.358 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.959e-05/0.5105, allocations: 23.94 kB / 1.358 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/0.5105, allocations: 20.19 kB / 1.358 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006662/0.5112, allocations: 107.8 kB / 1.358 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.389e-05/0.5112, allocations: 27.98 kB / 1.358 GB, free: 14.55 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.0002233/0.5115, allocations: 154.4 kB / 1.359 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.5115, allocations: 27.84 kB / 1.359 GB, free: 14.37 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.5e-05/0.5116, allocations: 26.12 kB / 1.359 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.5116, allocations: 4 kB / 1.359 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.5116, allocations: 0 / 1.359 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.5116, allocations: 3.984 kB / 1.359 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007107/0.5123, allocations: 0.553 MB / 1.359 GB, free: 13.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5123, allocations: 0 / 1.359 GB, free: 13.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.126e-05/0.5124, allocations: 23.88 kB / 1.359 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.5124, allocations: 4 kB / 1.359 GB, free: 13.69 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.5124, allocations: 3.984 kB / 1.359 GB, free: 13.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.5124, allocations: 4 kB / 1.359 GB, free: 13.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.5124, allocations: 0 / 1.359 GB, free: 13.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/0.5129, allocations: 370.5 kB / 1.36 GB, free: 13.31 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.465e-05/0.513, allocations: 108.9 kB / 1.36 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.5131, allocations: 0 / 1.36 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.683e-05/0.5131, allocations: 12.06 kB / 1.36 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.5132, allocations: 15.97 kB / 1.36 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.5132, allocations: 12 kB / 1.36 GB, free: 13.14 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000172/0.5134, allocations: 164.5 kB / 1.36 GB, free: 12.98 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.5134, allocations: 7.938 kB / 1.36 GB, free: 12.98 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000394/0.5138, allocations: 79.89 kB / 1.36 GB, free: 12.9 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.0002367/0.514, allocations: 119.8 kB / 1.36 GB, free: 12.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008282/0.5148, allocations: 0.4974 MB / 1.361 GB, free: 12.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.5149, allocations: 4 kB / 1.361 GB, free: 12.22 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.515, allocations: 71.84 kB / 1.361 GB, free: 12.15 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005812/0.5156, allocations: 75.53 kB / 1.361 GB, free: 12.08 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009156/0.5165, allocations: 426.6 kB / 1.361 GB, free: 11.64 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.5169, allocations: 0.748 MB / 1.362 GB, free: 10.87 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.402e-05/0.517, allocations: 21.95 kB / 1.362 GB, free: 10.85 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.5171, allocations: 23.44 kB / 1.362 GB, free: 10.83 MB / 1.061 GB Notification: Performance of SimCode: time 4.4e-07/0.5171, allocations: 0 / 1.362 GB, free: 10.83 MB / 1.061 GB Notification: Performance of Templates: time 0.01103/0.5281, allocations: 4.824 MB / 1.367 GB, free: 6.109 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/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: 9.99364693230018]