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.001286/0.001286, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001418/0.001418, allocations: 213 kB / 22.99 MB, free: 4.957 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.086/3.086, allocations: 0.505 GB / 0.8108 GB, free: 23.53 MB / 0.6231 GB " [Timeout remaining time 177] 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.002006/0.002006, allocations: 68.11 kB / 1.178 GB, free: 16.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3558, allocations: 180.2 MB / 1.354 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002625/0.3584, allocations: 1.135 MB / 1.355 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002154/0.3606, allocations: 1.498 MB / 1.357 GB, free: 4.773 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.3607, allocations: 4 kB / 1.357 GB, free: 4.77 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.202e-05/0.3608, allocations: 23.67 kB / 1.357 GB, free: 4.746 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.3609, allocations: 67.44 kB / 1.357 GB, free: 4.68 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.362, allocations: 459.9 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005567/0.3626, allocations: 0.5264 MB / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.3627, allocations: 71.98 kB / 1.358 GB, free: 3.637 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.363, allocations: 203.5 kB / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.3633, allocations: 191.3 kB / 1.358 GB, free: 3.25 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.457e-05/0.3633, allocations: 52 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.3635, allocations: 67.98 kB / 1.358 GB, free: 3.133 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/0.3635, allocations: 55.83 kB / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.3637, allocations: 167.4 kB / 1.358 GB, free: 2.914 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00061/0.3643, allocations: 0.5606 MB / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3643, allocations: 3.938 kB / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3643, allocations: 0 / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3643, allocations: 0 / 1.359 GB, free: 2.348 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.0009929/0.3653, allocations: 0.6333 MB / 1.36 GB, free: 1.656 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3654, allocations: 12.03 kB / 1.36 GB, free: 1.645 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.3655, allocations: 36.75 kB / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.3659, allocations: 241.3 kB / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.3659, allocations: 20.38 kB / 1.36 GB, free: 1.328 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.258e-05/0.366, allocations: 32.36 kB / 1.36 GB, free: 1.297 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.3663, allocations: 153.8 kB / 1.36 GB, free: 1.141 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3663, allocations: 0 / 1.36 GB, free: 1.141 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.3663, allocations: 7.984 kB / 1.36 GB, free: 1.133 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.3663, allocations: 7.984 kB / 1.36 GB, free: 1.125 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.3665, allocations: 83.97 kB / 1.36 GB, free: 1.043 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.3675, allocations: 0.5699 MB / 1.361 GB, free: 452 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/0.3679, allocations: 122.7 kB / 1.361 GB, free: 320 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.368, allocations: 52.84 kB / 1.361 GB, free: 264 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.368, allocations: 0 / 1.361 GB, free: 264 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003585/0.3684, allocations: 161.1 kB / 1.361 GB, free: 92 kB / 1.045 GB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.3684, allocations: 0 / 1.361 GB, free: 92 kB / 1.045 GB Notification: Performance of matching and sorting (n=22): time 0.0005967/0.369, allocations: 263.5 kB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/0.3691, allocations: 63.33 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.3693, allocations: 240.9 kB / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/0.3694, allocations: 41.64 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.3696, allocations: 152.4 kB / 1.362 GB, free: 15.31 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.511e-05/0.3696, allocations: 67.52 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.3698, allocations: 93.89 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.37, allocations: 338.8 kB / 1.362 GB, free: 14.8 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/0.3704, allocations: 275 kB / 1.363 GB, free: 14.51 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004917/0.3709, allocations: 367.2 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/0.3714, allocations: 400.9 kB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3714, allocations: 0 / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001087/0.3725, allocations: 0.7155 MB / 1.364 GB, free: 12.87 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.3726, allocations: 130.8 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.3726, allocations: 8.266 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.3727, allocations: 8 kB / 1.364 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.532e-05/0.3728, allocations: 23.88 kB / 1.364 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.3728, allocations: 4 kB / 1.364 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005989/0.3734, allocations: 115.8 kB / 1.364 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.244e-05/0.3734, allocations: 31.98 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.000259/0.3737, allocations: 153.7 kB / 1.364 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.3737, allocations: 35.8 kB / 1.364 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.72e-05/0.3738, allocations: 18.28 kB / 1.364 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.3738, allocations: 11.88 kB / 1.364 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.3738, allocations: 0 / 1.364 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.3738, allocations: 3.984 kB / 1.364 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006281/0.3744, allocations: 462.1 kB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3744, allocations: 0 / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.775e-05/0.3745, allocations: 31.92 kB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3745, allocations: 4 kB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.3746, allocations: 3.938 kB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3746, allocations: 0 / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3746, allocations: 4 kB / 1.365 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005403/0.3751, allocations: 369 kB / 1.365 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.3751, allocations: 27.83 kB / 1.365 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.3752, allocations: 11.92 kB / 1.365 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.56e-05/0.3753, allocations: 4 kB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.3753, allocations: 19.91 kB / 1.365 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.3753, allocations: 16.06 kB / 1.365 GB, free: 11.31 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001601/0.3755, allocations: 164.5 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3755, allocations: 0 / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003746/0.3759, 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.0002001/0.3761, allocations: 120.6 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008354/0.3769, allocations: 0.6217 MB / 1.366 GB, free: 10.25 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3769, allocations: 0 / 1.366 GB, free: 10.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.377, allocations: 86.33 kB / 1.366 GB, free: 10.17 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.3775, allocations: 64.36 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.0008152/0.3783, allocations: 421.6 kB / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.3785, allocations: 134.2 kB / 1.367 GB, free: 9.52 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.96e-05/0.3786, allocations: 29.94 kB / 1.367 GB, free: 9.492 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.3786, allocations: 23.42 kB / 1.367 GB, free: 9.469 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.3786, allocations: 0 / 1.367 GB, free: 9.469 MB / 1.061 GB Notification: Performance of Templates: time 0.009972/0.3886, allocations: 5.511 MB / 1.372 GB, free: 4.117 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 -s gbode -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: 8.62313451000955]