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.001847/0.001847, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002335/0.002335, allocations: 210.8 kB / 22.99 MB, free: 4.984 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.48/1.48, 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.439/3.439, allocations: 0.49 GB / 0.7959 GB, free: 35.66 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.002044/0.002044, allocations: 64.47 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3969, allocations: 176.1 MB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.002881/0.3998, allocations: 1.284 MB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002208/0.402, allocations: 1.498 MB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.4022, allocations: 8 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.4024, allocations: 35.53 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.4025, allocations: 47.53 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008454/0.4033, allocations: 341.9 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005241/0.4039, allocations: 460.2 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.4041, allocations: 141.7 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.4043, allocations: 179.4 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.4046, allocations: 175.3 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.617e-05/0.4047, allocations: 48 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.4048, allocations: 67.98 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.447e-05/0.4049, allocations: 75.75 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.405, allocations: 159.3 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007174/0.4058, allocations: 0.5775 MB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4058, allocations: 0 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4058, allocations: 3.938 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.4058, allocations: 0 / 1.332 GB, free: 11.96 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.001082/0.4069, allocations: 0.5806 MB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.4069, allocations: 12.03 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.4071, allocations: 48.69 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005121/0.4076, allocations: 239.7 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.4077, allocations: 25.03 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.711e-05/0.4077, allocations: 32.38 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/0.4082, allocations: 234.6 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.4082, allocations: 4.188 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.4082, allocations: 15.88 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.4082, allocations: 12 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.4085, allocations: 158.6 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.4098, allocations: 0.676 MB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.4101, allocations: 146.8 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.4102, allocations: 72.78 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.4102, allocations: 7.984 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.4105, allocations: 144.5 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.803e-06/0.4105, allocations: 0 / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0004991/0.411, allocations: 255.2 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.411, allocations: 55.34 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.4113, allocations: 219.8 kB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.704e-05/0.4113, allocations: 37.7 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.4115, allocations: 180.5 kB / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.301e-05/0.4116, allocations: 71.41 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.4117, allocations: 77.67 kB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4119, allocations: 330.8 kB / 1.336 GB, free: 8.188 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.4121, allocations: 175.6 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.4125, allocations: 233 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.4128, allocations: 269.2 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4128, allocations: 0 / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007438/0.4136, allocations: 488.1 kB / 1.337 GB, free: 6.945 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.595e-05/0.4136, allocations: 71.55 kB / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4137, allocations: 3.938 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.4137, allocations: 7.938 kB / 1.337 GB, free: 6.852 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.4138, allocations: 35.92 kB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.4138, allocations: 7.984 kB / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.4142, allocations: 75.77 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.4143, allocations: 15.98 kB / 1.337 GB, free: 6.719 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.0001725/0.4144, allocations: 162.3 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.4145, allocations: 19.91 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.4148, allocations: 205.2 kB / 1.337 GB, free: 6.328 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.4148, allocations: 4 kB / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.4149, allocations: 7.875 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4149, allocations: 0 / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007054/0.4156, allocations: 0.5121 MB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4156, allocations: 8.094 kB / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.78e-05/0.4157, allocations: 23.94 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.373e-06/0.4157, allocations: 7.938 kB / 1.338 GB, free: 5.719 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.4157, allocations: 7.984 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4157, allocations: 0 / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4157, allocations: 0 / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.4161, allocations: 309.9 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.4161, allocations: 23.86 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.4161, allocations: 7.938 kB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.4163, allocations: 11.98 kB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.432e-05/0.4163, allocations: 31.89 kB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.4163, allocations: 8 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001458/0.4165, allocations: 160.6 kB / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4165, allocations: 0 / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003547/0.4168, allocations: 71.78 kB / 1.338 GB, free: 5.074 MB / 1.029 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 (22): * Single equations (assignments): 20 * 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.0001855/0.417, allocations: 124.1 kB / 1.339 GB, free: 4.941 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000619/0.4177, allocations: 406 kB / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.4177, allocations: 8.312 kB / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.4178, allocations: 81.19 kB / 1.339 GB, free: 4.422 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.4183, allocations: 55.83 kB / 1.339 GB, free: 4.367 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009339/0.4192, allocations: 466.1 kB / 1.339 GB, free: 3.879 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.4194, allocations: 150.8 kB / 1.34 GB, free: 3.715 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.4195, allocations: 25.92 kB / 1.34 GB, free: 3.688 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.4195, allocations: 23.44 kB / 1.34 GB, free: 3.664 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.4195, allocations: 0 / 1.34 GB, free: 3.664 MB / 1.029 GB Notification: Performance of Templates: time 0.008954/0.4285, allocations: 4.305 MB / 1.344 GB, free: 15.5 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 -s gbode -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.62328181200428]