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.001624/0.001624, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002014/0.002014, allocations: 210.4 kB / 23 MB, free: 4.562 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.402/3.402, allocations: 0.505 GB / 0.8108 GB, free: 22.08 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.002181/0.002181, allocations: 69.42 kB / 1.178 GB, free: 16.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3738, allocations: 180.2 MB / 1.354 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.002875/0.3767, allocations: 1.439 MB / 1.356 GB, free: 6.523 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.3789, allocations: 1.54 MB / 1.357 GB, free: 4.969 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.3791, allocations: 4 kB / 1.357 GB, free: 4.965 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.3793, allocations: 39.53 kB / 1.357 GB, free: 4.926 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.3794, allocations: 47.59 kB / 1.357 GB, free: 4.879 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008866/0.3803, allocations: 350 kB / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000509/0.3808, allocations: 468.2 kB / 1.358 GB, free: 4.086 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002832/0.3811, allocations: 141.7 kB / 1.358 GB, free: 3.941 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.3813, allocations: 179.5 kB / 1.358 GB, free: 3.766 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.3816, allocations: 179.2 kB / 1.358 GB, free: 3.59 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.155e-05/0.3816, allocations: 52 kB / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.3818, allocations: 67.98 kB / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.047e-05/0.3818, allocations: 83.75 kB / 1.359 GB, free: 3.391 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.382, allocations: 187.1 kB / 1.359 GB, free: 3.207 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000688/0.3827, allocations: 0.5915 MB / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3827, allocations: 4 kB / 1.359 GB, free: 2.609 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3827, allocations: 0 / 1.359 GB, free: 2.609 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.3827, allocations: 0 / 1.359 GB, free: 2.609 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.001035/0.3838, allocations: 0.5867 MB / 1.36 GB, free: 1.977 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3838, allocations: 11.97 kB / 1.36 GB, free: 1.965 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.384, allocations: 44.75 kB / 1.36 GB, free: 1.922 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.3845, allocations: 255.5 kB / 1.36 GB, free: 1.645 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.3845, allocations: 29.02 kB / 1.36 GB, free: 1.617 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-05/0.3846, allocations: 32.38 kB / 1.36 GB, free: 1.586 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004191/0.385, allocations: 242.6 kB / 1.36 GB, free: 1.34 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.385, allocations: 192 / 1.36 GB, free: 1.34 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.385, allocations: 15.92 kB / 1.361 GB, free: 1.324 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.385, allocations: 8 kB / 1.361 GB, free: 1.316 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.3854, allocations: 170.6 kB / 1.361 GB, free: 1.152 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.3867, allocations: 0.8626 MB / 1.362 GB, free: 252 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004535/0.3872, allocations: 178.9 kB / 1.362 GB, free: 64 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.3873, allocations: 64.89 kB / 1.362 GB, free: 15.99 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.3874, allocations: 0 / 1.362 GB, free: 15.99 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.3876, allocations: 148.4 kB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 1.313e-06/0.3876, allocations: 0 / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.0005089/0.3881, allocations: 258.8 kB / 1.362 GB, free: 15.58 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.3882, allocations: 59.41 kB / 1.362 GB, free: 15.51 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.3884, allocations: 265 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.3885, allocations: 37.7 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.3886, allocations: 172.7 kB / 1.363 GB, free: 15.03 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.375e-05/0.3887, allocations: 75.41 kB / 1.363 GB, free: 14.96 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.3888, allocations: 85.56 kB / 1.363 GB, free: 14.87 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.389, allocations: 338.8 kB / 1.363 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.3893, allocations: 116 kB / 1.363 GB, free: 14.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.3895, allocations: 173 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.3899, allocations: 268.5 kB / 1.364 GB, free: 13.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.3899, allocations: 3.984 kB / 1.364 GB, free: 13.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007024/0.3906, allocations: 428.7 kB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.328e-05/0.3907, allocations: 71.39 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3907, allocations: 4 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.3907, allocations: 0 / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.3909, allocations: 39.92 kB / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3909, allocations: 0 / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.3913, allocations: 87.81 kB / 1.364 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/0.3913, 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.0001698/0.3915, allocations: 149.8 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.3915, allocations: 23.86 kB / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/0.3919, allocations: 221.6 kB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3919, allocations: 3.938 kB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3919, allocations: 0 / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3919, allocations: 0 / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007668/0.3927, allocations: 0.6067 MB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3927, allocations: 4 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.3928, allocations: 27.94 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3928, allocations: 4.094 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.3928, allocations: 15.86 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3928, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.3929, allocations: 4 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000386/0.3932, allocations: 322.3 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.3933, allocations: 31.8 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.3933, allocations: 11.98 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.3935, allocations: 4 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.3935, allocations: 23.95 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.3935, allocations: 12 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001897/0.3937, allocations: 184.5 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3937, allocations: 0 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003589/0.3941, allocations: 71.83 kB / 1.366 GB, free: 11.45 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.0001965/0.3943, allocations: 128.5 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005617/0.3948, allocations: 353.6 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3949, allocations: 0 / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.395, allocations: 91.91 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/0.3955, allocations: 70.5 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008729/0.3964, allocations: 498.3 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.3968, allocations: 0.756 MB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.789e-05/0.3969, allocations: 35.44 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.3969, allocations: 0 / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of Templates: time 0.006766/0.4036, allocations: 3.75 MB / 1.371 GB, free: 5.723 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/jenkins1/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: 11.776251995004714]