Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001831/0.001831, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002062/0.002062, allocations: 213.6 kB / 23 MB, free: 4.934 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.644/1.644, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.354/3.354, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002081/0.002081, allocations: 75.52 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3813, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.00298/0.3843, allocations: 1.28 MB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002757/0.387, allocations: 1.49 MB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.3872, allocations: 7.938 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.3874, allocations: 35.61 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.3876, allocations: 55.45 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009179/0.3885, allocations: 339.5 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005516/0.389, allocations: 460.2 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002834/0.3893, allocations: 133.7 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.3895, allocations: 179.4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.3898, allocations: 171.3 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.074e-05/0.3899, allocations: 56 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.39, allocations: 71.97 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.209e-05/0.3901, allocations: 71.72 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.3903, allocations: 155.3 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008253/0.3911, allocations: 0.5798 MB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3911, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 5.44e-06/0.3911, allocations: 11.92 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.3911, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001132/0.3923, allocations: 0.575 MB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.3923, allocations: 12.03 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.3925, allocations: 44.7 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.393, allocations: 243.6 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.393, allocations: 25.02 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/0.3931, allocations: 36.38 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004346/0.3935, allocations: 226.7 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3935, allocations: 192 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.3936, allocations: 15.94 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.3936, allocations: 8 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.3939, allocations: 162.5 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.3953, allocations: 0.6955 MB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/0.3957, allocations: 146.6 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.3958, allocations: 68.75 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.3958, allocations: 3.984 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.3961, allocations: 144.5 kB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.954e-06/0.3961, allocations: 0 / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0005273/0.3966, allocations: 247.3 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.3966, allocations: 59.34 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.3969, allocations: 227.8 kB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.3969, allocations: 33.7 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.3971, allocations: 188.5 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.278e-05/0.3972, allocations: 67.73 kB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.3973, allocations: 73.67 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3975, allocations: 334.8 kB / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.3978, allocations: 179.6 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.3981, allocations: 225 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/0.3986, allocations: 273.2 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3986, allocations: 0 / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008367/0.3994, allocations: 484.1 kB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-05/0.3995, allocations: 75.39 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.3995, allocations: 0 / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3995, allocations: 8.156 kB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.3997, allocations: 35.86 kB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3997, allocations: 0 / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/0.4001, allocations: 79.77 kB / 1.337 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.4001, allocations: 16 kB / 1.337 GB, free: 6.688 MB / 1.029 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 (30): * Single equations (assignments): 28 * 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.000187/0.4003, allocations: 162.3 kB / 1.337 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.4004, allocations: 15.91 kB / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004137/0.4008, allocations: 213.3 kB / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4008, allocations: 0 / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4008, allocations: 0 / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.4008, allocations: 31.72 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.4009, allocations: 8 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.401, allocations: 11.98 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.401, allocations: 15.97 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004165/0.4014, allocations: 264.8 kB / 1.338 GB, free: 5.961 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004227/0.4019, allocations: 380.7 kB / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001302/0.402, allocations: 71.94 kB / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000156/0.4022, allocations: 156.6 kB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of Backend: time 4.3e-07/0.4022, allocations: 0 / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009258/0.4031, allocations: 443.5 kB / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of SimCode: time 0.001183/0.4043, allocations: 0.8624 MB / 1.339 GB, free: 3.965 MB / 1.029 GB Notification: Performance of Templates: time 0.01039/0.4147, allocations: 4.717 MB / 1.344 GB, free: 15.38 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_TimeConstantDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.673545296995144]