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.001415/0.001415, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001726/0.001726, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.542/1.542, allocations: 230.6 MB / 256 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.469/3.469, allocations: 0.4892 GB / 0.7943 GB, free: 35.71 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.002153/0.002153, allocations: 71.73 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3909, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.003296/0.3942, allocations: 1.283 MB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002668/0.3969, allocations: 1.494 MB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.3971, allocations: 7.938 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.3973, allocations: 31.59 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.3974, allocations: 51.52 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008606/0.3983, allocations: 332.8 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005441/0.3988, allocations: 464.2 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.3991, allocations: 133.7 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.3993, allocations: 175.4 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.3995, allocations: 151.3 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.384e-05/0.3996, allocations: 48 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.3997, allocations: 71.98 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.824e-05/0.3998, allocations: 71.7 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.4, allocations: 159.4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006904/0.4007, allocations: 0.5837 MB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4007, allocations: 0 / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.684e-06/0.4007, allocations: 0 / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.4007, allocations: 3.938 kB / 1.33 GB, free: 12.87 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.000988/0.4017, allocations: 0.5789 MB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.4017, allocations: 8.031 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.4019, allocations: 52.69 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004604/0.4024, allocations: 243.6 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.4024, allocations: 25.03 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.443e-05/0.4025, allocations: 32.38 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.4029, allocations: 234.7 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.4029, allocations: 192 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.4029, allocations: 11.94 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.4029, allocations: 8 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.4032, allocations: 158.6 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.4045, allocations: 0.6877 MB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.4048, allocations: 150.6 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.4049, allocations: 64.88 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.4049, allocations: 7.906 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.4052, allocations: 140.3 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.4052, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0004894/0.4057, allocations: 251.1 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.4057, allocations: 59.34 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.406, allocations: 215.8 kB / 1.333 GB, free: 9.805 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.406, allocations: 41.7 kB / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.4062, allocations: 184.8 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.845e-05/0.4062, allocations: 67.42 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.4063, allocations: 77.67 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4065, allocations: 334.8 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.4068, allocations: 175.6 kB / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.4071, allocations: 233 kB / 1.334 GB, free: 8.648 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.4074, allocations: 273.2 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4074, allocations: 0 / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007297/0.4082, allocations: 488.1 kB / 1.335 GB, free: 7.844 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.105e-05/0.4082, allocations: 67.39 kB / 1.335 GB, free: 7.766 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4082, allocations: 4 kB / 1.335 GB, free: 7.762 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.4083, allocations: 3.938 kB / 1.335 GB, free: 7.758 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.4084, allocations: 35.92 kB / 1.335 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.4084, allocations: 4.156 kB / 1.335 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003795/0.4088, allocations: 79.77 kB / 1.335 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.4088, allocations: 19.98 kB / 1.335 GB, free: 7.621 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.000169/0.409, allocations: 158.3 kB / 1.335 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.409, allocations: 15.91 kB / 1.335 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003707/0.4094, allocations: 213.1 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.4094, allocations: 7.938 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.4094, allocations: 3.938 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4094, allocations: 0 / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006664/0.4101, allocations: 0.5135 MB / 1.336 GB, free: 6.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.4101, allocations: 0 / 1.336 GB, free: 6.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.425e-05/0.4102, allocations: 27.94 kB / 1.336 GB, free: 6.633 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.4102, allocations: 3.938 kB / 1.336 GB, free: 6.629 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.4102, allocations: 7.984 kB / 1.336 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.4102, allocations: 0 / 1.336 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4102, allocations: 8.094 kB / 1.336 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.4106, allocations: 310.9 kB / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/0.4106, allocations: 23.86 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.4107, allocations: 11.94 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.4108, allocations: 7.984 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.4109, allocations: 23.95 kB / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.4109, allocations: 8 kB / 1.337 GB, free: 6.211 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001461/0.411, allocations: 160.6 kB / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.411, allocations: 0 / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003449/0.4114, allocations: 71.78 kB / 1.337 GB, free: 5.984 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.0001854/0.4116, allocations: 140.9 kB / 1.337 GB, free: 5.836 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005877/0.4121, allocations: 410 kB / 1.337 GB, free: 5.398 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4122, allocations: 0 / 1.337 GB, free: 5.398 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.4123, allocations: 75.88 kB / 1.337 GB, free: 5.324 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.4127, allocations: 65.27 kB / 1.337 GB, free: 5.262 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008293/0.4136, allocations: 463.1 kB / 1.338 GB, free: 4.773 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.4137, allocations: 146.9 kB / 1.338 GB, free: 4.613 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.136e-05/0.4138, allocations: 25.94 kB / 1.338 GB, free: 4.586 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.279e-05/0.4139, allocations: 23.44 kB / 1.338 GB, free: 4.562 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4139, allocations: 0 / 1.338 GB, free: 4.562 MB / 1.029 GB Notification: Performance of Templates: time 0.008459/0.4223, allocations: 4.256 MB / 1.342 GB, free: 456 kB / 1.029 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/jenkins/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.787952350452542]