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.TimeConstantDelay.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.001787/0.001787, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.002948/0.002948, allocations: 221.4 kB / 22.26 MB, free: 5.207 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.732/1.732, allocations: 230.6 MB / 256 MB, free: 7.996 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.477/3.477, allocations: 0.5049 GB / 0.81 GB, free: 21.99 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.TimeConstantDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|k.y|ratioLT.y|timConDel.T|timConDel.L",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|k.y|ratioLT.y|timConDel.T|timConDel.L",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay") [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.002151/0.002151, allocations: 67.7 kB / 1.177 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3722, allocations: 180.2 MB / 1.353 GB, free: 7.969 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.00314/0.3753, allocations: 1.442 MB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002658/0.378, allocations: 1.544 MB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.3782, allocations: 11.94 kB / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.3783, allocations: 35.53 kB / 1.356 GB, free: 4.922 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.3785, allocations: 43.59 kB / 1.356 GB, free: 4.879 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.3795, allocations: 342.5 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000642/0.3802, allocations: 476.1 kB / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.3804, allocations: 141.7 kB / 1.357 GB, free: 3.941 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.3807, allocations: 183.5 kB / 1.357 GB, free: 3.762 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.3809, allocations: 171.2 kB / 1.358 GB, free: 3.594 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.078e-05/0.381, allocations: 52 kB / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.3811, allocations: 75.98 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.362e-05/0.3812, allocations: 79.75 kB / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.3814, allocations: 183.1 kB / 1.358 GB, free: 3.211 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007893/0.3822, allocations: 0.5876 MB / 1.359 GB, free: 2.621 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3822, allocations: 0 / 1.359 GB, free: 2.621 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3822, allocations: 3.938 kB / 1.359 GB, free: 2.617 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.3822, allocations: 0 / 1.359 GB, free: 2.617 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001167/0.3834, allocations: 0.6023 MB / 1.359 GB, free: 1.969 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.3834, allocations: 8.031 kB / 1.359 GB, free: 1.961 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.3837, allocations: 40.75 kB / 1.359 GB, free: 1.922 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005472/0.3842, allocations: 251.5 kB / 1.359 GB, free: 1.648 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/0.3842, allocations: 25.03 kB / 1.359 GB, free: 1.625 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.433e-05/0.3843, allocations: 40.36 kB / 1.359 GB, free: 1.586 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000446/0.3848, allocations: 238.6 kB / 1.36 GB, free: 1.344 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3848, allocations: 192 / 1.36 GB, free: 1.344 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.3848, allocations: 19.94 kB / 1.36 GB, free: 1.324 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.3848, allocations: 11.98 kB / 1.36 GB, free: 1.312 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.3851, allocations: 162.6 kB / 1.36 GB, free: 1.156 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.3867, allocations: 0.8627 MB / 1.361 GB, free: 256 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005011/0.3872, allocations: 176.4 kB / 1.361 GB, free: 72 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.3873, allocations: 72.86 kB / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.3874, allocations: 3.984 kB / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.3876, allocations: 147.2 kB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 1.432e-06/0.3876, allocations: 0 / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.0005675/0.3882, allocations: 259.6 kB / 1.361 GB, free: 15.58 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.196e-05/0.3883, allocations: 55.41 kB / 1.361 GB, free: 15.51 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.3887, allocations: 269 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.474e-05/0.3887, allocations: 33.7 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.3889, allocations: 176.7 kB / 1.362 GB, free: 15.03 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.915e-05/0.389, allocations: 71.41 kB / 1.362 GB, free: 14.96 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.3892, allocations: 85.64 kB / 1.362 GB, free: 14.87 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002313/0.3894, allocations: 334.8 kB / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.3897, allocations: 119.9 kB / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.39, allocations: 169 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/0.3904, allocations: 264.5 kB / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3904, allocations: 4 kB / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007589/0.3912, allocations: 436.7 kB / 1.363 GB, free: 13.49 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.47e-05/0.3912, allocations: 67.55 kB / 1.363 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3912, allocations: 8 kB / 1.363 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.3913, allocations: 4 kB / 1.363 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.3914, allocations: 35.92 kB / 1.363 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.3914, allocations: 4 kB / 1.363 GB, free: 13.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.3918, allocations: 83.66 kB / 1.363 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.3919, allocations: 23.92 kB / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,ratioLT.booPul.y,$PRE.ratioLT.booPul.y,tOn.booPul.y,$PRE.tOn.booPul.y,timConDel.edg.u,$PRE.timConDel.edg.u,timConDel.gre1.greHys.y,$PRE.timConDel.gre1.greHys.y,timConDel.triFai) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001937/0.3921, allocations: 153.8 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.3921, allocations: 23.86 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004209/0.3925, allocations: 213.6 kB / 1.364 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3925, allocations: 7.938 kB / 1.364 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3925, allocations: 0 / 1.364 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3925, allocations: 0 / 1.364 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008527/0.3934, allocations: 0.6072 MB / 1.364 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3934, allocations: 0 / 1.364 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.3935, allocations: 31.86 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.3935, allocations: 4 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.3935, allocations: 15.92 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3935, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3935, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.3939, allocations: 330.4 kB / 1.365 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.394, allocations: 23.8 kB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.394, allocations: 4 kB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.3942, allocations: 15.98 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/0.3942, allocations: 23.95 kB / 1.365 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.3942, allocations: 8 kB / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000197/0.3944, allocations: 184.5 kB / 1.365 GB, free: 11.52 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3944, allocations: 0 / 1.365 GB, free: 11.52 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003626/0.3948, allocations: 79.81 kB / 1.365 GB, free: 11.44 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,timConDel.triFai,timConDel.gre1.greHys.y,timConDel.edg.u,tOn.booPul.y,ratioLT.booPul.y) * Number of discrete states: 2 (timConDel.gre1.greHys.y,timConDel.edg.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001926/0.395, allocations: 115.2 kB / 1.365 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005906/0.3956, allocations: 357.4 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3956, allocations: 4.062 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.3957, allocations: 79.91 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.3962, allocations: 68.5 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.3972, allocations: 472.5 kB / 1.366 GB, free: 10.3 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.3977, allocations: 0.7599 MB / 1.367 GB, free: 9.52 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.3978, allocations: 26.28 kB / 1.367 GB, free: 9.496 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.3979, allocations: 31.42 kB / 1.367 GB, free: 9.465 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.3979, allocations: 0 / 1.367 GB, free: 9.465 MB / 1.061 GB Notification: Performance of Templates: time 0.009854/0.4077, allocations: 4.063 MB / 1.371 GB, free: 5.5 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_TimeConstantDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.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: 10.115078520029783]